banner.vue 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. <script lang='ts' setup>
  2. import { computed, defineAsyncComponent, nextTick, onMounted, onUnmounted, ref, watch } from 'vue'
  3. import { useUserStore } from '@/stores/modules/user'
  4. const userStore = useUserStore()
  5. const { isLogin } = storeToRefs(userStore)
  6. </script>
  7. <template>
  8. <div class="bg-#FAF5F1">
  9. <div class="w-1400px mx-auto flex justify-between py-60px">
  10. <div class="w-800px">
  11. <h1 class="w-650px fw-600 text-48px text-#333 custom-title-font">
  12. Top Wholesale Marketplace Connecting You to Quality
  13. </h1>
  14. <div class="!mt-20px !mb-30px text-24px text-#999999 w-750px lh-36px ">
  15. Discover high-quality products from selected Chinese manufacturers, Connect with premium brands and elevate your retail business.
  16. </div>
  17. <el-button v-if="!isLogin" type="primary" plain class="w-160px !bg-#C58C64 !text-#fff !h-40px !text-16px !fw-500 !b-rd-150px">
  18. <nuxt-link to="/register">
  19. Shop on EJET
  20. </nuxt-link>
  21. </el-button>
  22. </div>
  23. <img src="~/assets/images/home_banner.png" class="w-540px h-353px" alt="EJET Selection wholesale marketplace for home decor brands" srcset="">
  24. </div>
  25. </div>
  26. </template>
  27. <style lang='less' scoped>
  28. // .custom-font{
  29. // font-family: 'CustomFont';
  30. // }
  31. </style>