welfare.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <script lang='ts' setup>
  2. import { computed, defineAsyncComponent, nextTick, onMounted, onUnmounted, ref, watch } from 'vue'
  3. import img01 from '@/assets/images/welfare_cart.png'
  4. import img02 from '@/assets/images/welfare_brand.png'
  5. import img03 from '@/assets/images/welfare_return.png'
  6. import img04 from '@/assets/images/welfare_delivery.png'
  7. const list = [
  8. {
  9. img: img01,
  10. title: '90-Day Buy Now Pay Later',
  11. subTitle: 'Generate sales before you pay',
  12. },
  13. {
  14. img: img02,
  15. title: 'Curated Brand Selection',
  16. subTitle: 'Hand-picked brands from China',
  17. },
  18. {
  19. img: img03,
  20. title: '60-Day Risk-Free Returns',
  21. subTitle: 'Return back what doesn\'t sell',
  22. },
  23. {
  24. img: img04,
  25. title: 'Easy Shipping and Delivery',
  26. subTitle: 'Seamless international delivery',
  27. },
  28. ]
  29. </script>
  30. <template>
  31. <div class="">
  32. <div class="flex mt-100px">
  33. <div v-for="item, index in list" :key="index" class="w-25% flex items-center justify-center pos-relative after:pos-absolute after:content-empty after:right-0 after:top-0 after:bottom-0 after:w-1px after:bg-#EEEEEE !after:last:pos-unset">
  34. <div class="w-36px h-36px bg-#FAF5F1 b-1px b-solid b-#FAE7CE b-rd-50% flex justify-center items-center">
  35. <img :src="item.img" alt="" class="w-20px h-20px" srcset="">
  36. </div>
  37. <div class="ml-20px">
  38. <h3 class="!mb-10px !text-16px !fw-500 text-#333">
  39. {{ item.title }}
  40. </h3>
  41. <div class="fw-400 text-14px text-#999999">
  42. {{ item.subTitle }}
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. </div>
  48. </template>
  49. <style lang='less' scoped>
  50. </style>