AI销管
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 

1552 líneas
40 KiB

  1. <template>
  2. <view class="box">
  3. <view class="content">
  4. <view class="content-tips">
  5. <view class="content-first">
  6. <view class="left">
  7. <view class="test">
  8. {{customerInfo.name || '--'}}
  9. <view v-if="customerInfo.level.length==0"></view>
  10. <view class="img A" v-else-if="customerInfo.level==1">A</view>
  11. <view class="img B" v-else-if="customerInfo.level==2">B</view>
  12. <view class="img C" v-else-if="customerInfo.level==3">C</view>
  13. <view class="img D" v-else-if="customerInfo.level==4">D</view>
  14. <view v-if="customerInfo.clientStageName" class="clientStageName">{{ customerInfo.clientStageName }}</view>
  15. </view>
  16. <view class="edit" @click="goedit()" v-if="isHavePermission">
  17. <image class="screen-sel-img" src="../../../static/images/edit.png" mode=""></image>
  18. </view>
  19. </view>
  20. </view>
  21. <view class="content-sec">
  22. <view class="content-sec-lab">
  23. 手机号码:<view class="content-sec-lab1">
  24. {{customerInfo.phone | phoneText}}
  25. </view>
  26. </view>
  27. <view class="content-sec-lab">
  28. 顾问姓名:<view class="content-sec-lab1">{{customerInfo.agentName||'--'}}</view>
  29. </view>
  30. <view class="content-sec-lab" >
  31. 客户标签:
  32. <text v-if="!customerInfo.demand.cusSemanticWordsList">暂无</text>
  33. <view v-else class="content-sec-tips" v-show="ind<=1"
  34. v-for="(che,ind) in customerInfo.demand.cusSemanticWordsList" :key='ind'>{{che.name}}
  35. </view>
  36. <view @click.stop="tipshow=true" v-if="customerInfo.demand.cusSemanticWordsList.length>1" class="content-sec-tips" style="text-decoration: underline;background: #fff">查看全部</view>
  37. </view>
  38. <view class="content-sec-lab">
  39. <view class="u-flex" style="flex:1">
  40. 挖掘执行:<view class="content-sec-lab1">{{customerInfo.wordFraction||0}}%</view>
  41. </view>
  42. <view class="u-flex" style="flex:1">
  43. 挖掘成功:<view class="content-sec-lab1">{{customerInfo.wordFinishFraction||0}}%</view>
  44. </view>
  45. </view>
  46. <view class="content-sec-lab">
  47. 添加时间:<view class="content-sec-lab1">{{customerInfo.createTime}}</view>
  48. </view>
  49. <view class="content-sec-num">
  50. <view>到访{{customerInfo.visitRecord || '--'}}次</view>
  51. <view>
  52. {{customerInfo.mm || '0'}}min/{{customerInfo.fraction || '0'}}%
  53. </view>
  54. </view>
  55. </view>
  56. <view class="content-last">
  57. <view class="content-last-con">
  58. 备注:{{customerInfo.remarks ? customerInfo.remarks : "暂无"}}
  59. </view>
  60. </view>
  61. </view>
  62. </view>
  63. <view class="tabchange">
  64. <view class="tab">
  65. <view class="tabbox">
  66. <view :class="{ activecllasscet: activeTotal == 0 }" @click="tabtimetap(0)">接待记录</view>
  67. </view>
  68. <view class="tabbox">
  69. <view :class="{ activecllasscet: activeTotal == 1 }" @click="tabtimetap(1)">跟进记录</view>
  70. </view>
  71. <view class="tabbox">
  72. <view :class="{ activecllasscet: activeTotal == 2 }" @click="tabtimetap(2)">销讲执行率</view>
  73. </view>
  74. <view class="tabbox">
  75. <view :class="{ activecllasscet: activeTotal == 3 }" @click="tabtimetap(3)">挖掘执行率</view>
  76. </view>
  77. </view>
  78. <!-- 接待记录 -->
  79. <view class="tabactive1" v-if="activeTotal==0" style="min-height: 800rpx;">
  80. <view v-if="Thevisitingrecords.length==0"
  81. style="width: 100%;height: 100%;display: flex;align-items: center;">
  82. <view style="width: 100%;padding-top: 60rpx;">
  83. <view style="width: 100%;text-align: center;">
  84. <image style="width: 220rpx;height: 200rpx;"
  85. src="https://static.quhouse.com/zhikong_xcx_img/nodatalist.png" mode=""></image>
  86. </view>
  87. <view style="text-align: center;width: 100%;margin-top: 20rpx;color: #999999;">暂无数据</view>
  88. </view>
  89. </view>
  90. <view v-if="Thevisitingrecords.length!=0" class="content-tips"
  91. v-for="(item,index) in Thevisitingrecords" :key="index" @click="tapThevisiting(item)">
  92. <view class="content-first">
  93. <view class="left">
  94. <view class="name">{{item.agentName || '--'}}</view>
  95. <view class="status" v-if="item.replaceReception==1">代接待</view>
  96. </view>
  97. </view>
  98. <view class="content-sec">
  99. <view class="left">
  100. <view class="cus">客户:{{item.name || ''}} |</view>
  101. <view class="arriveNum">{{item.visitRecord==1?'首':item.visitRecord || '--'}}次到访</view>
  102. </view>
  103. <view class="right">{{item.fraction || '0'}}%</view>
  104. </view>
  105. <view class="content-last">{{item.createTime}} | {{item.mm || '--'}}min</view>
  106. </view>
  107. </view>
  108. <!-- 跟进记录 -->
  109. <view class="tabactive2" v-if="activeTotal==1" style="min-height: 600rpx;">
  110. <view v-if="fllowList.length==0"
  111. style="width: 100%;height:600rpx;display: flex;align-items: center;background-color: #FFFFFF;">
  112. <view style="width: 100%;padding-top: 60rpx;">
  113. <view style="width: 100%;text-align: center;">
  114. <image style="width: 220rpx;height: 200rpx;"
  115. src="https://static.quhouse.com/zhikong_xcx_img/nodatalist.png" mode=""></image>
  116. </view>
  117. <view style="text-align: center;width: 100%;margin-top: 20rpx;color: #999999;">暂无数据</view>
  118. </view>
  119. </view>
  120. <view v-if="fllowList.length!=0" class="tab2-tips" v-for="(item,index) in fllowList" :key="index">
  121. <view class="tab2-first">
  122. <view class="tab2-first-1">
  123. <view class="tab2-first-left">
  124. <view class="img">{{item.agentName.slice(0,1) || '--'}}</view>
  125. <view class="name">{{item.agentName || '||'}}</view>
  126. <view v-if="item.clientStageName" class="clientStageName">{{ item.clientStageName }}</view>
  127. </view>
  128. <view class="tab2-first-right">{{item.createTime}}</view>
  129. </view>
  130. <view class="tab2-first-foot">跟进内容:{{item.remarks || '暂无'}}</view>
  131. </view>
  132. </view>
  133. </view>
  134. <!-- 销讲执行率 -->
  135. <view class="ratecenter" v-if="activeTotal==2">
  136. <view class="ratetetle">执行总览</view>
  137. <view class="rateyuanbox">
  138. <view class="rateyuanboxzuo">
  139. <view class="boxzuoview">{{customerInfo.visitRecord || '--'}}次</view>
  140. <view class="ratetetle-desc">接待次数</view>
  141. </view>
  142. <view class="rateyuanboxyou">
  143. <view class="boxzuoview" style="width: 100%;display: flex;justify-content: center;">
  144. <u-circle-progress active-color="#07B79D" width='108' :percent="customerInfo.fraction">
  145. <view style="text-align: center;color: #07B79D;">{{customerInfo.fraction}}%</view>
  146. </u-circle-progress>
  147. </view>
  148. <view class="ratetetle-desc">销讲执行率</view>
  149. </view>
  150. <view class="rateyuanboxzuo">
  151. <view class="boxzuoview">{{customerInfo.mm}}min</view>
  152. <view class="ratetetle-desc">接待时长</view>
  153. </view>
  154. </view>
  155. <view class="middle-title">
  156. <view class="item-title1">指标</view>
  157. <view class="item-title">执行率</view>
  158. </view>
  159. <view v-if="ratelist.length==0" style="width: 100%;height: 100%;display: flex;align-items: center;">
  160. <view style="width: 100%;padding-top: 60rpx;">
  161. <view style="width: 100%;text-align: center;">
  162. <image style="width: 220rpx;height: 200rpx;"
  163. src="https://static.quhouse.com/zhikong_xcx_img/nodatalist.png" mode=""></image>
  164. </view>
  165. <view style="text-align: center;width: 100%;margin-top: 20rpx;color: #999999;">暂无数据</view>
  166. </view>
  167. </view>
  168. <view class="Level-box" v-if="ratelist.length!=0" v-for="(item,index) in ratelist" :key="index">
  169. <view class="Level1che" @click="changeshow(item,1)">
  170. <view class="title1">{{item.name}}</view>
  171. <view class="leve1-jindu">
  172. <view class="jindutiao">
  173. <view class="huanxing" :style="{width: item.ratepercent/item.rate*100+'%'}"></view>
  174. <view class="text">{{((item.ratepercent/item.rate).toFixed(2)*100).toFixed()}}%</view>
  175. </view>
  176. </view>
  177. <view class="jiantobox">
  178. <image v-if="!item.show" class="arrow rotatearrow" src="/static/images/down.png" mode="" />
  179. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  180. </view>
  181. </view>
  182. <view class="hhhbox" v-if="item.show" v-for="(subitem,i) in item.children" :key="i">
  183. <view class="Level2che" @click="changeshow2(subitem,1)">
  184. <view class="title1">{{subitem.name}}</view>
  185. <view class="leve1-jindu">
  186. <view class="zhixing" v-if="!subitem.selected">已执行</view>
  187. <view class="zhixing2" v-else>未执行</view>
  188. </view>
  189. <view class="jiantobox">
  190. <image v-if="!subitem.show" class="arrow rotatearrow" src="/static/images/down.png"
  191. mode="" />
  192. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  193. </view>
  194. </view>
  195. <view class="hsnrtest" v-if="subitem.show">话术内容</view>
  196. <view class="Level3che" @tap="clickaudeopal(che)" v-if="subitem.show"
  197. v-for="(che,inc) in subitem.children" :key='inc'>
  198. <view class="title1">{{inc+1}}、{{che.name}}</view>
  199. <view class="jiantobox">
  200. <image v-if="che.selected==0" class="arrow" src="/static/images/rate-checked.png"
  201. mode="" />
  202. <image v-else class="arrow" src="/static/images/no-checked.png"
  203. mode="" />
  204. </view>
  205. </view>
  206. <view v-if="subitem.show" style="width: 100%;height: 30rpx;"></view>
  207. </view>
  208. </view>
  209. </view>
  210. <!-- 需求挖掘执行率 -->
  211. <view class="xuqiu" v-if="activeTotal==3">
  212. <!-- 暂无数据 -->
  213. <view v-if="KeyWordsfractionList.length==0"
  214. style="width: 100%;height: 100%;display: flex;align-items: center;">
  215. <view style="width: 100%;padding-top: 60rpx;background: #fff;">
  216. <view style="width: 100%;text-align: center;">
  217. <image style="width: 220rpx;height: 200rpx;"
  218. src="https://static.quhouse.com/zhikong_xcx_img/nodatalist.png" mode=""></image>
  219. </view>
  220. <view style="text-align: center;width: 100%;margin-top: 20rpx;color: #999999;">暂无数据</view>
  221. </view>
  222. </view>
  223. <!-- 需求挖掘执行率 -->
  224. <view v-if="KeyWordsfractionList.length">
  225. <view class="top-box">
  226. <view style="width:50%;text-align:center">挖掘执行:{{customerInfo.wordFraction||0}}%</view>
  227. <view style="width:50%;text-align:center">挖掘成功:{{percent||0}}%</view>
  228. </view>
  229. <view style="
  230. width: 100%;
  231. height: 80rpx;
  232. border-bottom: 1rpx solid #e0e0e0;
  233. display: flex;
  234. align-items: center;
  235. background: #fff;
  236. ">
  237. <view style="
  238. flex: 1;
  239. font-size: 28rpx;
  240. color: #333333;
  241. font-weight: 600;
  242. text-indent: 50rpx;
  243. ">指标</view>
  244. <view style="
  245. flex: 1;
  246. font-size: 28rpx;
  247. color: #333333;
  248. font-weight: 600;
  249. text-indent: 70rpx;
  250. ">执行率</view>
  251. <view style="
  252. flex: 1;
  253. font-size: 28rpx;
  254. color: #333333;
  255. font-weight: 600;
  256. text-indent: 70rpx;
  257. ">匹配标签</view>
  258. <view style="flex: 0 0 30rpx;"></view>
  259. </view>
  260. <!-- 暂无数据 -->
  261. <view v-if="KeyWordsfractionList.length == 0"
  262. style="width: 100%; height: 100%; display: flex; align-items: center">
  263. <view style="width: 100%; padding-top: 60rpx;background:#fff;">
  264. <view style="width: 100%; text-align: center">
  265. <image style="width: 220rpx; height: 200rpx"
  266. src="https://static.quhouse.com/zhikong_xcx_img/nodatalist.png" mode=""></image>
  267. </view>
  268. <view style="
  269. text-align: center;
  270. width: 100%;
  271. margin-top: 20rpx;
  272. color: #999999;
  273. ">暂无数据</view>
  274. </view>
  275. </view>
  276. <!-- 挖掘执行话术展示 -->
  277. <view class="Level-box" v-else v-for="(item, index) in KeyWordsfractionList" :key="index">
  278. <view class="Level1che" @click="changeshowlevel1(item, 1)">
  279. <view class="title1" style="flex: 1">{{ item.name }}</view>
  280. <view class="Level1-middle" style="flex: 2; display: flex">
  281. <view class="item" style="flex: 1; text-align: center">执行{{ item.fraction || 0 }}%
  282. </view>
  283. <view class="item" style="flex:1;text-align:center;color:#2671E2"
  284. v-if="item.keywordsList&&item.keywordsList.length">已匹配({{
  285. item.keywordsList.length
  286. }})</view>
  287. <view class="item" v-else style="flex:1;text-align:center;">未匹配</view>
  288. </view>
  289. <view class="jiantobox">
  290. <image v-if="!item.show" class="arrow rotatearrow" src="/static/images/down.png"
  291. mode="" />
  292. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  293. </view>
  294. </view>
  295. <!-- 话术在一级下 -->
  296. <view v-if="item.children&&item.children.length==0">
  297. <view class="hhhbox" v-if="item.show" style="padding: 30rpx;">
  298. <view class="hsnrtest" style="font-size:30rpx;color: #333;line-height: 42rpx;">
  299. 客户标签:{{ getKeywordsList(item.keywordsList) }}</view>
  300. <view class="hsnrtest">话术内容:</view>
  301. <view v-if="item.modelList.length==0">暂无话术</view>
  302. <view class="Level3che" v-for="(che,inc) in item.modelList" :key='inc'>
  303. <view class="title1" @click="clickWajue(che)"
  304. :style="che.isAskQuestions==2?'color:#FF8C13':che.isAskQuestions==0?'':'color: #666'">
  305. {{inc+1}}.{{che.showFormatExpression}}
  306. </view>
  307. <view class="jiantobox">
  308. <!-- 0本次选中 1未选中 2上次选中 -->
  309. <image v-if="che.isAskQuestions==0" class="arrow"
  310. src="/static/images/rate-checked.png" mode="" />
  311. <image v-else-if="che.isAskQuestions==2" class="arrow"
  312. src="/static/images/checked-yellow.png" mode="" />
  313. <image v-else class="arrow" src="/static/images/rate-nocheck.png" mode="" />
  314. </view>
  315. </view>
  316. </view>
  317. </view>
  318. <!-- 话术在二级下 -->
  319. <view v-if="item.children&&item.children.length">
  320. <view class="hhhbox" v-if="item.show" v-for="(subitem, i) in item.children" :key="i">
  321. <view class="Level2che" @click="changeshow2(subitem, 1)">
  322. <view class="title1 u-line-1">{{ subitem.name }}</view>
  323. <view class="leve1-jindu">
  324. <view class="zhixing" v-if="subitem.isAskQuestions == 0">已执行</view>
  325. <view class="zhixing2" v-else>未执行</view>
  326. </view>
  327. <view class="leve1-jindu">
  328. <view class="zhixing" v-if="subitem.selected == 0">已匹配</view>
  329. <view class="zhixing2" v-else>未匹配</view>
  330. </view>
  331. <view class="jiantobox">
  332. <image v-if="!subitem.show" class="arrow rotatearrow"
  333. src="/static/images/down.png" mode="" />
  334. <image v-else class="arrow" src="/static/images/up.png" mode="" />
  335. </view>
  336. </view>
  337. <view v-if="subitem.show" style="padding: 30rpx 0">
  338. <view class="hsnrtest" style="font-size: 30rpx;color: #333">
  339. 客户标签:{{ getKeywordsList(subitem.keywordsList) }}</view>
  340. <view class="hsnrtest">话术内容:</view>
  341. <view v-if="subitem.modelList.length==0">暂无话术</view>
  342. <view class="Level3che" v-for="(che, inc) in subitem.modelList" :key="inc">
  343. <view class="title1" @click="clickWajue(che)" :style="
  344. che.isAskQuestions == 2
  345. ? 'color:#FF8C13'
  346. : che.isAskQuestions == 0
  347. ? ''
  348. : 'color: #666'
  349. ">{{ inc + 1 }}.{{
  350. che.showFormatExpression
  351. }}</view>
  352. <view class="jiantobox">
  353. <image v-if="che.isAskQuestions == 0" class="arrow"
  354. src="/static/images/rate-checked.png" mode="" />
  355. <image v-else-if="che.isAskQuestions == 2" class="arrow"
  356. src="/static/images/checked-yellow.png" mode="" />
  357. <image v-else class="arrow" src="/static/images/rate-nocheck.png"
  358. mode="" />
  359. </view>
  360. </view>
  361. </view>
  362. </view>
  363. </view>
  364. </view>
  365. </view>
  366. </view>
  367. </view>
  368. <view class="pon-foot" v-if="buttonisshow">
  369. <!-- <view class="foot-tab" @click="goRemind">添加提醒</view>
  370. <view class="foot-tab">拨打电话</view> -->
  371. <view class="foot-tab" @click="followRecordAdd">写跟进</view>
  372. </view>
  373. <!-- closeable -->
  374. <u-popup v-model="tipshow" mode="center" width="500rpx" height="500rpx" closeable>
  375. <scroll-view scroll-y="true" style="height: 440rpx;">
  376. <view style="margin-top: 60rpx; display: flex; flex-wrap: wrap; padding-left: 20rpx;">
  377. <view class="upon-sec-tips" v-for="(item,index) in customerInfo.demand.cusSemanticWordsList"
  378. :key="index">
  379. {{item.name}}
  380. </view>
  381. </view>
  382. </scroll-view>
  383. </u-popup>
  384. <!-- 加载组件 -->
  385. <u-loadings v-model="LOADING"></u-loadings>
  386. </view>
  387. </template>
  388. <script>
  389. let _this
  390. export default {
  391. data() {
  392. return {
  393. KeyWordsfractionList: [],
  394. activeTotal: 0,
  395. customerId: '',
  396. tipshow: false,
  397. customerInfo: {
  398. name: '',
  399. createTime: '',
  400. agentName: ''
  401. },
  402. Thevisitingrecords: [],
  403. totalRate: [],
  404. ratelist: [],
  405. fllowList: [],
  406. userInfo: {},
  407. buttonisshow: false,
  408. isHavePermission: false
  409. }
  410. },
  411. onLoad(options) {
  412. this.LOADING = true
  413. this.customerId = options.id;
  414. _this = this
  415. },
  416. onShow() {
  417. this.$store.commit('stopAduio')
  418. this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
  419. console.log(this.userInfo.showPhoneStatus)
  420. if (this.userInfo.dataCode == 6) {
  421. this.buttonisshow = true;
  422. } else {
  423. this.buttonisshow = false
  424. }
  425. this.getCustomerInfo()
  426. this.tabtimetap(0)
  427. let newmenulist = uni.getStorageSync('weapp_session_Menu_data');
  428. if (newmenulist.khgl_bj == true || newmenulist.khgl_gj == true) {
  429. this.isHavePermission = true
  430. }
  431. },
  432. methods: {
  433. clickWajue(item) {
  434. if (item.isAskQuestions == 0) {
  435. uni.navigateTo({
  436. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&keyword=" + item
  437. .showFormatExpression +
  438. "&skpl=" + "2" + '&UpDateEvent='
  439. })
  440. }
  441. },
  442. // 计算挖掘执行的完成率
  443. getPercent() {
  444. let countArr = this.KeyWordsfractionList.filter(item => item.selected == 0)
  445. // console.log(countArr)
  446. this.percent = (countArr.length / this.KeyWordsfractionList.length) * 100
  447. this.percent = this.percent.toFixed(0)
  448. },
  449. //挖掘率话术客户标签展示
  450. getKeywordsList(list) {
  451. let keywords = [];
  452. if (list && list.length) {
  453. keywords = list.map((item) => item.name);
  454. } else {
  455. return "--";
  456. }
  457. return keywords.join(",");
  458. },
  459. changeshowlevel1(item, type) {
  460. console.log(item)
  461. item.show = !item.show
  462. },
  463. // 客户详情需求挖掘话术
  464. getfindKeyWordsBycusId() {
  465. this.$u
  466. .get("/cusLvStatistics/findKeyWordsBycusId?cusId=" + this.customerId)
  467. .then((res) => {
  468. // console.log(res)
  469. if (res.length) {
  470. res.forEach((item, index) => {
  471. item.show = false;
  472. if (index == 0) {
  473. item.show = true;
  474. }
  475. if (item.children && item.children.length) {
  476. item.children.forEach((obj, i) => {
  477. obj.show = false;
  478. if (i == 0 && index == 0) {
  479. obj.show = true;
  480. }
  481. });
  482. }
  483. });
  484. this.KeyWordsfractionList = res;
  485. this.getPercent()
  486. } else {
  487. this.KeyWordsfractionList = [];
  488. }
  489. });
  490. },
  491. // 获取到访记录
  492. getVisitList() {
  493. this.$u.get("/customer/findByPhoneAndProject?id=" + this.customerId).then(res => {
  494. this.Thevisitingrecords = res
  495. })
  496. },
  497. // 获取客户信息
  498. getCustomerInfo() {
  499. const that = this;
  500. this.$u.get("/customer/findById", {
  501. id: this.customerId
  502. }).then(res => {
  503. this.LOADING = false
  504. if (res.fraction == null) {
  505. res.fraction = '0';
  506. }
  507. if (res.demand.cusSemanticWordsList != null) {
  508. res.demand.cusSemanticWords = res.demand.cusSemanticWordsList
  509. res.demand.cusSemanticWordsList.forEach(che => {
  510. if (che.isInterval == 0) {
  511. che.name = che.name + che.unit + '-' + che.endName + che.unit;
  512. }
  513. })
  514. res.demand.cusSemanticWordsList = res.demand.cusSemanticWordsList.slice(0, 3)
  515. }
  516. // console.log(res.demand.cusSemanticWords,'关键字')
  517. this.customerInfo = res;
  518. }).catch(e => {
  519. this.LOADING = false
  520. })
  521. },
  522. tabtimetap(idx) {
  523. this.activeTotal = idx
  524. if (idx == 0) {
  525. this.getVisitList()
  526. } else if (idx == 1) {
  527. this.getFollowList()
  528. } else if(idx == 2){
  529. this.getRatelist()
  530. }else{ // 需求挖掘率
  531. this.getfindKeyWordsBycusId()
  532. }
  533. },
  534. tapThevisiting(item) {
  535. uni.showLoading({
  536. title: '加载中',
  537. mask: true
  538. });
  539. if (item.yon != 0) {
  540. setTimeout(function() {
  541. uni.hideLoading();
  542. }, 2000);
  543. uni.showToast({
  544. icon: 'none',
  545. title: '暂无录音',
  546. duration: 2000
  547. });
  548. return
  549. } else {
  550. const parames = {
  551. pageNum: 1,
  552. pageSize: 100,
  553. query: {
  554. customerId: item.id,
  555. }
  556. }
  557. var item = {
  558. bg: 0,
  559. customerId: item.id,
  560. id: ''
  561. }
  562. uni.setStorageSync("entrance", 1); //写入缓存
  563. uni.setStorageSync("searchobj", item); //写入缓存
  564. this.$u.post("/corpus/findByPage", parames).then(res => {
  565. setTimeout(function() {
  566. uni.hideLoading();
  567. }, 2000);
  568. if (res == null) {
  569. uni.showToast({
  570. icon: "none",
  571. title: "暂无音频"
  572. })
  573. return
  574. }
  575. if (res[0].merge == 0) {
  576. let newobj = res[0];
  577. uni.navigateTo({
  578. url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"2"}`
  579. })
  580. } else {
  581. let newobj = res[0];
  582. uni.navigateTo({
  583. url: `/pages/mine/details?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"1"}`
  584. })
  585. }
  586. })
  587. }
  588. },
  589. // 获取跟进记录
  590. getFollowList() {
  591. this.fllowList = [];
  592. this.$u.post("/customer/getCusStage", {
  593. customerId: this.customerId
  594. }).then(res => {
  595. res.forEach(item => {
  596. item.agentName = this.customerInfo.agentName
  597. })
  598. this.fllowList = res;
  599. })
  600. },
  601. // 新增跟进
  602. followRecordAdd() {
  603. uni.navigateTo({
  604. url: `/pages/center/consumer/newFollowup/newFollowup?id=${this.customerId}&level=${this.customerInfo.level}&clientStageName=${this.customerInfo.clientStageName}`
  605. })
  606. },
  607. // 去编辑
  608. goedit() {
  609. let newmenulist = uni.getStorageSync('weapp_session_Menu_data');
  610. if (newmenulist.khgl_bj == true || newmenulist.khgl_gj) {
  611. uni.navigateTo({
  612. url: `/pages/center/consumer/edit?id=${this.customerId}`
  613. })
  614. }
  615. },
  616. // 去添加提醒
  617. goRemind() {
  618. uni.navigateTo({
  619. url: `/pages/center/consumer/remind?str=${this.customerInfo.name+'/'+this.customerInfo.phone}&customerId=${this.customerId}`
  620. })
  621. },
  622. //评分点击
  623. clickaudeopal(item) {
  624. if (item.selected == 0) {
  625. uni.navigateTo({
  626. url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
  627. .marketingId + "&type=0" + '&from=consumerDetail'
  628. })
  629. }
  630. },
  631. tipupon() {
  632. // if (!this.customerInfo.demand.cusSemanticWordsList) return
  633. this.tipshow = true
  634. },
  635. changeshow(item, type) {
  636. item.show = !item.show
  637. },
  638. changeshow2(item, type) {
  639. item.show = !item.show
  640. },
  641. // 获取评分
  642. getRatelist() {
  643. this.$u.get("/customer/findzkMByCusId", {
  644. cusId: this.customerId
  645. }).then(res => {
  646. if (res.length) {
  647. let level1 = []
  648. res.forEach(item => {
  649. if (item.pid == 0) {
  650. level1.push({
  651. id: item.marketingId,
  652. rate: item.fraction,
  653. name: item.name,
  654. sort: item.sort,
  655. show: false,
  656. ratepercent: 0,
  657. children: []
  658. })
  659. }
  660. })
  661. // this.totalRate = level2rate;
  662. res.forEach(subitem => {
  663. let subitempid = subitem.pid
  664. level1.forEach(item => {
  665. if (subitempid == item.id) {
  666. if (subitem.selected == 0) {
  667. item.ratepercent += subitem.fraction
  668. }
  669. item.children.push({
  670. id: subitem.id,
  671. rate: subitem.fraction,
  672. selected: subitem.selected,
  673. name: subitem.name,
  674. show: false,
  675. marketingId: subitem.marketingId,
  676. children: []
  677. })
  678. }
  679. })
  680. })
  681. res.forEach(subitem => {
  682. let subitempid = subitem.pid
  683. level1.forEach(chen => {
  684. chen.children.forEach(zxc => {
  685. if (subitempid == zxc.marketingId) {
  686. zxc.children.push({
  687. id: subitem.id,
  688. rate: subitem.fraction,
  689. selected: subitem.selected,
  690. name: subitem.name,
  691. marketingId: subitem.marketingId,
  692. })
  693. }
  694. })
  695. })
  696. })
  697. level1[0].show = true;
  698. level1[0].children[0].show = true;
  699. this.ratelist = level1
  700. }
  701. })
  702. },
  703. },
  704. filters: {
  705. // 加密手机
  706. phoneText(mobile) {
  707. if (!mobile) return '--'
  708. if (_this.userInfo.showPhoneStatus == 1) return mobile.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2')
  709. else return mobile
  710. },
  711. }
  712. }
  713. </script>
  714. <style lang="scss" scoped>
  715. .rotatearrow {
  716. transform: rotate(270deg);
  717. }
  718. // 评分
  719. .rate-box {
  720. padding: 10rpx 20rpx;
  721. background-color: #FFFFFF;
  722. .date {
  723. width: 300rpx;
  724. height: 33rpx;
  725. font-size: 24rpx;
  726. font-weight: 400;
  727. color: #333333;
  728. line-height: 33rpx;
  729. letter-spacing: 1rpx;
  730. margin-bottom: 8rpx;
  731. }
  732. .title {
  733. width: 100%;
  734. height: 42rpx;
  735. font-size: 30rpx;
  736. font-weight: 500;
  737. color: #333333;
  738. line-height: 42rpx;
  739. letter-spacing: 2rpx;
  740. margin-bottom: 20rpx;
  741. }
  742. .level1 {
  743. display: flex;
  744. align-items: center;
  745. .level-name {
  746. width: 104rpx;
  747. height: 33rpx;
  748. font-size: 24rpx;
  749. font-weight: 500;
  750. color: #333333;
  751. line-height: 33rpx;
  752. letter-spacing: 1rpx;
  753. margin-right: 10rpx;
  754. }
  755. .level-progress {
  756. flex: 1;
  757. border-radius: 11rpx;
  758. height: 21rpx;
  759. background-color: #BEE4FF;
  760. position: relative;
  761. .color {
  762. width: 0;
  763. position: absolute;
  764. top: 0;
  765. left: 0;
  766. height: 21rpx;
  767. border-radius: 11rpx 0 0 11rpx;
  768. background-color: #008EF2;
  769. }
  770. }
  771. .level-rate {
  772. width: 65rpx;
  773. height: 33rpx;
  774. font-size: 24rpx;
  775. font-weight: 500;
  776. color: #333333;
  777. line-height: 33rpx;
  778. letter-spacing: 1rpx;
  779. margin: 0 20rpx 0 15rpx;
  780. }
  781. .arrow {
  782. width: 37rpx;
  783. height: 21rpx;
  784. padding: 5rpx 20rpx;
  785. }
  786. .rotatearrow {
  787. transform: rotate(270deg);
  788. }
  789. }
  790. .level1-subbox {
  791. display: flex;
  792. margin-top: 20rpx;
  793. flex-wrap: wrap;
  794. .sub-name {
  795. width: 50%;
  796. display: flex;
  797. margin-bottom: 18rpx;
  798. .subitem-name {
  799. width: 104rpx;
  800. height: 33rpx;
  801. font-size: 24rpx;
  802. font-weight: 400;
  803. color: #999999;
  804. line-height: 33rpx;
  805. letter-spacing: 1rpx;
  806. margin-right: 12rpx;
  807. }
  808. .checkimg {
  809. width: 27rpx;
  810. height: 27rpx;
  811. }
  812. }
  813. }
  814. }
  815. .Level-box {
  816. padding-bottom: 2rpx;
  817. border-bottom: 1rpx solid #E0E0E0;
  818. .hhhbox {
  819. width: 100%;
  820. padding: 0 30rpx;
  821. background: #f8f8f8;
  822. .hsnrtest {
  823. height: 36rpx;
  824. font-size: 26rpx;
  825. font-weight: 400;
  826. color: #666666;
  827. line-height: 36rpx;
  828. }
  829. .Level3che {
  830. width: 100%;
  831. height: 28rpx;
  832. display: flex;
  833. line-height: 28rpx;
  834. align-items: center;
  835. margin-top: 24rpx;
  836. .title1 {
  837. flex: 1;
  838. font-size: 28rpx;
  839. color: #2671E2;
  840. font-weight: 400;
  841. }
  842. .jiantobox {
  843. width: 30rpx;
  844. height: 30rpx;
  845. display: flex;
  846. align-items: center;
  847. .arrow {
  848. width: 32rpx;
  849. height: 32rpx;
  850. }
  851. }
  852. }
  853. }
  854. .Level2che {
  855. width: 100%;
  856. height: 88rpx;
  857. display: flex;
  858. line-height: 88rpx;
  859. align-items: center;
  860. .title1 {
  861. flex: 2;
  862. font-size: 28rpx;
  863. color: #333333;
  864. font-weight: 500;
  865. }
  866. .leve1-jindu {
  867. flex: 3;
  868. display: flex;
  869. justify-content: center;
  870. align-items: center;
  871. .zhixing {
  872. width: 116rpx;
  873. height: 48rpx;
  874. line-height: 48rpx;
  875. background: #2671E2;
  876. border-radius: 4rpx;
  877. font-size: 28rpx;
  878. text-align: center;
  879. color: #FFFFFF;
  880. }
  881. .zhixing2 {
  882. width: 116rpx;
  883. height: 48rpx;
  884. line-height: 48rpx;
  885. border-radius: 4rpx;
  886. font-size: 28rpx;
  887. text-align: center;
  888. color: #FFFFFF;
  889. background: #D8D8D8;
  890. }
  891. }
  892. .jiantobox {
  893. width: 30rpx;
  894. height: 30rpx;
  895. display: flex;
  896. align-items: center;
  897. .arrow {
  898. width: 30rpx;
  899. height: 18rpx;
  900. }
  901. }
  902. }
  903. .Level1che {
  904. width: 100%;
  905. height: 98rpx;
  906. background: #fff;
  907. display: flex;
  908. line-height: 98rpx;
  909. align-items: center;
  910. padding:0 30rpx;
  911. .title1 {
  912. flex: 2;
  913. font-size: 28rpx;
  914. color: #333333;
  915. font-weight: 500;
  916. }
  917. .leve1-jindu {
  918. flex: 3;
  919. .jindutiao {
  920. width: 96%;
  921. height: 28rpx;
  922. line-height: 28rpx;
  923. border-radius: 14rpx;
  924. position: relative;
  925. background: rgba(7, 183, 157, 0.2);
  926. .huanxing {
  927. height: 100%;
  928. background: #07B79D;
  929. border-radius: 14rpx;
  930. }
  931. .text {
  932. position: absolute;
  933. top: 0rpx;
  934. right: 0rpx;
  935. font-size: 28rpx;
  936. font-weight: 400;
  937. color: #333333;
  938. }
  939. }
  940. }
  941. .jiantobox {
  942. width: 30rpx;
  943. height: 30rpx;
  944. display: flex;
  945. align-items: center;
  946. .arrow {
  947. width: 30rpx;
  948. height: 18rpx;
  949. }
  950. }
  951. }
  952. }
  953. .ratecenter {
  954. background-color: #FFFFFF;
  955. padding-bottom: 30rpx;
  956. width: 100%;
  957. .ratetetle {
  958. height: 42rpx;
  959. font-size: 30rpx;
  960. font-family: PingFangSC-Medium, PingFang SC;
  961. font-weight: 500;
  962. color: #333333;
  963. line-height: 42rpx;
  964. padding: 24rpx 30rpx;
  965. }
  966. .rateyuanbox {
  967. width: 100%;
  968. height: 210rpx;
  969. padding-bottom: 30rpx;
  970. display: flex;
  971. padding-left: 80rpx;
  972. padding-right: 80rpx;
  973. .rateyuanboxzuo {
  974. width: 30%;
  975. height: 100%;
  976. }
  977. .rateyuanboxyou {
  978. width: 40%;
  979. height: 100%;
  980. }
  981. .boxzuoview {
  982. width: 100%;
  983. height: 140rpx;
  984. line-height: 140rpx;
  985. text-align: center;
  986. }
  987. .ratetetle-desc{
  988. color: #666;
  989. font-size:30rpx;
  990. font-weight: 400;
  991. text-align: center;
  992. }
  993. }
  994. .middle-title{
  995. height: 78rpx;
  996. line-height: 78rpx;
  997. display: flex;
  998. // justify-content: space-around;
  999. align-items: center;
  1000. background: #F4F8FD;
  1001. font-size: 30rpx;
  1002. font-family: PingFangSC-Medium, PingFang SC;
  1003. font-weight: 500;
  1004. color: #333333;
  1005. .item-title1 {
  1006. width: 450rpx;
  1007. padding-left: 30rpx;
  1008. }
  1009. .item-title {
  1010. flex: 1;
  1011. }
  1012. }
  1013. }
  1014. .box {
  1015. width: 100%;
  1016. height: 100%;
  1017. background: #F8F8F8;
  1018. }
  1019. .tab {
  1020. height: 88rpx;
  1021. border-bottom: 1px solid #E0E0E0;
  1022. background: #FFFFFF;
  1023. display: flex;
  1024. align-items: center;
  1025. .tabbox {
  1026. flex: 1;
  1027. height: 100%;
  1028. text-align: center;
  1029. line-height: 88rpx;
  1030. color: #666666;
  1031. font-size: 30rpx;
  1032. display: flex;
  1033. justify-content: center;
  1034. .activecllasscet {
  1035. border-bottom: 6rpx solid #2671E2;
  1036. color: #2671E2;
  1037. font-weight: 600;
  1038. }
  1039. }
  1040. }
  1041. .content {
  1042. overflow: hidden;
  1043. border-top: 1rpx solid #E0E0E0;
  1044. .content-tips {
  1045. background: #fff;
  1046. margin-bottom: 20rpx;
  1047. overflow: hidden;
  1048. .content-first {
  1049. padding: 19rpx 30rpx;
  1050. display: flex;
  1051. justify-content: space-between;
  1052. box-sizing: border-box;
  1053. font-weight: 400;
  1054. color: #292929;
  1055. height: 90rpx;
  1056. font-size: 30rpx;
  1057. line-height: 30rpx;
  1058. .left {
  1059. flex-grow: 1;
  1060. display: flex;
  1061. align-items: center;
  1062. justify-content: space-between;
  1063. .img {
  1064. width: 48rpx;
  1065. height: 48rpx;
  1066. line-height: 48rpx;
  1067. text-align: center;
  1068. margin-left: 16rpx;
  1069. border-radius: 6rpx;
  1070. font-size: 28rpx;
  1071. font-family: PingFangSC-Regular, PingFang SC;
  1072. font-weight: 400;
  1073. color: #FFFFFF;
  1074. }
  1075. .test {
  1076. height: 48rpx;
  1077. font-size: 30rpx;
  1078. font-family: PingFangSC-Medium, PingFang SC;
  1079. font-weight: 500;
  1080. color: #333333;
  1081. line-height: 48rpx;
  1082. margin-right: 16rpx;
  1083. display: flex;
  1084. }
  1085. .clientStageName {
  1086. height: 48rpx;
  1087. line-height: 48rpx;
  1088. background: #FFFFFF;
  1089. border-radius: 4rpx;
  1090. border: 1rpx solid #FF981E;
  1091. box-sizing: border-box;
  1092. font-size: 28rpx;
  1093. font-family: PingFangSC-Regular, PingFang SC;
  1094. font-weight: 400;
  1095. color: #FF981E;
  1096. margin-left: 16rpx;
  1097. padding: 0 16rpx;
  1098. }
  1099. .edit {
  1100. flex-shrink: 0;
  1101. height: 40rpx;
  1102. width: 40rpx;
  1103. image {
  1104. width: 100%;
  1105. height: 100%;
  1106. }
  1107. }
  1108. }
  1109. .right {
  1110. display: flex;
  1111. .point {
  1112. width: 12rpx;
  1113. height: 12rpx;
  1114. background: #2B6EFF;
  1115. border-radius: 50%;
  1116. margin-right: 9rpx;
  1117. margin-top: 20rpx;
  1118. }
  1119. .test {
  1120. margin-top: 11rpx;
  1121. }
  1122. }
  1123. }
  1124. .content-sec {
  1125. border-top: 1px solid #E0E0E0;
  1126. padding: 0 30rpx;
  1127. position: relative;
  1128. .content-sec-lab {
  1129. margin-top: 30rpx;
  1130. display: flex;
  1131. font-size: 30rpx;
  1132. font-weight: 400;
  1133. color: #333;
  1134. line-height: 42rpx;
  1135. .content-sec-lab1 {
  1136. color: #333333;
  1137. }
  1138. .content-sec-tips {
  1139. max-width: 175rpx;
  1140. text-align: center;
  1141. line-height: 48rpx;
  1142. overflow: hidden;
  1143. text-overflow: ellipsis;
  1144. white-space: nowrap;
  1145. font-size: 26rpx;
  1146. font-weight: 400;
  1147. color: #2671E2;
  1148. margin-right: 12rpx;
  1149. box-sizing: border-box;
  1150. padding: 0 20rpx;
  1151. height: 48rpx;
  1152. background: #F4F8FD;
  1153. border-radius: 6rpx;
  1154. }
  1155. }
  1156. .content-sec-num {
  1157. position: absolute;
  1158. width: 196rpx;
  1159. height: 112rpx;
  1160. background: #F4F8FD;
  1161. border-radius: 8rpx;
  1162. top: 28rpx;
  1163. right: 30rpx;
  1164. padding: 16rpx 20rpx;
  1165. color: #2671E2;
  1166. line-height: 40rpx;
  1167. text-align: center;
  1168. }
  1169. }
  1170. .content-last {
  1171. padding: 30rpx;
  1172. margin-top: 28rpx;
  1173. .content-last-con {
  1174. width: 690rpx;
  1175. min-height: 112rpx;
  1176. background: #F8F8F8;
  1177. border-radius: 8rpx;
  1178. padding: 16rpx 20rpx;
  1179. font-size: 28rpx;
  1180. font-weight: 400;
  1181. color: #333333;
  1182. line-height: 40rpx;
  1183. }
  1184. }
  1185. }
  1186. }
  1187. .tabchange {
  1188. overflow: hidden;
  1189. .tabactive1 {
  1190. padding-bottom: 100rpx;
  1191. .content-tips {
  1192. background: #fff;
  1193. padding: 0 30rpx;
  1194. box-sizing: border-box;
  1195. overflow: hidden;
  1196. margin-bottom: 20rpx;
  1197. .content-first {
  1198. margin-top: 19rpx;
  1199. display: flex;
  1200. justify-content: space-between;
  1201. .left {
  1202. display: flex;
  1203. .img {
  1204. width: 52rpx;
  1205. height: 52rpx;
  1206. background: #FFFFFF;
  1207. border: 1rpx solid #C9C9C9;
  1208. border-radius: 50%;
  1209. text-align: center;
  1210. line-height: 52rpx;
  1211. margin-right: 20rpx;
  1212. }
  1213. .name {
  1214. font-weight: 600;
  1215. color: #333333;
  1216. margin-top: 11rpx;
  1217. }
  1218. .status {
  1219. width: 110rpx;
  1220. height: 42rpx;
  1221. background: #FFF9F5;
  1222. border-radius: 4rpx;
  1223. font-size: 26rpx;
  1224. font-weight: 400;
  1225. color: #EC8D49;
  1226. line-height: 42rpx;
  1227. text-align: center;
  1228. margin-left: 19rpx;
  1229. margin-top: 11rpx;
  1230. }
  1231. }
  1232. .right {
  1233. display: flex;
  1234. margin-top: 11rpx;
  1235. .point {
  1236. width: 12rpx;
  1237. height: 12rpx;
  1238. background: #2B6EFF;
  1239. border-radius: 50%;
  1240. margin-right: 9rpx;
  1241. margin-top: 16rpx;
  1242. }
  1243. }
  1244. }
  1245. .content-sec {
  1246. display: flex;
  1247. justify-content: space-between;
  1248. margin-top: 19rpx;
  1249. .left {
  1250. display: flex;
  1251. .cus {
  1252. font-size: 30rpx;
  1253. font-weight: 400;
  1254. color: #333;
  1255. line-height: 42rpx;
  1256. }
  1257. .arriveNum {
  1258. font-size: 30rpx;
  1259. font-weight: 400;
  1260. margin-left: 10rpx;
  1261. color: #2671E2;
  1262. }
  1263. }
  1264. .right {
  1265. height: 56rpx;
  1266. background: #F4F8FD;
  1267. border-radius: 6rpx;
  1268. text-align: center;
  1269. line-height: 56rpx;
  1270. font-weight: 400;
  1271. color: #2671E2;
  1272. font-size: 28rpx;
  1273. padding: 0 20rpx;
  1274. }
  1275. }
  1276. .content-last {
  1277. margin: 28rpx 0;
  1278. font-size: 30rpx;
  1279. font-weight: 400;
  1280. color: #333;
  1281. line-height: 30rpx;
  1282. }
  1283. }
  1284. }
  1285. .tabactive2 {
  1286. .tab2-tips {
  1287. background: #fff;
  1288. // height: 270rpx;
  1289. overflow: auto;
  1290. margin-bottom: 20rpx;
  1291. .tab2-first {
  1292. border-bottom: 1rpx solid #E0E0E0;
  1293. padding: 0 30rpx;
  1294. margin-top: 19rpx;
  1295. box-sizing: border-box;
  1296. .tab2-first-1 {
  1297. display: flex;
  1298. justify-content: space-between;
  1299. height: 52rpx;
  1300. align-items: center;
  1301. .tab2-first-left {
  1302. display: flex;
  1303. align-items: center;
  1304. height: 52rpx;
  1305. .img {
  1306. width: 52rpx;
  1307. height: 52rpx;
  1308. background: #FFFFFF;
  1309. border: 1rpx solid #C9C9C9;
  1310. border-radius: 50%;
  1311. text-align: center;
  1312. line-height: 52rpx;
  1313. }
  1314. .name {
  1315. font-weight: 600;
  1316. color: #333333;
  1317. margin-left: 20rpx;
  1318. }
  1319. .clientStageName {
  1320. height: 48rpx;
  1321. line-height: 48rpx;
  1322. background: #fff;
  1323. border-radius: 4rpx;
  1324. border: 1rpx solid #ff981e;
  1325. box-sizing: border-box;
  1326. font-size: 28rpx;
  1327. font-family: PingFangSC-Regular,PingFang SC;
  1328. font-weight: 400;
  1329. color: #ff981e;
  1330. margin-left: 16rpx;
  1331. padding: 0 16rpx;
  1332. }
  1333. }
  1334. .tab2-first-right {
  1335. font-size: 30rpx;
  1336. font-weight: 400;
  1337. color: #333;
  1338. }
  1339. }
  1340. .tab2-first-foot {
  1341. margin: 30rpx 0;
  1342. font-size: 30rpx;
  1343. font-weight: 400;
  1344. color: #333;
  1345. line-height: 42rpx;
  1346. }
  1347. }
  1348. .tab2-sec {
  1349. height: 120rpx;
  1350. padding: 30rpx;
  1351. float: right;
  1352. .tab-sec-edit {
  1353. width: 156rpx;
  1354. height: 60rpx;
  1355. background: #FFFFFF;
  1356. border-radius: 4rpx;
  1357. border: 1rpx solid #2671E2;
  1358. text-align: center;
  1359. line-height: 60rpx;
  1360. font-weight: 400;
  1361. color: #2671E2;
  1362. }
  1363. }
  1364. }
  1365. }
  1366. }
  1367. .pon-foot {
  1368. position: fixed;
  1369. width: 750rpx;
  1370. height: 100rpx;
  1371. background: #FFFFFF;
  1372. box-shadow: 0px -2rpx 8rpx 0rpx rgba(224, 224, 224, 0.5);
  1373. bottom: 0;
  1374. display: flex;
  1375. justify-content: space-around;
  1376. align-items: center;
  1377. // padding-top: 24rpx;
  1378. box-sizing: border-box;
  1379. // padding: ;
  1380. .foot-tab {
  1381. text-align: center;
  1382. width: 270rpx;
  1383. height: 70rpx;
  1384. line-height: 70rpx;
  1385. background: #2671E2;
  1386. box-shadow: 0px -2rpx 8rpx 0px rgba(224, 224, 224, 0.5);
  1387. border-radius: 6rpx;
  1388. font-size: 30rpx;
  1389. font-weight: 400;
  1390. color: #FFFFFF;
  1391. }
  1392. }
  1393. .upon-sec-tips {
  1394. // max-width:120rpx ;
  1395. height: 46rpx;
  1396. background: #F2F2F2;
  1397. border-radius: 6rpx;
  1398. text-align: center;
  1399. line-height: 26rpx;
  1400. overflow: hidden;
  1401. text-overflow: ellipsis;
  1402. white-space: nowrap;
  1403. font-size: 26rpx;
  1404. font-weight: 400;
  1405. color: #333333;
  1406. margin-right: 20rpx;
  1407. margin-top: 20rpx;
  1408. box-sizing: border-box;
  1409. padding: 10rpx 24rpx;
  1410. }
  1411. .conmsg-msg-lab-img {
  1412. width: 14rpx;
  1413. height: 30rpx;
  1414. margin-top: 6rpx;
  1415. margin-left: auto;
  1416. image {
  1417. width: 100%;
  1418. height: 100%;
  1419. }
  1420. }
  1421. .A {
  1422. background: #E6625B;
  1423. }
  1424. .B {
  1425. background: #FF981E;
  1426. }
  1427. .C {
  1428. background: #F6BD16;
  1429. }
  1430. .D {
  1431. background: #E6625B;
  1432. }
  1433. .top-box {
  1434. height: 80rpx;
  1435. line-height: 80rpx;
  1436. display: flex;
  1437. color: #2671E2;
  1438. border-bottom: 1rpx solid #ccc;
  1439. }
  1440. </style>