scenarioMarketing.vue 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <template>
  2. <view class="scenariomarketing">
  3. <slot name="supplier-title"></slot>
  4. <view class="scenario-container">
  5. <view class="scenario-item" v-for="item in filterScenarioList" :key="item.id">
  6. <view class="scenario-title">{{item.title}}</view>
  7. <view class="scenario-contant">{{item.contant}}</view>
  8. <image class="scenario-img" :src="item.url" mode=""></image>
  9. </view>
  10. <view class="more" v-if="filterScenarioList.length < 10" @click="() => {filterScenarioList = ScenarioList}">
  11. 展开查看更多
  12. </view>
  13. </view>
  14. </view>
  15. </template>
  16. <script>
  17. export default {
  18. data() {
  19. return {
  20. ScenarioList: [
  21. {
  22. id: 1,
  23. title: '信息平台',
  24. contant: '集创作、发布、客户资源收集于一体的美业内容输出平台;',
  25. url: 'https://static.caimei365.com/app/img/supplier-login/scenariomarket/01.png'
  26. },
  27. {
  28. id: 2,
  29. title: '媒体矩阵',
  30. contant: '丰富媒体资源,助力品牌快速传播;',
  31. url: 'https://static.caimei365.com/app/img/supplier-login/scenariomarket/02.png'
  32. },
  33. {
  34. id: 3,
  35. title: '正版图库',
  36. contant: '永久商业授权的专业医美正版图库;',
  37. url: 'https://static.caimei365.com/app/img/supplier-login/scenariomarket/03.png'
  38. },
  39. {
  40. id: 4,
  41. title: 'SEO关键词',
  42. contant: '立足企业全局,进行关键词策划布局;',
  43. url: 'https://static.caimei365.com/app/img/supplier-login/scenariomarket/04.png'
  44. },
  45. {
  46. id: 5,
  47. title: 'CRM系统',
  48. contant: '客户全生命周期数字化管理系统;',
  49. url: 'https://static.caimei365.com/app/img/supplier-login/scenariomarket/05.png'
  50. },
  51. {
  52. id: 6,
  53. title: '认证通',
  54. contant: '一款专业的正品认证SaaS软件系统;',
  55. url: 'https://static.caimei365.com/app/img/supplier-login/scenariomarket/06.png'
  56. },
  57. {
  58. id: 7,
  59. title: '美业社群',
  60. contant: '更紧密的联动用户,提高客户转化率;',
  61. url: 'https://static.caimei365.com/app/img/supplier-login/scenariomarket/07.png'
  62. },
  63. {
  64. id: 8,
  65. title: '私域直播',
  66. contant: 'B2B企业直播平台,一键开启直播引流;',
  67. url: 'https://static.caimei365.com/app/img/supplier-login/scenariomarket/08.png'
  68. },
  69. {
  70. id: 9,
  71. title: '分销体系',
  72. contant: '降低管理成本,提升经营效率;',
  73. url: 'https://static.caimei365.com/app/img/supplier-login/scenariomarket/09.png'
  74. },
  75. {
  76. id: 10,
  77. title: '会议营销',
  78. contant: '以客户体验为导向,促进现场商机转化成交;',
  79. url: 'https://static.caimei365.com/app/img/supplier-login/scenariomarket/10.png'
  80. },
  81. {
  82. id: 11,
  83. title: '金融分期',
  84. contant: '缓解客户现金流压力,促进大额交易;',
  85. url: 'https://static.caimei365.com/app/img/supplier-login/scenariomarket/11.png'
  86. },
  87. {
  88. id: 12,
  89. title: '交易商城',
  90. contant: '一站式管理客户资源,支持1V1线上交易;',
  91. url: 'https://static.caimei365.com/app/img/supplier-login/scenariomarket/12.png'
  92. }
  93. ],
  94. // 截取的H5列表
  95. filterScenarioList: []
  96. }
  97. },
  98. mounted() {
  99. this.filterScenarioList = this.ScenarioList.filter(e => e.id <= 6)
  100. }
  101. }
  102. </script>
  103. <style lang="scss" scoped>
  104. .scenariomarketing {
  105. padding: 1px;
  106. box-sizing: border-box;
  107. background-color: #f7f7f7;
  108. }
  109. .scenario-container {
  110. padding: 0 70rpx 62rpx 70rpx;
  111. display: grid;
  112. grid-template-columns: repeat(2, 1fr);
  113. width: 610rpx;
  114. .more {
  115. grid-column: 1 / span 2;
  116. justify-content: center;
  117. align-items: center;
  118. background-color: #fff;
  119. border: 0.5px solid #f0f0f0;
  120. font-size: 28rpx;
  121. color: #999999;
  122. height: 158rpx;
  123. display: flex;
  124. position: relative;
  125. }
  126. .more::before {
  127. content: '';
  128. position: absolute;
  129. width: 15rpx;
  130. height: 15rpx;
  131. right: 180rpx;
  132. top: 72rpx;
  133. border-bottom: 1px solid;
  134. border-right: 1px solid;
  135. transform: rotate(45deg);
  136. }
  137. .more::after {
  138. content: '';
  139. position: absolute;
  140. width: 15rpx;
  141. height: 15rpx;
  142. right: 180rpx;
  143. top: 62rpx;
  144. border-bottom: 1px solid;
  145. border-right: 1px solid;
  146. transform: rotate(45deg);
  147. }
  148. .scenario-item {
  149. height: 447rpx;
  150. border: 0.5rpx solid #f0f0f0;
  151. background-color: #fff;
  152. box-sizing: border-box;
  153. padding: 57rpx 40rpx 0 40rpx;
  154. position: relative;
  155. .scenario-title {
  156. color: #202020;
  157. font-size: 36rpx;
  158. }
  159. .scenario-contant {
  160. color: #666666;
  161. font-size: 24rpx;
  162. line-height: 36rpx;
  163. margin-top: 28rpx;
  164. }
  165. .scenario-img {
  166. position: absolute;
  167. right: 49rpx;
  168. bottom: 40rpx;
  169. width: 118rpx;
  170. height: 118rpx;
  171. }
  172. }
  173. }
  174. </style>