index.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <template>
  2. <div class="h-[80px] w-full bg-[#fff] flex items-center justify-between px-[12%]">
  3. <!-- 头部title -->
  4. <div class="flex items-center">
  5. <img src="~/public/favicon.ico" class="w-[50px] h-[50px] mr-[10px]" alt="">
  6. <div class="flex flex-col">
  7. <span class="text-[#333333] text-[18px] font-medium">惠融易客</span>
  8. <span class="text-[15px] font-light">
  9. huirong crm
  10. </span>
  11. </div>
  12. </div>
  13. <!-- 右边 -->
  14. <ul class='flex items-center'>
  15. <li v-for="i in headerTitle" :key="i.go" class="px-[16px] text-[#999999] font-medium">
  16. {{ i.title }}
  17. </li>
  18. <li class="px-[16px] text-[#999999] font-medium">
  19. <n-button type="info" class="bg-[#165DFF]">
  20. 登录/注册
  21. </n-button>
  22. </li>
  23. </ul>
  24. </div>
  25. <!-- 图片 -->
  26. <div class="relative">
  27. <img src="~/public/image/img_home.png" class="w-full" alt="">
  28. <div class="flex flex-col absolute left-[12%] top-[30%] text-[#fff]">
  29. <div class="text-[40px] font-black flex">
  30. <h1 class="pr-[15px]">惠融易客</h1>
  31. <div>
  32. 数字金融服务商
  33. </div>
  34. </div>
  35. <span class="mt-[10px] mb-[35px]">提交申请,立即开启企业数字化升级/提供专家1V1服务,提供企业定制化数字解决方案</span>
  36. <n-button type="info" class="bg-[#165DFF] w-[180px] h-[50px] text-[18px]">
  37. 立即申请试用
  38. </n-button>
  39. </div>
  40. </div>
  41. <!-- 传统问题 traditional-->
  42. <div class="flex flex-col items-center justify-center pt-[70px] pb-[70px]">
  43. <h2 class="text-[20px] font-medium">传统方式管理难点</h2>
  44. <span class="text-[#999999] px-[12px] pt-[15px] pb-[40px]">传统方式管理过程中有哪些问题?</span>
  45. <ul class="flex items-center justify-center pb-[50px]">
  46. <li v-for="(item, i) in num" :key="i" class="w-[25%]">
  47. <!-- <img :src="item.img" alt=""> -->
  48. <img src="../public/image/p_img_home_qs_0_0.png" alt="">
  49. <!-- <img class="t-desktop-icon" :src="getImg(i)" /> -->
  50. </li>
  51. </ul>
  52. </div>
  53. <div class="w-full">
  54. <img src="~/public/image/advantage.png" class="w-full" alt="">
  55. </div>
  56. <!-- 精准获客 -->
  57. <div class="flex flex-col items-center justify-center pt-[70px] pb-[70px]">
  58. <h2 class="text-[20px] font-medium">精准获客</h2>
  59. <span class="text-[#999999] px-[12px] pt-[15px] pb-[40px]">多渠道投放对接,帮助企业精准推广产品矩阵</span>
  60. <ul class="flex items-center flex-wrap justify-center pb-[50px] ">
  61. <li v-for="(item, i) in 8" :key="i" class="w-[20%] mx-[10px]">
  62. <!-- <img :src="item.img" alt=""> -->
  63. <img src="../public/image/img_home_ad_0.png" alt="">
  64. <!-- <img class="t-desktop-icon" :src="getImg(i)" /> -->
  65. </li>
  66. </ul>
  67. </div>
  68. </template>
  69. <script lang="ts" setup>
  70. import { reactive } from 'vue'
  71. const headerTitle = reactive([
  72. {
  73. title: '首页',
  74. go: 'home'
  75. },
  76. {
  77. title: '解决方案',
  78. go: 'solution'
  79. },
  80. {
  81. title: '联系我们',
  82. go: 'contact'
  83. },
  84. {
  85. title: '申请试用',
  86. go: 'probation'
  87. }
  88. ]
  89. )
  90. const num = reactive([{
  91. img: '~/public/image/p_img_home_qs_0_0.png'
  92. },
  93. {
  94. img: '~/public/image/p_img_home_qs_0_1.png'
  95. },
  96. {
  97. img: '~/public/image/p_img_home_qs_0_2.png'
  98. }
  99. ])
  100. const getImg=(name: number)=> {
  101. return new URL(`/public/image/p_img_home_qs_0_${name}.png`, import.meta.url).href;
  102. }
  103. </script>
  104. <style scoped lang="scss">
  105. p {
  106. color: var(--link-color)
  107. }
  108. </style>