markeServices.vue 4.2 KB

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