選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 

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