index.vue 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <script lang='ts' setup>
  2. function scrollToCatalogs() {
  3. const catalogs = document.getElementById('catalogs-list')
  4. if (catalogs)
  5. catalogs.scrollIntoView({ behavior: 'smooth', block: 'start' })
  6. }
  7. </script>
  8. <template>
  9. <div class="bg-#0F0820 ">
  10. <div class="header">
  11. <div class=" w-1200-auto flex items-end justify-center text-center h-600px pb-110px">
  12. <div>
  13. <h1 class="text-58px fw-800 text-#fff ls-2 custom-title-font">
  14. Discover, Download,<br>
  15. Delight!
  16. </h1>
  17. <el-button class="mt-30px !bg-#fff !text-#9B6CFF !w-160px !h-40px !b-0px !b-rd-200px" round @click="scrollToCatalogs">
  18. View Catalogs
  19. </el-button>
  20. </div>
  21. </div>
  22. </div>
  23. <business-categories-list />
  24. <business-categories-block />
  25. <common-block-blog />
  26. <common-block-faq />
  27. <AppFooter />
  28. </div>
  29. </template>
  30. <style lang='less' scoped>
  31. .header{
  32. background-image: url('@/assets/images/category_catalogue_banner.png');
  33. background-position: center -20px;
  34. }
  35. </style>