more.vue 3.5 KB

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