markeServices.vue 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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">
  12. <view class="swiper-item">
  13. <image class="img" :src="item.headAppBanner" />
  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. }
  88. </script>
  89. <style scoped lang="scss">
  90. .server {
  91. background-color: #fff;
  92. }
  93. swiper {
  94. height: 360rpx;
  95. }
  96. .swiper-item {
  97. height: 100%;
  98. width: 100%;
  99. }
  100. .img {
  101. width: 100%;
  102. height: 100%;
  103. }
  104. .server_item {
  105. width: 550rpx;
  106. height: 610rpx;
  107. box-sizing: border-box;
  108. display: inline-flex;
  109. flex-direction: column;
  110. margin: 10rpx 20rpx;
  111. align-items: center;
  112. box-shadow: 0rpx 1rpx 16rpx 0rpx rgba(102, 102, 102, 0.3);
  113. .card_title {
  114. color: #333333;
  115. font-size: 36rpx;
  116. font-weight: 500;
  117. margin-bottom: 20rpx;
  118. }
  119. .card_text {
  120. color: #707070;
  121. font-size: 24rpx;
  122. margin-top: 10rpx;
  123. }
  124. .card_img {
  125. width: 216rpx;
  126. height: 216rpx;
  127. margin: 80rpx 0 40rpx 0;
  128. }
  129. }
  130. .scroll-view {
  131. white-space: nowrap;
  132. width: 100%;
  133. box-sizing: border-box;
  134. padding: 0 56rpx;
  135. height: 640rpx;
  136. }
  137. </style>