list.vue 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <!-- @format -->
  2. <script lang="ts" setup>
  3. import templateTwo from './comp/temp2.vue'
  4. import templateOne from './comp/temp1.vue'
  5. const list_column_one = [
  6. {
  7. title: 'Real-Time Trend Curation',
  8. subTitle:
  9. 'Our team constantly monitors market shifts, viral demand, and emerging bestsellers to deliver high-potential products to you.',
  10. img: 'https://picsum.photos/300/300',
  11. type: 'A',
  12. slug: 'test',
  13. },
  14. {
  15. title: 'Real-Time Trend Curation',
  16. subTitle:
  17. 'Our team constantly monitors market shifts, viral demand, and emerging bestsellers to deliver high-potential products to you.',
  18. img: 'https://picsum.photos/300/300',
  19. slug: 'test2',
  20. type: 'B',
  21. },
  22. {
  23. title: 'Real-Time Trend Curation',
  24. subTitle:
  25. 'Our team constantly monitors market shifts, viral demand, and emerging bestsellers to deliver high-potential products to you.',
  26. img: 'https://picsum.photos/300/300',
  27. slug: 'test3',
  28. type: 'A',
  29. },
  30. ]
  31. const list_column_two = [
  32. {
  33. title: 'Real-Time Trend Curation',
  34. subTitle:
  35. 'Our team constantly monitors market shifts, viral demand, and emerging bestsellers to deliver high-potential products to you.',
  36. img: 'https://picsum.photos/300/300',
  37. type: 'B',
  38. slug: 'test',
  39. },
  40. {
  41. title: 'Real-Time Trend Curation',
  42. subTitle:
  43. 'Our team constantly monitors market shifts, viral demand, and emerging bestsellers to deliver high-potential products to you.',
  44. img: 'https://picsum.photos/300/300',
  45. slug: 'test2',
  46. type: 'B',
  47. },
  48. ]
  49. const list_column_three = [
  50. {
  51. title: 'Real-Time Trend Curation',
  52. subTitle:
  53. 'Our team constantly monitors market shifts, viral demand, and emerging bestsellers to deliver high-potential products to you.',
  54. img: 'https://picsum.photos/300/300',
  55. type: 'A',
  56. slug: 'test',
  57. },
  58. {
  59. title: 'Real-Time Trend Curation',
  60. subTitle:
  61. 'Our team constantly monitors market shifts, viral demand, and emerging bestsellers to deliver high-potential products to you.',
  62. img: 'https://picsum.photos/300/300',
  63. slug: 'test2',
  64. type: 'B',
  65. },
  66. {
  67. title: 'Real-Time Trend Curation',
  68. subTitle:
  69. 'Our team constantly monitors market shifts, viral demand, and emerging bestsellers to deliver high-potential products to you.',
  70. img: 'https://picsum.photos/300/300',
  71. slug: 'test3',
  72. type: 'A',
  73. },
  74. ]
  75. </script>
  76. <template>
  77. <div class="bg-#fff py-120px">
  78. <div class="w-1200-auto text-center">
  79. <h2 class="text-36px fw-800 text-#333 !mb-20px custom-title-font">
  80. Access Category-Driven <span class="custom-title-bg">Solutions</span>
  81. </h2>
  82. <div class="text-#999 text-22px mb-80px">
  83. For viral-ready, trend-optimized products - Ready to download!
  84. </div>
  85. <div class="flex gap-40px text-left">
  86. <div class="flex flex-col gap-40px flex-1">
  87. <div v-for="(item, index) in list_column_one" :key="index">
  88. <template-one v-if="item.type === 'A'" :item />
  89. <template-two v-if="item.type === 'B'" :item />
  90. </div>
  91. </div>
  92. <div class="flex flex-col gap-40px flex-1">
  93. <div v-for="(item, index) in list_column_two" :key="index">
  94. <template-one v-if="item.type === 'A'" :item />
  95. <template-two v-if="item.type === 'B'" :item />
  96. </div>
  97. </div>
  98. <div class="flex flex-col gap-40px flex-1">
  99. <div v-for="(item, index) in list_column_three" :key="index">
  100. <template-one v-if="item.type === 'A'" :item />
  101. <template-two v-if="item.type === 'B'" :item />
  102. </div>
  103. </div>
  104. </div>
  105. </div>
  106. </div>
  107. </template>
  108. <style lang="less" scoped>
  109. </style>