markeServices.vue 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <template>
  2. <view class="server">
  3. <swiper
  4. :indicator-dots="true"
  5. :autoplay="true"
  6. :interval="3000"
  7. :duration="1000"
  8. indicator-color="rgba(0, 0, 0, 0.5)"
  9. indicator-active-color="rgba(255, 91, 0, 1)"
  10. >
  11. <swiper-item v-for="item in bannerList" :key="item.id">
  12. <view class="swiper-item">
  13. <image class="img" :src="item.url"></image>
  14. </view>
  15. </swiper-item>
  16. </swiper>
  17. <slot name="supplier-title"></slot>
  18. <scroll-view scroll-x="true" class="scroll-view">
  19. <view class="server_item" v-for="item in server_card_list" :key="item.id">
  20. <image :src="item.img" mode="" class="card_img"></image>
  21. <text class="card_title">{{item.title}}</text>
  22. <text class="card_text" v-for="text, index in item.content" :key="index">{{text.text}}</text>
  23. </view>
  24. </scroll-view>
  25. </view>
  26. </template>
  27. <script>
  28. export default {
  29. data() {
  30. return {
  31. bannerList: [
  32. {
  33. id: 0,
  34. url: require('@/static/supplier-login/banner-01.png')
  35. },
  36. {
  37. id: 1,
  38. url: require('@/static/supplier-login/banner-02.png')
  39. }
  40. ],
  41. // 卡片内容
  42. server_card_list: [
  43. {
  44. id: 1,
  45. title: '全渠道获客',
  46. img: require('@/static/supplier-login/server/01.png'),
  47. content: [
  48. {
  49. text: '精准投放推广内容触达B端客户',
  50. },
  51. {
  52. text: '精准识别全渠道匿名用户线索',
  53. }
  54. ]
  55. },
  56. {
  57. id: 2,
  58. title: '潜客运营',
  59. img: require('@/static/supplier-login/server/02.png'),
  60. content: [
  61. {
  62. text: '潜客筛选',
  63. },
  64. {
  65. text: '精细化分层运营',
  66. },
  67. {
  68. text: '精准推送内容'
  69. }
  70. ]
  71. },
  72. {
  73. id: 3,
  74. title: '销售转化',
  75. img: require('@/static/supplier-login/server/03.png'),
  76. content: [
  77. {
  78. text: '全链条商机管理,用户线索流程清晰,高效流转'
  79. },
  80. {
  81. text: '全场景交易平台,线上线下一体化把握每一条商机'
  82. },
  83. {
  84. text: '全方位售后服务,延长客户生命周期、提高复购率'
  85. }
  86. ]
  87. }
  88. ]
  89. }
  90. },
  91. }
  92. </script>
  93. <style scoped lang="scss">
  94. .server {
  95. background-color: #fff;
  96. }
  97. swiper {
  98. height: 360rpx;
  99. }
  100. .swiper-item {
  101. height: 100%;
  102. width: 100%;
  103. }
  104. .img {
  105. width: 100%;
  106. height: 100%;
  107. }
  108. .server_item {
  109. width: 550rpx;
  110. height: 610rpx;
  111. box-sizing: border-box;
  112. display: inline-flex;
  113. flex-direction: column;
  114. margin: 10rpx 20rpx;
  115. align-items: center;
  116. box-shadow: 0rpx 1rpx 16rpx 0rpx rgba(102, 102, 102, 0.3);
  117. .card_title {
  118. color: #333333;
  119. font-size: 36rpx;
  120. font-weight: 500;
  121. margin-bottom: 20rpx;
  122. }
  123. .card_text {
  124. color: #707070;
  125. font-size: 24rpx;
  126. margin-top: 10rpx;
  127. }
  128. .card_img {
  129. width: 216rpx;
  130. height: 216rpx;
  131. margin: 80rpx 0 40rpx 0;
  132. }
  133. }
  134. .scroll-view {
  135. white-space: nowrap;
  136. width: 100%;
  137. box-sizing: border-box;
  138. padding: 0 56rpx;
  139. height: 640rpx;
  140. }
  141. </style>