RecordHelp.vue 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. <template>
  2. <div class="record-help">
  3. <div class="record-help-head">
  4. <img :src="leftImg" />
  5. <div class="record-help-head__center">
  6. <span class="title">不懂数据?</span>
  7. <span class="title">输入信息,即可马上解锁您的专属报告!</span>
  8. <span class="tip">通过 AId 搜索和数据分析,及时了解目标市场及SEM 关键词状态</span>
  9. </div>
  10. <img :src="rightImg" />
  11. </div>
  12. <div class="record-help-content">
  13. <div class="content-left">
  14. <img :src="contentLeftPng" />
  15. </div>
  16. <div class="content-right">
  17. <div
  18. :class="{ 'content-right-item': true, active: currentStep === 1 }"
  19. @click="currentStep = 1"
  20. >
  21. <div class="item-left">
  22. <span class="item-left-title">关键词洞察</span>
  23. <span class="item-left-tip">一键获取高转化关键词数据</span>
  24. </div>
  25. <div class="item-right">
  26. <img :src="kewwordPng" />
  27. </div>
  28. </div>
  29. <div
  30. :class="{ 'content-right-item': true, active: currentStep === 2 }"
  31. @click="currentStep = 2"
  32. >
  33. <div class="item-left">
  34. <span class="item-left-title">竞品分析</span>
  35. <span class="item-left-tip">帮您全面洞察竞品网站</span>
  36. </div>
  37. <div class="item-right">
  38. <img :src="competitorPng" />
  39. </div>
  40. </div>
  41. <div
  42. :class="{ 'content-right-item': true, active: currentStep === 3 }"
  43. @click="currentStep = 3"
  44. >
  45. <div class="item-left">
  46. <span class="item-left-title">AI深度分析</span>
  47. <span class="item-left-tip">让数据驱动您的营销决策</span>
  48. </div>
  49. <div class="item-right">
  50. <img :src="analysisPng" />
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. </template>
  57. <script lang="ts" setup>
  58. import { computed, ref } from 'vue';
  59. import leftImg from '@/assets/images/home/left.png';
  60. import rightImg from '@/assets/images/home/right.png';
  61. import contentLeft1 from '@/assets/images/home/content-left-1.png';
  62. import contentLeft2 from '@/assets/images/home/content-left-2.png';
  63. import contentLeft3 from '@/assets/images/home/content-left-3.png';
  64. import kewwordPng from '@/assets/images/home/keyword.png';
  65. import competitorPng from '@/assets/images/home/competitor.png';
  66. import analysisPng from '@/assets/images/home/analysis.png';
  67. const currentStep = ref<number>(1);
  68. const contentLeftPng = computed(() => {
  69. if (currentStep.value === 1) return contentLeft1;
  70. if (currentStep.value === 2) return contentLeft2;
  71. if (currentStep.value === 3) return contentLeft3;
  72. });
  73. </script>
  74. <style lang="scss" scoped>
  75. .record-help {
  76. width: 100%;
  77. height: 100%;
  78. display: flex;
  79. flex-direction: column;
  80. // justify-content: center;
  81. align-items: center;
  82. background-color: #f6f8fa;
  83. &-head {
  84. display: flex;
  85. align-items: center;
  86. width: 1184px;
  87. height: 244px;
  88. img {
  89. width: 192px;
  90. height: 46px;
  91. }
  92. &__center {
  93. display: flex;
  94. flex-direction: column;
  95. justify-content: center;
  96. align-items: center;
  97. flex: 1;
  98. width: 100%;
  99. overflow: hidden;
  100. padding: 0 40px;
  101. .title {
  102. font-weight: bold;
  103. font-size: 30px;
  104. color: #282e30;
  105. }
  106. .tip {
  107. font-weight: 400;
  108. font-size: 16px;
  109. color: #282e30;
  110. margin-top: 10px;
  111. }
  112. }
  113. }
  114. &-content {
  115. display: flex;
  116. width: 100%;
  117. height: 427px;
  118. padding: 0 240px;
  119. box-sizing: border-box;
  120. margin-top: -18px;
  121. .content-left {
  122. display: flex;
  123. flex-direction: column;
  124. width: 970px;
  125. margin-right: 90px;
  126. padding-left: 30px;
  127. padding-bottom: 27px;
  128. img {
  129. width: 100%;
  130. height: 100%;
  131. object-fit: cover;
  132. }
  133. }
  134. .content-right {
  135. width: 380px;
  136. &-item {
  137. display: flex;
  138. justify-content: center;
  139. align-items: center;
  140. width: 380px;
  141. height: 120px;
  142. margin-bottom: 20px;
  143. padding: 0px 20px 0px 20px;
  144. box-sizing: border-box;
  145. background-color: #fff;
  146. cursor: pointer;
  147. &.active {
  148. background: linear-gradient(90deg, #036eb8 0%, #2ea7e0 100%);
  149. .item-left {
  150. &-title {
  151. color: #ffffff;
  152. }
  153. &-tip {
  154. color: rgba(255, 255, 255, 0.6);
  155. }
  156. }
  157. }
  158. .item-left {
  159. flex: 1;
  160. width: 100%;
  161. display: flex;
  162. flex-direction: column;
  163. &-title {
  164. font-weight: bold;
  165. font-size: 20px;
  166. color: #282e30;
  167. margin-bottom: 4px;
  168. }
  169. &-tip {
  170. font-weight: 400;
  171. font-size: 16px;
  172. color: rgba(40, 46, 48, 0.6);
  173. }
  174. }
  175. .item-right {
  176. width: 100px;
  177. height: 100px;
  178. img {
  179. width: 100%;
  180. height: 100%;
  181. object-fit: contain;
  182. }
  183. }
  184. &:last-child {
  185. margin-bottom: 0;
  186. }
  187. }
  188. }
  189. }
  190. }
  191. </style>