您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

buyPage.vue 3.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <template>
  2. <section>
  3. <section class="intro-single">
  4. <div class="container">
  5. <div class="row">
  6. <div class="col-md-12 col-lg-8">
  7. <div class="title-single-box">
  8. <h1 class="title-single" style="text-align:left;">Timeshare To Buy</h1>
  9. </div>
  10. </div>
  11. </div>
  12. </div>
  13. </section>
  14. <div class="container">
  15. <div class="row">
  16. <div class="col-md-8 offset-md-0">
  17. <div class="row">
  18. <div class="col-md-8" style="text-align:left;">
  19. <p>
  20. The resorts have been listed in their relevant provinces.
  21. Please select the resort for which you would like to view
  22. the available weeks and then select the weeks that interest
  23. you on the resort page.
  24. </p>
  25. <p>
  26. Arrival and departure dates are indicated but please note
  27. that these dates may vary annually.
  28. </p>
  29. <p>
  30. As with any property related sale, upon purchasing the holiday
  31. of your choice, there will be a transfer fee payable for the
  32. change of ownership. This fee will depend on the relevant resort
  33. or managing agent.
  34. </p>
  35. </div>
  36. </div>
  37. <div class="row mb-4">
  38. <div class="col-md-8">
  39. <div class="accordion" id="accordionExample">
  40. <div class="card" v-for="(region, r) in detailedRegion" :key="r">
  41. <a
  42. class="btn btn-b-n"
  43. type="button"
  44. data-toggle="collapse"
  45. :data-target="'#collapse' + region.id"
  46. aria-expanded="false"
  47. :aria-controls="'collapse' + region.id"
  48. >
  49. <div :id="'header' + region.id">
  50. <h5 class="mb-0">{{ region.regionName }}</h5>
  51. </div>
  52. </a>
  53. <div
  54. :id="'collapse' + region.id"
  55. class="collapse"
  56. :aria-labelledby="'header' + region.id"
  57. data-parent="#accordionExample"
  58. >
  59. <div class="card-body">
  60. <p class="mb-0" v-for="(resort, i) in region.resorts" :key="i">
  61. <a
  62. class="text-capitalize"
  63. @click="routerGoTo('/resort/' + resort.resortCode)"
  64. >{{resort.resortName}}</a>
  65. <br />
  66. </p>
  67. </div>
  68. </div>
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. </div>
  76. </section>
  77. </template>
  78. <script>
  79. import { mapState, mapActions } from 'vuex';
  80. export default {
  81. name: 'TimeshareToBuy',
  82. mounted() {
  83. this.getRegions();
  84. },
  85. computed: {
  86. ...mapState('timeshareBuy', ['detailedRegion']),
  87. },
  88. methods: {
  89. ...mapActions('timeshareBuy', ['getRegions']),
  90. routerGoTo(goTo) {
  91. this.$router.push(goTo);
  92. },
  93. },
  94. };
  95. </script>