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.
 
 
 

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