more.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <script lang="ts" setup>
  2. import { useUserStore } from '@/stores/modules/user'
  3. const { openLoginModal } = useLoginModal()
  4. const userStore = useUserStore()
  5. const { isLogin } = storeToRefs(userStore)
  6. </script>
  7. <template>
  8. <div class="bg-#F3F4FB py-120px data-section" data-section-color="#F3F4FB">
  9. <div class="w-1200-auto flex justify-between">
  10. <div>
  11. <h2 class="text-#333 text-36px !fw-800 custom-title-font">
  12. Discover more abour EJET Spark
  13. </h2>
  14. <div
  15. class="h-40px lh-40px !mt-20px text-14px w-128px text-center text-#fff b-rd-200px bg-#0F0820 hover:bg-#9B6CFF hover:text-#fff cursor-pointer"
  16. >
  17. <span v-if="!isLogin" @click="openLoginModal">
  18. Get started
  19. </span>
  20. <nuxt-link v-else to="/categories">
  21. view catalogs
  22. </nuxt-link>
  23. </div>
  24. </div>
  25. <div class="w-680px pos-relative block gap-40px">
  26. <div
  27. class="p-30px b-rd-10px block-top bg-#F9FAFB block-shadow flex justify-between items-end"
  28. >
  29. <div>
  30. <img
  31. src="@/assets/images/email.png"
  32. class="w-32px h-32px"
  33. alt=""
  34. >
  35. <h3
  36. class="!mt-20px !mb-10px !text-24px !fw-800 custom-title-font text-#333"
  37. >
  38. Download Catalogs
  39. </h3>
  40. <div class="text-#999 lh-22px">
  41. EJET Spark description, spark the trend, ignate sales. EJET
  42. Spark catalog description,
  43. </div>
  44. </div>
  45. <el-button
  46. class="!b-0px !bg-#9B6CFF ml-40px !text-#fff !w-160px !h-32px !text-14px !b-rd-410px"
  47. >
  48. <nuxt-link to="/categories">
  49. View Catalogs
  50. </nuxt-link>
  51. </el-button>
  52. </div>
  53. <div
  54. class="p-30px b-rd-10px bg-#F9FAFB block-shadow flex justify-between items-end"
  55. >
  56. <nuxt-link to="/solutions">
  57. <img
  58. src="@/assets/images/email.png"
  59. class="w-32px h-32px"
  60. alt=""
  61. >
  62. <h3
  63. class="!mt-20px !mb-10px !text-24px !fw-800 custom-title-font text-#333"
  64. >
  65. View Solutions
  66. </h3>
  67. <div class="text-#999 lh-22px">
  68. EJET Spark description, spark the trend, ignate sales. EJET
  69. Spark catalog description,
  70. </div>
  71. </nuxt-link>
  72. </div>
  73. <div
  74. class="p-30px b-rd-10px bg-#F9FAFB block-shadow flex justify-between items-end"
  75. >
  76. <nuxt-link to="/blog">
  77. <img
  78. src="@/assets/images/email.png"
  79. class="w-32px h-32px"
  80. alt=""
  81. >
  82. <h3
  83. class="!mt-20px !mb-10px !text-24px !fw-800 custom-title-font text-#333"
  84. >
  85. View Blogs
  86. </h3>
  87. <div class="text-#999 lh-22px">
  88. EJET Spark description, spark the trend, ignate sales. EJET
  89. Spark catalog description,
  90. </div>
  91. </nuxt-link>
  92. </div>
  93. </div>
  94. </div>
  95. </div>
  96. </template>
  97. <style lang="less" scoped>
  98. .shadow {
  99. box-shadow:
  100. 0px 4px 6px -4px rgba(0, 0, 0, 0.1),
  101. 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
  102. }
  103. .block-shadow {
  104. box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.1);
  105. }
  106. .block {
  107. display: grid;
  108. grid-template-rows: auto auto;
  109. grid-template-columns: 1fr 1fr;
  110. gap: 40px;
  111. .block-top {
  112. grid-column: 1/-1;
  113. }
  114. }
  115. </style>