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.

57 lines
1.7 KiB

2 years ago
2 years ago
2 years ago
  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-[10px] 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("Taiwan") }} {{ $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("Abroad")}} {{ $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. props: {
  37. focusExhibitionlist1: {
  38. type: Array,
  39. },
  40. focusExhibitionlist2: {
  41. type: Array,
  42. },
  43. },
  44. data() {
  45. return {
  46. };
  47. },
  48. created() {
  49. },
  50. mounted() {
  51. }
  52. };
  53. </script>
  54. <style lang="scss" scoped>
  55. </style>