successCases.vue 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <template>
  2. <view class="successCases">
  3. <slot name="supplier-title"></slot>
  4. <scroll-view scroll-x="true" class="scroll-view" @scroll="scrollX">
  5. <view
  6. class="swiper-item"
  7. v-for="item in successcaseList"
  8. :key="item.id"
  9. :style="{ margin: item.id === 2 ? '40rpx' : '' }"
  10. >
  11. <view class="swiper-item-title">{{ item.title }}</view>
  12. <view class="swiper-item-contant">{{ item.content }}</view>
  13. <image :src="item.bg" mode="" class="swiper-item-img"></image>
  14. </view>
  15. </scroll-view>
  16. <view class="scroll-dots">
  17. <view class="scroll-dot" :class="isActive && 'isActive'"></view>
  18. <view class="scroll-dot" :class="!isActive && 'isActive'"></view>
  19. </view>
  20. </view>
  21. </template>
  22. <script>
  23. export default {
  24. data() {
  25. return {
  26. successcaseList: [
  27. {
  28. id: 1,
  29. title: '私域流量运营难',
  30. content:
  31. '来自西班牙的明星品牌,在进入中国市场后行了大量的运营资源投放,却依旧无法精准触达用户、回收市场数据。采美采用B2B2C私域运营模式对该品牌及竞品进行全面分析,对比两者之间的优势和劣势,为需要宣传的品牌进行关键词组布局,在采美商城优先进行品牌曝光度。并通过认证通、采美社群等工具,向B端客户推送相关活动,刺激B端客户向C端客户进一步传播品牌形象和实力,从而吸引更多的B端客户来访;采美CRM系统对来访客户做用户行为轨迹跟踪,完善用户画像,帮助品牌精准获取客户资料,筛选出优质客户。既提高该品牌的知名度,又保证了用户数据的精准度。',
  32. bg: require('@/static/supplier-login/successcases/01.png')
  33. },
  34. {
  35. id: 2,
  36. title: '营销获客难',
  37. content:
  38. '连续七年专注敏感肌肤的皮肤管理品牌,在法国荣获全球护肤品创新品牌大奖,品牌实力不容小觑,但由于对B端机构宣传不足,在营销获客上十分艰难。采美团队通过前期市场调研分析后提炼了B端关键词并进行布局,将品牌专利技术的相关内容在采美媒体矩阵同步分发,最终形成全渠道、全链路整合内容营销;将旗下产品搭配导入仪器做联合活动,双向锁定潜在客户,客户询盘量显著增长,解决了单一产品销售难的问题。',
  39. bg: require('@/static/supplier-login/successcases/02.png')
  40. }
  41. ],
  42. isActive: true
  43. }
  44. },
  45. methods: {
  46. scrollX($event) {
  47. $event.detail.scrollLeft > 260 && (this.isActive = false)
  48. $event.detail.scrollLeft < 100 && (this.isActive = true)
  49. },
  50. }
  51. }
  52. </script>
  53. <style scoped lang="scss">
  54. .successCases {
  55. padding: 1px;
  56. box-sizing: border-box;
  57. background-color: #fff;
  58. position: relative;
  59. }
  60. .scroll-view {
  61. height: 1400rpx;
  62. padding-left: 32rpx;
  63. width: 100%;
  64. box-sizing: border-box;
  65. white-space: nowrap;
  66. position: relative;
  67. background-color: #fff;
  68. }
  69. .swiper-item {
  70. width: 566rpx;
  71. height: 1124rpx;
  72. box-shadow: 0rpx 8rpx 32rpx 0rpx rgba(102, 102, 102, 0.3);
  73. background: #ffffff;
  74. margin: 40rpx 0 40rpx 40rpx;
  75. box-sizing: border-box;
  76. padding: 50rpx;
  77. overflow-wrap: break-word;
  78. white-space: normal;
  79. display: inline-flex;
  80. flex-direction: column;
  81. position: relative;
  82. align-items: center;
  83. }
  84. .swiper-item-title {
  85. color: #333333;
  86. font-size: 32rpx;
  87. font-weight: 600;
  88. }
  89. .swiper-item-contant {
  90. font-size: 24rpx;
  91. color: #666666;
  92. line-height: 48rpx;
  93. overflow-wrap: break-word;
  94. white-space: normal;
  95. margin-top: 40rpx;
  96. }
  97. .swiper-item-img {
  98. width: 468rpx;
  99. height: 274rpx;
  100. position: absolute;
  101. left: 48rpx;
  102. bottom: 40rpx;
  103. }
  104. .scroll-dots {
  105. position: absolute;
  106. left: 50%;
  107. bottom: 140rpx;
  108. display: flex;
  109. justify-content: center;
  110. align-items: center;
  111. transform: translateX(-50%);
  112. .scroll-dot {
  113. width: 12rpx;
  114. height: 12rpx;
  115. border-radius: 50%;
  116. background-color: #FFBD99;
  117. margin-right: 16rpx;
  118. }
  119. }
  120. .isActive {
  121. background: #ff5b00 !important;
  122. }
  123. </style>