You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

183 lines
5.2 KiB

  1. <template>
  2. <section :class="['xl:tw-max-w-[1246px] xl:tw-mx-auto']">
  3. <div class="tw-relative">
  4. <div class="tw-absolute tw-top-0 tw-right-0 tw-left-0 tw-bottom-0 md:tw-block xl:tw-block">
  5. <div class="tw-grid tw-grid-rows-7 xl:tw-grid-rows-7 tw-h-full">
  6. <div class="tw-row-span-3 tw-bg-[#f1f1f1]"></div>
  7. <div class="tw-row-span-4 tw-bg-[#3f3d56]">
  8. </div>
  9. </div>
  10. </div>
  11. <div class="tw-relative tw-py-16 tw-px-[30px] xl:tw-px-[30px]">
  12. <section class="xl:tw-mx-auto" v-if="focusExhibitionlist1.length > 0">
  13. <h2 class="t18 tw-font-medium tw-mb-[28px] md:tw-float-left md:t24 xl:t28">
  14. * 台灣 {{ $t("Focus Exhibitions") }}
  15. </h2>
  16. <FocusExhibition1 :focusExhibitionlist1="focusExhibitionlist1"></FocusExhibition1>
  17. </section>
  18. <section class="xl:tw-mx-auto" v-if="focusExhibitionlist2.length > 0" >
  19. <h2 class="t18 tw-font-medium tw-mb-[28px] md:tw-float-left md:t28 xl:t30 tw-text-white">
  20. * 國外 {{ $t("Focus Exhibitions") }}
  21. </h2>
  22. <FocusExhibition2 :focusExhibitionlist2="focusExhibitionlist2"></FocusExhibition2>
  23. </section>
  24. </div>
  25. </div>
  26. </section>
  27. </template>
  28. <script>
  29. import FocusExhibition1 from "@/components/home/FocusExhibition1";
  30. import FocusExhibition2 from "@/components/home/FocusExhibition2";
  31. export default {
  32. components: {
  33. FocusExhibition1,
  34. FocusExhibition2,
  35. },
  36. data() {
  37. return {
  38. focusExhibitionlist1: [{
  39. name: '工業科技及機械',
  40. image: require('/assets/img/thems/pti01.png'),
  41. exhibitions: [
  42. {
  43. id: '1',
  44. name: 'VISA',
  45. logo: require('/assets/img/thems/Frame33.png'),
  46. startdate: '2023-03-01',
  47. enddate: '2023-03-30',
  48. region:{
  49. name: 'Vietnam'
  50. },
  51. country:{
  52. name: 'Vietnam'
  53. },
  54. city:{
  55. name: 'Vietnam'
  56. }
  57. },
  58. {
  59. id: '1',
  60. name: 'VISA',
  61. logo: require('/assets/img/thems/Frame33.png'),
  62. startdate: '2023-03-01',
  63. enddate: '2023-03-30',
  64. region:{
  65. name: 'Vietnam'
  66. },
  67. country:{
  68. name: 'Vietnam'
  69. },
  70. city:{
  71. name: 'Vietnam'
  72. }
  73. },{
  74. id: '1',
  75. name: 'VISA',
  76. logo: require('/assets/img/thems/Frame33.png'),
  77. startdate: '2023-03-01',
  78. enddate: '2023-03-30',
  79. region:{
  80. name: 'Vietnam'
  81. },
  82. country:{
  83. name: 'Vietnam'
  84. },
  85. city:{
  86. name: 'Vietnam'
  87. }
  88. }
  89. ],
  90. }
  91. ,{
  92. name: '食品及飯店',
  93. image: require('/assets/img/thems/pti02.png'),
  94. exhibitions: []
  95. },{
  96. name: '食品及飯店',
  97. image: require('/assets/img/thems/pti02.png'),
  98. exhibitions: []
  99. },{
  100. name: '食品及飯店',
  101. image: require('/assets/img/thems/pti02.png'),
  102. exhibitions: []
  103. }
  104. ],
  105. focusExhibitionlist2: [{
  106. name: '工業科技及機械',
  107. image: require('/assets/img/thems/pti01.png'),
  108. exhibitions: [
  109. {
  110. id: '1',
  111. name: 'VISA',
  112. logo: require('/assets/img/thems/Frame33.png'),
  113. startdate: '2023-03-01',
  114. enddate: '2023-03-30',
  115. region:{
  116. name: 'Vietnam'
  117. },
  118. country:{
  119. name: 'Vietnam'
  120. },
  121. city:{
  122. name: 'Vietnam'
  123. }
  124. },
  125. {
  126. id: '1',
  127. name: 'VISA',
  128. logo: require('/assets/img/thems/Frame33.png'),
  129. startdate: '2023-03-01',
  130. enddate: '2023-03-30',
  131. region:{
  132. name: 'Vietnam'
  133. },
  134. country:{
  135. name: 'Vietnam'
  136. },
  137. city:{
  138. name: 'Vietnam'
  139. }
  140. },{
  141. id: '1',
  142. name: 'VISA',
  143. logo: require('/assets/img/thems/Frame33.png'),
  144. startdate: '2023-03-01',
  145. enddate: '2023-03-30',
  146. region:{
  147. name: 'Vietnam'
  148. },
  149. country:{
  150. name: 'Vietnam'
  151. },
  152. city:{
  153. name: 'Vietnam'
  154. }
  155. }
  156. ],
  157. }
  158. ,{
  159. name: '食品及飯店',
  160. image: require('/assets/img/thems/pti02.png'),
  161. exhibitions: []
  162. },{
  163. name: '食品及飯店',
  164. image: require('/assets/img/thems/pti02.png'),
  165. exhibitions: []
  166. },{
  167. name: '食品及飯店',
  168. image: require('/assets/img/thems/pti02.png'),
  169. exhibitions: []
  170. }
  171. ],
  172. };
  173. },
  174. created() {
  175. },
  176. mounted() {
  177. }
  178. };
  179. </script>
  180. <style lang="scss" scoped>
  181. </style>