solutions.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <!-- @format -->
  2. <script lang="ts" setup>
  3. import solutionIcon01 from '~/assets/images/solutions_icon01.png'
  4. import solutionIcon02 from '~/assets/images/solutions_icon02.png'
  5. import solutionIcon03 from '~/assets/images/solutions_icon03.png'
  6. import solutionIcon04 from '~/assets/images/solutions_icon04.png'
  7. const solution = ref('ecommerce')
  8. const list = ref([
  9. {
  10. key: 'ecommerce',
  11. title: 'Ecommerce',
  12. },
  13. {
  14. key: 'brands',
  15. title: 'Brands',
  16. },
  17. {
  18. key: 'retailers',
  19. title: 'Retailers',
  20. },
  21. ])
  22. const solutions = ref([
  23. {
  24. title: 'Real-Time Trend Curation',
  25. img: solutionIcon01,
  26. subTitle:
  27. 'Our team constantly monitors market shifts, viral demand, and emerging bestsellers to deliver high-potential products to you.',
  28. },
  29. {
  30. img: solutionIcon02,
  31. title: 'Real-Time Trend Curation',
  32. subTitle:
  33. 'Our team constantly monitors market shifts, viral demand, and emerging bestsellers to deliver high-potential products to you.',
  34. },
  35. {
  36. img: solutionIcon03,
  37. title: 'Real-Time Trend Curation',
  38. subTitle:
  39. 'Our team constantly monitors market shifts, viral demand, and emerging bestsellers to deliver high-potential products to you.',
  40. },
  41. {
  42. img: solutionIcon04,
  43. title: 'Real-Time Trend Curation',
  44. subTitle:
  45. 'Our team constantly monitors market shifts, viral demand, and emerging bestsellers to deliver high-potential products to you.',
  46. },
  47. ])
  48. </script>
  49. <template>
  50. <div class="bg-#F3F4FB pt-250px pb-120px">
  51. <div class="w-1200-auto text-center">
  52. <h2 class="text-36px fw-800 text-#333 !mb-20px">
  53. Creative, Trend-Driven Solutions
  54. </h2>
  55. <div class="text-#999 text-22px mb-40px">
  56. EJET SPARK FOR
  57. </div>
  58. <div class="flex gap-20px justify-center mb-60px">
  59. <div
  60. v-for="(item, index) in list"
  61. :key="index"
  62. class="py-12px w-170px b-rd-200px text-18px cursor-pointer hover:bg-#9B6CFF hover:text-#fff transition-all duration-300"
  63. :class="
  64. solution === item.key
  65. ? '!bg-#9B6CFF !text-#fff'
  66. : 'bg-#fff text-#767676'
  67. "
  68. @click="solution = item.key"
  69. >
  70. <div>{{ item.title }}</div>
  71. </div>
  72. </div>
  73. <div class="flex gap-120px text-left">
  74. <div class="b-rd-10px w-360px overflow-hidden">
  75. <img
  76. src="~/assets/images/solutions_img01.png"
  77. class="w-100% h-258px"
  78. alt=""
  79. >
  80. <div
  81. class="py-20px px-30px b-rd-tl-10px b-rd-tr-10px mt--60px bg-#fff pos-relative z-100"
  82. >
  83. <h3 class="text-24px fw-bold text-#333">
  84. Ecommerce
  85. </h3>
  86. <div class="my-22px lh-24px text-#666">
  87. Scale Smarter with Viral-Ready Products for Online Growth
  88. </div>
  89. <el-button class="!bg-#fff !b-rd-6px !h-40px">
  90. <nuxt-link to="/solutions">
  91. View Catalogs
  92. </nuxt-link>
  93. </el-button>
  94. </div>
  95. </div>
  96. <div class="flex-1">
  97. <div class="grid grid-cols-2 gap-col-80px gap-row-50px">
  98. <div v-for="(item, index) in solutions" :key="index">
  99. <img :src="item.img" class="w-50px h-50px" alt="" srcset="">
  100. <h4 class="!mt-20px !mb-10px text-#333 text-18px fw-800">
  101. {{ item.title }}
  102. </h4>
  103. <div class="text-#666 lh-24px">
  104. {{ item.subTitle }}
  105. </div>
  106. </div>
  107. </div>
  108. </div>
  109. </div>
  110. </div>
  111. </div>
  112. </template>
  113. <style lang="less" scoped></style>