block_steps.vue 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <script lang='ts' setup>
  2. import imgStep01 from '~/assets/images/catalog_step01.png'
  3. import imgStep02 from '~/assets/images/catalog_step02.png'
  4. import imgStep03 from '~/assets/images/catalog_step03.png'
  5. const steps = [
  6. {
  7. img: imgStep01,
  8. title: 'Catalog & Inquiry',
  9. describe: 'Browse our curated catalogs by category or season. Select your interested products or combinations and send us your inquiry.',
  10. },
  11. {
  12. img: imgStep02,
  13. title: 'Sampling & Comfirm',
  14. describe: 'Receive samples quickly to test quality and packaging. Finalize your selections and confirm order details with our support team.',
  15. },
  16. {
  17. img: imgStep03,
  18. title: 'Deliver & Launch',
  19. describe: 'We handle fast production and logistics. You get products delivered on time, ready to launch in-store or online with display support.',
  20. },
  21. ]
  22. </script>
  23. <template>
  24. <div class="py-120px bg-#fff">
  25. <div class="w-1200-auto">
  26. <h2 class="text-36px fw-800 text-#333 !mb-20px text-center custom-title-font">
  27. Partner With Us in 3 <span class="custom-title-bg03"> Steps </span>
  28. </h2>
  29. <div class="flex gap-112px text-center">
  30. <div v-for="item, index in steps" :key="index" class="custom-step">
  31. <img :src="item.img" class="w-200px h-200px mx-auto mb-10px " alt="">
  32. <div class="text-24px fw-800 text-#333 mb-10px ls-2 custom-title-font">
  33. Step {{ index + 1 }}
  34. </div>
  35. <div class="text-24px fw-800 text-#333 mb-10px custom-title-font">
  36. {{ item.title }}
  37. </div>
  38. <div class="text-16px text-#999 lh-22px">
  39. {{ item.describe }}
  40. </div>
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. </template>
  46. <style lang='less' scoped>
  47. .custom-step {
  48. position: relative;
  49. &::after{
  50. position: absolute;
  51. content: '';
  52. right: -150px;
  53. top: 100px;
  54. width: 180px;
  55. height: 1px;
  56. border-bottom: 1px dashed #E9DEFF;
  57. }
  58. &:last-child::after {
  59. display: none;
  60. }
  61. }
  62. </style>