You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1662 lines
42 KiB

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