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.
 
 
 

1808 lines
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.showLevel.length==0"></view>
  8. <view class="img" v-else-if="customerInfo.showLevel==1">A</view>
  9. <view class="img" v-else-if="customerInfo.showLevel==2">B</view>
  10. <view class="img" v-else-if="customerInfo.showLevel==3">C</view>
  11. <view class="img" v-else-if="customerInfo.showLevel==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. <image class="close" @click="showIntentionRate = false" src="@/static/images/close.png" mode=""></image>
  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. customerIds: '', // 给评分传值的
  473. }
  474. },
  475. computed: {
  476. isEdit() {
  477. let arr = uni.getStorageSync('weapp_session_Menu_data')
  478. return arr.findIndex(item => {
  479. return item.name == '客户编辑'
  480. }) == -1 ? false : true
  481. }
  482. },
  483. onLoad(options) {
  484. this.LOADING = true
  485. if (options.id) this.customerId = options.id;
  486. console.log(options, 'ald;ksaldjals')
  487. },
  488. onShow() {
  489. this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
  490. if (this.userInfo.dataCode == 6) {
  491. this.buttonisshow = true;
  492. } else {
  493. this.buttonisshow = false
  494. }
  495. this.getCustomerInfo()
  496. this.tabtimetap(0)
  497. this.getMarketingBusiness()
  498. this.getListByType()
  499. },
  500. methods: {
  501. // 字典表接口
  502. getListByType() {
  503. this.$u.get("/matchKeywords/findPersonalMatchData", {
  504. customerId: this.customerId
  505. })
  506. .then(res => {
  507. let arr = []
  508. res.forEach(item1 => {
  509. item1.children.map(item => {
  510. if (item.isInterval == 0) {
  511. item.label = item.name + item.unit + '-' + item.endName + item
  512. .unit;
  513. } else {
  514. item.label = item.name
  515. }
  516. item.value = item.id;
  517. if (item.selected == 0) {
  518. arr.push({
  519. name: item.label,
  520. fName: item1.name
  521. })
  522. }
  523. })
  524. })
  525. let arr1 = []
  526. arr.map(item => {
  527. let index = arr1.findIndex(items => items.name == item.fName)
  528. if (index != -1) {
  529. arr1[index].children.push({
  530. name: item.name
  531. })
  532. } else {
  533. arr1.push({
  534. name: item.fName,
  535. children: [{
  536. name: item.name
  537. }]
  538. })
  539. }
  540. })
  541. this.intentionRateList = arr1
  542. })
  543. },
  544. // 销讲业务方法
  545. templateCancel() {
  546. this.showTemplate = false;
  547. },
  548. // 确认选择销讲业务
  549. templateConfirm(e) {
  550. console.log(e, '莫名其妙被调用')
  551. this.showTemplate = false;
  552. this.customerIds = e[0].value
  553. this.showBeText = e[0].label
  554. this.tabtimetap(2)
  555. },
  556. // 获取销讲业务
  557. getMarketingBusiness() {
  558. this.$u.get('/customer/marketingBusinessByCusId', {
  559. id: this.customerId,
  560. }).then(res => {
  561. if (res) {
  562. this.templateList = res
  563. this.customerIds = res[0].cusId
  564. this.showBeText = res[0].templateName
  565. }
  566. })
  567. },
  568. clickWajue(item) {
  569. if (item.isAskQuestions == 0) {
  570. uni.navigateTo({
  571. url: '/pages/learning/Keywordsearch?customerId=' + this.customerId + "&keyword=" + item
  572. .showFormatExpression +
  573. "&skpl=" + "2" + '&UpDateEvent='
  574. })
  575. }
  576. },
  577. // 计算挖掘执行的完成率
  578. getPercent() {
  579. let countArr = this.KeyWordsfractionList.filter(item => item.selected == 0)
  580. console.log(countArr)
  581. this.percent = (countArr.length / this.KeyWordsfractionList.length) * 100
  582. console.log(this.percent.toFixed(0))
  583. this.percent = this.percent.toFixed(0)
  584. },
  585. //挖掘率话术客户标签展示
  586. getKeywordsList(list) {
  587. let keywords = [];
  588. if (list && list.length) {
  589. keywords = list.map((item) => item.name);
  590. } else {
  591. return "--";
  592. }
  593. return keywords.join(",");
  594. },
  595. changeshowlevel1(item, type) {
  596. console.log(item)
  597. item.show = !item.show
  598. },
  599. max100(num) {
  600. if (num > 100) {
  601. return 100;
  602. } else if (!num) {
  603. return 0;
  604. } else {
  605. return num;
  606. }
  607. },
  608. // 客户详情需求挖掘话术
  609. getfindKeyWordsBycusId() {
  610. this.$u
  611. .get("/cusLvStatistics/findKeyWordsBycusId?cusId=" + this.customerId)
  612. .then((res) => {
  613. // console.log(res)
  614. if (res.length) {
  615. res.forEach((item, index) => {
  616. item.show = false;
  617. if (index == 0) {
  618. item.show = true;
  619. }
  620. if (item.children && item.children.length) {
  621. item.children.forEach((obj, i) => {
  622. obj.show = false;
  623. if (i == 0 && index == 0) {
  624. obj.show = true;
  625. }
  626. });
  627. }
  628. });
  629. this.KeyWordsfractionList = res;
  630. this.getPercent()
  631. } else {
  632. this.KeyWordsfractionList = [];
  633. }
  634. });
  635. },
  636. // 获取到访记录
  637. getVisitList() {
  638. this.$u.get("/customer/findByPhoneAndProject?id=" + this.customerId, ).then(res => {
  639. this.Thevisitingrecords = res
  640. })
  641. },
  642. // 获取客户信息
  643. getCustomerInfo() {
  644. const that = this;
  645. this.$u.get("/customer/findById", {
  646. id: this.customerId
  647. }).then(res => {
  648. this.LOADING = false
  649. if (res.fraction == null) {
  650. res.fraction = '0';
  651. }
  652. if (res.demand.cusSemanticWordsList != null) {
  653. res.demand.cusSemanticWords = res.demand.cusSemanticWordsList
  654. res.demand.cusSemanticWordsList.forEach(che => {
  655. if (che.isInterval == 0) {
  656. che.name = che.name + che.unit + '-' + che.endName + che.unit;
  657. }
  658. })
  659. // res.demand.cusSemanticWordsList = res.demand.cusSemanticWordsList.slice(0, 3)
  660. }
  661. // console.log(res.demand.cusSemanticWords,'关键字')
  662. this.customerInfo = res;
  663. }).catch(e => {
  664. this.LOADING = false
  665. })
  666. },
  667. tabtimetap(idx) {
  668. this.activeTotal = idx
  669. if (idx == 0) {
  670. this.getVisitList()
  671. } else if (idx == 1) {
  672. this.getFollowList()
  673. } else {
  674. this.getRatelist()
  675. this.getfindKeyWordsBycusId()
  676. }
  677. },
  678. tapThevisiting(item) {
  679. uni.showLoading({
  680. title: '加载中',
  681. mask: true
  682. });
  683. if (item.yon != 0) {
  684. setTimeout(function() {
  685. uni.hideLoading();
  686. }, 2000);
  687. console.log(this.checkAuthority('设备日志'))
  688. if (this.checkAuthority('设备日志')) {
  689. uni.navigateTo({
  690. url: `/pages/mine/equipmentLog?id=${item.id}`
  691. })
  692. } else {
  693. uni.showToast({
  694. icon: "none",
  695. title: "暂无录音"
  696. })
  697. }
  698. return
  699. } else {
  700. const parames = {
  701. pageNum: 1,
  702. pageSize: 100,
  703. query: {
  704. customerId: item.id,
  705. }
  706. }
  707. var item = {
  708. bg: 0,
  709. customerId: item.id,
  710. id: ''
  711. }
  712. uni.setStorageSync("entrance", 1); //写入缓存
  713. uni.setStorageSync("searchobj", item); //写入缓存
  714. this.$u.post("/corpus/findByPage", parames).then(res => {
  715. setTimeout(function() {
  716. uni.hideLoading();
  717. }, 2000);
  718. if (res == null) {
  719. console.log(this.checkAuthority('设备日志'))
  720. if (this.checkAuthority('设备日志')) {
  721. uni.navigateTo({
  722. url: `/pages/mine/equipmentLog?id=${item.id}`
  723. })
  724. } else {
  725. uni.showToast({
  726. icon: "none",
  727. title: "暂无音频"
  728. })
  729. }
  730. return
  731. }
  732. if (res[0].merge == 0) {
  733. let newobj = res[0];
  734. uni.navigateTo({
  735. url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=2&wordFraction=${this.customerInfo.wordFraction}`
  736. })
  737. } else {
  738. let newobj = res[0];
  739. uni.navigateTo({
  740. url: `/pages/mine/details?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=1&wordFraction=${this.customerInfo.wordFraction}`
  741. })
  742. }
  743. })
  744. }
  745. },
  746. // 获取跟进记录
  747. getFollowList() {
  748. this.fllowList = [];
  749. this.$u.post("/customer/getCusStage", {
  750. customerId: this.customerId
  751. }).then(res => {
  752. res.forEach(item => {
  753. item.agentName = this.customerInfo.agentName
  754. })
  755. this.fllowList = res;
  756. })
  757. },
  758. // 新增跟进
  759. followRecordAdd() {
  760. uni.navigateTo({
  761. url: `/pages/center/consumer/newFollowup/newFollowup?id=${this.customerId}&level=${this.customerInfo.level}&stageName=${this.customerInfo.stageName}`
  762. })
  763. },
  764. // 去编辑
  765. goedit() {
  766. // console.log('去编辑')
  767. if (!this.isEdit) return
  768. uni.navigateTo({
  769. url: `/pages/center/consumer/edit?id=${this.customerId}&projectId=${this.customerInfo.projectId}`
  770. })
  771. },
  772. // 去添加提醒
  773. goRemind() {
  774. uni.navigateTo({
  775. url: `/pages/center/consumer/remind?str=${this.customerInfo.name+'/'+this.customerInfo.phone}&customerId=${this.customerId}`
  776. })
  777. },
  778. //评分点击
  779. clickaudeopal(item) {
  780. if (item.selected == 0 && item.viewFlag != 1) {
  781. uni.navigateTo({
  782. url: '/pages/mine/ScoringPlaylist?customerId=' + (this.customerIds == '' ? this.customerId : this.customerIds) + "&id=" + item
  783. .marketingId + '&type=0'
  784. })
  785. }
  786. },
  787. tipupon() {
  788. if (!this.customerInfo.demand.cusSemanticWordsList) return
  789. this.tipshow = true
  790. },
  791. changeshow(item, type) {
  792. item.show = !item.show
  793. },
  794. changeshow2(item, type) {
  795. item.show = !item.show
  796. },
  797. // 获取评分
  798. getRatelist() {
  799. this.$u.get("/customer/findzkMByCusId", {
  800. cusId: this.customerIds == '' ? this.customerId : this.customerIds
  801. }).then(res => {
  802. if (res.length) {
  803. let level1 = []
  804. let level2rate = 0
  805. res.forEach(item => {
  806. if (item.pid == 0) {
  807. level1.push({
  808. id: item.marketingId,
  809. rate: item.fraction,
  810. name: item.name,
  811. sort: item.sort,
  812. viewFlag: item.viewFlag,
  813. show: false,
  814. ratepercent: 0,
  815. children: []
  816. })
  817. } else {
  818. if (item.selected == 0) {
  819. level2rate += item.fraction
  820. }
  821. }
  822. })
  823. this.totalRate = level2rate;
  824. res.forEach(subitem => {
  825. let subitempid = subitem.pid
  826. level1.forEach(item => {
  827. if (subitempid == item.id) {
  828. if (subitem.selected == 0) {
  829. item.ratepercent += subitem.fraction
  830. }
  831. item.children.push({
  832. id: subitem.id,
  833. rate: subitem.fraction,
  834. selected: subitem.selected,
  835. name: subitem.name,
  836. viewFlag: subitem.viewFlag,
  837. show: false,
  838. marketingId: subitem.marketingId,
  839. children: []
  840. })
  841. }
  842. })
  843. })
  844. res.forEach(subitem => {
  845. let subitempid = subitem.pid
  846. level1.forEach(chen => {
  847. chen.children.forEach(zxc => {
  848. if (subitempid == zxc.marketingId) {
  849. zxc.children.push({
  850. id: subitem.id,
  851. rate: subitem.fraction,
  852. selected: subitem.selected,
  853. viewFlag: subitem.viewFlag,
  854. name: subitem.name,
  855. marketingId: subitem.marketingId,
  856. })
  857. }
  858. })
  859. })
  860. })
  861. level1[0].show = true;
  862. level1[0].children[0].show = true;
  863. this.ratelist = level1
  864. }
  865. })
  866. },
  867. }
  868. }
  869. </script>
  870. <style lang="scss" scoped>
  871. .boxtittabs {
  872. width: 100%;
  873. height: 92rpx;
  874. background: #FFFFFF;
  875. display: flex;
  876. align-items: center;
  877. .items {
  878. padding: 0 24rpx;
  879. width: 50%;
  880. height: 100%;
  881. display: flex;
  882. align-items: center;
  883. justify-content: center;
  884. overflow: hidden;
  885. white-space: nowrap;
  886. text-overflow: ellipsis;
  887. }
  888. }
  889. .rotatearrow {
  890. transform: rotate(270deg);
  891. }
  892. .top-box {
  893. height: 80rpx;
  894. line-height: 80rpx;
  895. display: flex;
  896. color: #2671E2;
  897. border-bottom: 1rpx solid #ccc;
  898. }
  899. // 评分
  900. .rate-box {
  901. padding: 10rpx 20rpx;
  902. background-color: #FFFFFF;
  903. .date {
  904. width: 300rpx;
  905. height: 33rpx;
  906. font-size: 24rpx;
  907. font-weight: 400;
  908. color: #333333;
  909. line-height: 33rpx;
  910. letter-spacing: 1rpx;
  911. margin-bottom: 8rpx;
  912. }
  913. .title {
  914. width: 100%;
  915. height: 42rpx;
  916. font-size: 30rpx;
  917. font-weight: 500;
  918. color: #333333;
  919. line-height: 42rpx;
  920. letter-spacing: 2rpx;
  921. margin-bottom: 20rpx;
  922. }
  923. .level1 {
  924. display: flex;
  925. align-items: center;
  926. .level-name {
  927. width: 104rpx;
  928. height: 33rpx;
  929. font-size: 24rpx;
  930. font-weight: 500;
  931. color: #333333;
  932. line-height: 33rpx;
  933. letter-spacing: 1rpx;
  934. margin-right: 10rpx;
  935. }
  936. .level-progress {
  937. flex: 1;
  938. border-radius: 11rpx;
  939. height: 21rpx;
  940. background-color: #BEE4FF;
  941. position: relative;
  942. .color {
  943. width: 0;
  944. position: absolute;
  945. top: 0;
  946. left: 0;
  947. height: 21rpx;
  948. border-radius: 11rpx 0 0 11rpx;
  949. background-color: #008EF2;
  950. }
  951. }
  952. .level-rate {
  953. width: 65rpx;
  954. height: 33rpx;
  955. font-size: 24rpx;
  956. font-weight: 500;
  957. color: #333333;
  958. line-height: 33rpx;
  959. letter-spacing: 1rpx;
  960. margin: 0 20rpx 0 15rpx;
  961. }
  962. .arrow {
  963. width: 37rpx;
  964. height: 21rpx;
  965. padding: 5rpx 20rpx;
  966. }
  967. .rotatearrow {
  968. transform: rotate(270deg);
  969. }
  970. }
  971. .level1-subbox {
  972. display: flex;
  973. margin-top: 20rpx;
  974. flex-wrap: wrap;
  975. .sub-name {
  976. width: 50%;
  977. display: flex;
  978. margin-bottom: 18rpx;
  979. .subitem-name {
  980. width: 104rpx;
  981. height: 33rpx;
  982. font-size: 24rpx;
  983. font-weight: 400;
  984. color: #999999;
  985. line-height: 33rpx;
  986. letter-spacing: 1rpx;
  987. margin-right: 12rpx;
  988. }
  989. .checkimg {
  990. width: 27rpx;
  991. height: 27rpx;
  992. }
  993. }
  994. }
  995. }
  996. .Level-box {
  997. padding-bottom: 2rpx;
  998. .hhhbox {
  999. width: 100%;
  1000. padding-left: 30rpx;
  1001. padding-right: 30rpx;
  1002. border-bottom: 1rpx solid #E0E0E0;
  1003. background: #FFFFFF;
  1004. .hsnrtest {
  1005. font-size: 28rpx;
  1006. font-weight: 400;
  1007. color: #666666;
  1008. line-height: 30rpx;
  1009. margin-bottom: 20rpx;
  1010. }
  1011. .Level3che {
  1012. width: 100%;
  1013. height: 30rpx;
  1014. display: flex;
  1015. line-height: 30rpx;
  1016. align-items: center;
  1017. margin-top: 30rpx;
  1018. .title1 {
  1019. flex: 1;
  1020. font-size: 30rpx;
  1021. color: #2671E2;
  1022. font-weight: 400;
  1023. }
  1024. .jiantobox {
  1025. width: 30rpx;
  1026. height: 30rpx;
  1027. display: flex;
  1028. align-items: center;
  1029. .arrow {
  1030. width: 28rpx;
  1031. height: 28rpx;
  1032. }
  1033. }
  1034. }
  1035. }
  1036. .Level2che {
  1037. width: 100%;
  1038. height: 88rpx;
  1039. display: flex;
  1040. line-height: 88rpx;
  1041. align-items: center;
  1042. .title1 {
  1043. flex: 3;
  1044. font-size: 30rpx;
  1045. color: #333333;
  1046. font-weight: 400;
  1047. }
  1048. .leve1-jindu {
  1049. flex: 3;
  1050. display: flex;
  1051. justify-content: center;
  1052. align-items: center;
  1053. .zhixing {
  1054. width: 108rpx;
  1055. height: 44rpx;
  1056. background: #2671E2;
  1057. border-radius: 4rpx;
  1058. font-size: 28rpx;
  1059. text-align: center;
  1060. line-height: 44rpx;
  1061. color: #FFFFFF;
  1062. }
  1063. .zhixing2 {
  1064. width: 108rpx;
  1065. height: 44rpx;
  1066. background: #F8F8F8;
  1067. border-radius: 4rpx;
  1068. font-size: 28rpx;
  1069. text-align: center;
  1070. line-height: 44rpx;
  1071. color: #999999;
  1072. }
  1073. }
  1074. .jiantobox {
  1075. width: 30rpx;
  1076. height: 30rpx;
  1077. display: flex;
  1078. align-items: center;
  1079. .arrow {
  1080. width: 30rpx;
  1081. height: 18rpx;
  1082. }
  1083. }
  1084. }
  1085. .Level1che {
  1086. width: 100%;
  1087. height: 94rpx;
  1088. background: #F5F5F5;
  1089. display: flex;
  1090. line-height: 94rpx;
  1091. align-items: center;
  1092. padding-left: 30rpx;
  1093. padding-right: 30rpx;
  1094. .title1 {
  1095. flex: 2;
  1096. font-size: 30rpx;
  1097. color: #333333;
  1098. font-weight: 400;
  1099. }
  1100. .leve1-jindu {
  1101. flex: 3;
  1102. .jindutiao {
  1103. width: 96%;
  1104. height: 28rpx;
  1105. background: #D5EEE2;
  1106. line-height: 28rpx;
  1107. border-radius: 14rpx;
  1108. position: relative;
  1109. .huanxing {
  1110. height: 100%;
  1111. background: #4FC78F;
  1112. border-radius: 14rpx;
  1113. }
  1114. .text {
  1115. position: absolute;
  1116. top: 0rpx;
  1117. right: 0rpx;
  1118. font-size: 28rpx;
  1119. font-weight: 400;
  1120. color: #333333;
  1121. }
  1122. }
  1123. }
  1124. .jiantobox {
  1125. width: 30rpx;
  1126. height: 30rpx;
  1127. display: flex;
  1128. align-items: center;
  1129. .arrow {
  1130. width: 30rpx;
  1131. height: 18rpx;
  1132. }
  1133. }
  1134. }
  1135. }
  1136. .cccccc {
  1137. text-align: center;
  1138. height: 140rpx;
  1139. line-height: 140rpx;
  1140. font-size: 30rpx;
  1141. }
  1142. .ratecenter {
  1143. background-color: #FFFFFF;
  1144. padding-bottom: 30rpx;
  1145. width: 100%;
  1146. .my-tab {
  1147. padding: 20rpx 0;
  1148. display: flex;
  1149. justify-content: space-around;
  1150. align-items: center;
  1151. border-bottom: 1px solid #E0E0E0;
  1152. .tab-item {
  1153. padding: 0 30rpx;
  1154. height: 56rpx;
  1155. font-size: 28rpx;
  1156. font-family: PingFangSC-Regular, PingFang SC;
  1157. font-weight: 400;
  1158. color: #666666;
  1159. line-height: 56rpx;
  1160. text-shadow: 0px 1px 0px #E0E0E0;
  1161. }
  1162. .tabactive {
  1163. height: 56rpx;
  1164. background: rgba(38, 113, 226, 0.1);
  1165. box-shadow: 0px 1px 0px 0px #E0E0E0;
  1166. border-radius: 28rpx;
  1167. font-weight: 600;
  1168. color: #2671E2;
  1169. }
  1170. }
  1171. .ratetetle {
  1172. padding: 30rpx;
  1173. font-size: 30rpx;
  1174. font-weight: 400;
  1175. color: #333333;
  1176. padding-bottom: 6rpx;
  1177. }
  1178. .rateyuanbox {
  1179. width: 100%;
  1180. height: 210rpx;
  1181. padding-bottom: 30rpx;
  1182. border-bottom: 1rpx solid #E0E0E0;
  1183. display: flex;
  1184. padding-left: 80rpx;
  1185. padding-right: 80rpx;
  1186. .rateyuanboxzuo {
  1187. width: 30%;
  1188. height: 100%;
  1189. }
  1190. .rateyuanboxyou {
  1191. width: 40%;
  1192. height: 100%;
  1193. }
  1194. .boxzuoview {
  1195. width: 100%;
  1196. height: 140rpx;
  1197. }
  1198. }
  1199. }
  1200. .box {
  1201. width: 100%;
  1202. height: 100%;
  1203. background: #F8F8F8;
  1204. }
  1205. .tab {
  1206. position: sticky;
  1207. top: 0;
  1208. height: 88rpx;
  1209. z-index: 999;
  1210. background: #FFFFFF;
  1211. display: flex;
  1212. align-items: center;
  1213. .tabbox {
  1214. flex: 1;
  1215. height: 100%;
  1216. text-align: center;
  1217. line-height: 92rpx;
  1218. color: #666666;
  1219. font-size: 28rpx;
  1220. display: flex;
  1221. justify-content: center;
  1222. .activecllasscet {
  1223. border-bottom: 2px solid #2671E2;
  1224. color: #2671E2;
  1225. font-weight: 600;
  1226. }
  1227. }
  1228. }
  1229. .content {
  1230. // height: 1000rpx;/
  1231. overflow: hidden;
  1232. border-top: 1px solid #E0E0E0;
  1233. .content-tips {
  1234. background: #fff;
  1235. // box-sizing: border-box;
  1236. margin-bottom: 20rpx;
  1237. overflow: hidden;
  1238. .content-first {
  1239. padding: 19rpx 30rpx;
  1240. display: flex;
  1241. justify-content: space-between;
  1242. box-sizing: border-box;
  1243. font-weight: 400;
  1244. color: #292929;
  1245. height: 90rpx;
  1246. font-size: 30rpx;
  1247. line-height: 30rpx;
  1248. .left {
  1249. display: flex;
  1250. .img {
  1251. width: 52rpx;
  1252. height: 52rpx;
  1253. border-radius: 50%;
  1254. text-align: center;
  1255. line-height: 50rpx;
  1256. margin-right: 20rpx;
  1257. color: #fff;
  1258. font-size: 30rpx;
  1259. background: #9f61c8;
  1260. }
  1261. .test {
  1262. margin-top: 11rpx;
  1263. font-weight: 500;
  1264. color: #333333;
  1265. }
  1266. .edit {
  1267. height: 30rpx;
  1268. width: 30rpx;
  1269. margin-left: 30rpx;
  1270. margin-top: 11rpx;
  1271. image {
  1272. width: 100%;
  1273. height: 100%;
  1274. }
  1275. }
  1276. }
  1277. .right {
  1278. display: flex;
  1279. .test {
  1280. margin-top: 11rpx;
  1281. .blue {
  1282. font-size: 32rpx;
  1283. font-family: PingFangSC-Medium, PingFang SC;
  1284. font-weight: 500;
  1285. color: #2671e2;
  1286. }
  1287. }
  1288. }
  1289. }
  1290. .content-sec {
  1291. border-top: 1px solid #E0E0E0;
  1292. padding: 0 30rpx;
  1293. position: relative;
  1294. .content-sec-lab {
  1295. margin-top: 28rpx;
  1296. display: flex;
  1297. justify-content: space-between;
  1298. font-size: 30rpx;
  1299. font-weight: 400;
  1300. color: #666666;
  1301. line-height: 46rpx;
  1302. .content-sec-lab1 {
  1303. color: #333333;
  1304. .look {
  1305. font-size: 32rpx;
  1306. font-family: PingFangSC-Semibold, PingFang SC;
  1307. font-weight: 600;
  1308. color: #2671E2;
  1309. }
  1310. .look1 {
  1311. height: 42rpx;
  1312. font-size: 30rpx;
  1313. font-family: PingFangSC-Regular, PingFang SC;
  1314. font-weight: 400;
  1315. color: #2671E2;
  1316. line-height: 42rpx;
  1317. margin-left: 60rpx;
  1318. }
  1319. }
  1320. .content-sec-tips {
  1321. max-width: 120rpx;
  1322. height: 46rpx;
  1323. background: #F2F2F2;
  1324. border-radius: 6rpx;
  1325. text-align: center;
  1326. line-height: 26rpx;
  1327. overflow: hidden;
  1328. text-overflow: ellipsis;
  1329. white-space: nowrap;
  1330. font-size: 26rpx;
  1331. font-weight: 400;
  1332. color: #333333;
  1333. margin-right: 20rpx;
  1334. box-sizing: border-box;
  1335. padding: 10rpx 24rpx;
  1336. }
  1337. }
  1338. .content-sec-num {
  1339. position: absolute;
  1340. width: 200rpx;
  1341. height: 90rpx;
  1342. background: #F4F8FD;
  1343. border-radius: 12rpx;
  1344. font-weight: 400;
  1345. color: #2671E2;
  1346. line-height: 45rpx;
  1347. bottom: 100rpx;
  1348. right: 30rpx;
  1349. text-align: center;
  1350. }
  1351. }
  1352. .content-last {
  1353. padding: 30rpx;
  1354. .content-last-con {
  1355. width: 690rpx;
  1356. min-height: 108rpx;
  1357. background: #F8F8F8;
  1358. border-radius: 8rpx;
  1359. padding: 14rpx 20rpx;
  1360. font-size: 28rpx;
  1361. font-weight: 400;
  1362. color: #333333;
  1363. line-height: 40rpx;
  1364. }
  1365. }
  1366. }
  1367. }
  1368. .tabchange {
  1369. background: #fff;
  1370. .tabactive1 {
  1371. padding-bottom: 100rpx;
  1372. .content-tips {
  1373. background: #fff;
  1374. box-sizing: border-box;
  1375. overflow: hidden;
  1376. margin: 0 0 20rpx 0;
  1377. padding: 30rpx;
  1378. .content-first {
  1379. display: flex;
  1380. justify-content: space-between;
  1381. .left {
  1382. display: flex;
  1383. align-items: center;
  1384. .img {
  1385. width: 52rpx;
  1386. height: 52rpx;
  1387. background: #FFFFFF;
  1388. border: 1px solid #C9C9C9;
  1389. border-radius: 50%;
  1390. text-align: center;
  1391. line-height: 52rpx;
  1392. }
  1393. .name {
  1394. font-weight: 600;
  1395. color: #333333;
  1396. margin-right: 10rpx;
  1397. font-size: 30rpx;
  1398. }
  1399. .status {
  1400. width: 110rpx;
  1401. height: 42rpx;
  1402. background: #FFF9F5;
  1403. border-radius: 4rpx;
  1404. font-size: 26rpx;
  1405. font-weight: 400;
  1406. color: #EC8D49;
  1407. line-height: 42rpx;
  1408. text-align: center;
  1409. margin: 0 10rpx;
  1410. }
  1411. .normal-status {
  1412. color: red;
  1413. }
  1414. }
  1415. .right {
  1416. display: flex;
  1417. margin-top: 11rpx;
  1418. .point {
  1419. width: 12rpx;
  1420. height: 12rpx;
  1421. background: #2B6EFF;
  1422. border-radius: 50%;
  1423. margin-right: 9rpx;
  1424. margin-top: 16rpx;
  1425. }
  1426. }
  1427. }
  1428. .content-sec {
  1429. display: flex;
  1430. justify-content: space-between;
  1431. margin: 24rpx 0;
  1432. .left {
  1433. flex-grow: 1;
  1434. height: 40rpx;
  1435. font-size: 28rpx;
  1436. font-family: PingFangSC-Medium, PingFang SC;
  1437. font-weight: 500;
  1438. color: #333333;
  1439. line-height: 40rpx;
  1440. }
  1441. .right {
  1442. flex-shrink: 0;
  1443. width: 340rpx;
  1444. height: 40rpx;
  1445. font-size: 28rpx;
  1446. font-family: PingFangSC-Regular, PingFang SC;
  1447. font-weight: 400;
  1448. color: #333333;
  1449. line-height: 40rpx;
  1450. text-align: right;
  1451. overflow: hidden;
  1452. white-space: nowrap;
  1453. text-overflow: ellipsis;
  1454. }
  1455. }
  1456. .content-time {
  1457. font-size: 28rpx;
  1458. font-family: PingFangSC-Regular, PingFang SC;
  1459. font-weight: 400;
  1460. color: #333333;
  1461. line-height: 40rpx;
  1462. padding: 20rpx 0 24rpx;
  1463. border-bottom: 1px solid #E0E0E0;
  1464. }
  1465. .content-last {
  1466. display: flex;
  1467. justify-content: space-around;
  1468. .cont-item {
  1469. display: flex;
  1470. flex-direction: column;
  1471. align-items: center;
  1472. justify-content: center;
  1473. .count {
  1474. height: 42rpx;
  1475. font-size: 30rpx;
  1476. font-family: PingFangSC-Regular, PingFang SC;
  1477. font-weight: 400;
  1478. color: #000000;
  1479. line-height: 42rpx;
  1480. margin-bottom: 16rpx;
  1481. }
  1482. .text {
  1483. height: 32rpx;
  1484. font-size: 24rpx;
  1485. font-family: PingFangSC-Regular, PingFang SC;
  1486. font-weight: 400;
  1487. color: #666666;
  1488. line-height: 32rpx;
  1489. }
  1490. }
  1491. }
  1492. }
  1493. }
  1494. .tabactive2 {
  1495. .tab2-tips {
  1496. background: #fff;
  1497. // height: 270rpx;
  1498. overflow: auto;
  1499. margin-bottom: 20rpx;
  1500. .tab2-first {
  1501. // height: 150rpx;
  1502. border-bottom: 1px solid #E0E0E0;
  1503. padding: 0 30rpx;
  1504. margin-top: 19rpx;
  1505. box-sizing: border-box;
  1506. .tab2-first-1 {
  1507. display: flex;
  1508. justify-content: space-between;
  1509. // height: 75rpx;
  1510. .tab2-first-left {
  1511. display: flex;
  1512. .img {
  1513. width: 52rpx;
  1514. height: 52rpx;
  1515. background: #FFFFFF;
  1516. border: 1px solid #C9C9C9;
  1517. border-radius: 50%;
  1518. text-align: center;
  1519. line-height: 52rpx;
  1520. }
  1521. .name {
  1522. font-weight: 600;
  1523. color: #333333;
  1524. margin-left: 20rpx;
  1525. margin-top: 11rpx;
  1526. }
  1527. }
  1528. .tab2-first-right {
  1529. font-size: 30rpx;
  1530. font-weight: 400;
  1531. color: #666666;
  1532. margin-top: 11rpx;
  1533. }
  1534. }
  1535. .tab2-first-foot {
  1536. margin-top: 19rpx;
  1537. margin-bottom: 30rpx;
  1538. font-size: 30rpx;
  1539. font-weight: 400;
  1540. color: #666666;
  1541. line-height: 30rpx;
  1542. }
  1543. }
  1544. .tab2-sec {
  1545. height: 120rpx;
  1546. padding: 30rpx;
  1547. float: right;
  1548. .tab-sec-edit {
  1549. width: 156rpx;
  1550. height: 60rpx;
  1551. background: #FFFFFF;
  1552. border-radius: 4px;
  1553. border: 1px solid #2671E2;
  1554. text-align: center;
  1555. line-height: 60rpx;
  1556. font-weight: 400;
  1557. color: #2671E2;
  1558. }
  1559. }
  1560. }
  1561. }
  1562. }
  1563. .pon-foot {
  1564. position: sticky;
  1565. bottom: 0;
  1566. width: 750rpx;
  1567. height: 100rpx;
  1568. background: #FFFFFF;
  1569. box-shadow: 0px -2rpx 8rpx 0rpx rgba(224, 224, 224, 0.5);
  1570. display: flex;
  1571. justify-content: space-around;
  1572. align-items: center;
  1573. // padding-top: 24rpx;
  1574. box-sizing: border-box;
  1575. // padding: ;
  1576. .foot-tab {
  1577. text-align: center;
  1578. width: 270rpx;
  1579. height: 70rpx;
  1580. line-height: 70rpx;
  1581. background: #2671E2;
  1582. box-shadow: 0px -2rpx 8rpx 0px rgba(224, 224, 224, 0.5);
  1583. border-radius: 6rpx;
  1584. font-size: 30rpx;
  1585. font-weight: 400;
  1586. color: #FFFFFF;
  1587. }
  1588. }
  1589. .upon-sec-tips {
  1590. min-width: 96rpx;
  1591. height: 46rpx;
  1592. background: #F2F2F2;
  1593. border-radius: 6rpx;
  1594. text-align: center;
  1595. line-height: 46rpx;
  1596. // overflow: hidden;
  1597. // text-overflow: ellipsis;
  1598. // white-space: nowrap;
  1599. font-size: 26rpx;
  1600. font-weight: 400;
  1601. color: #333333;
  1602. margin: 0 20rpx 20rpx 0;
  1603. padding: 0 10rpx;
  1604. box-sizing: border-box;
  1605. }
  1606. .conmsg-msg-lab-img {
  1607. width: 14rpx;
  1608. height: 30rpx;
  1609. margin-top: 6rpx;
  1610. margin-left: auto;
  1611. image {
  1612. width: 100%;
  1613. height: 100%;
  1614. }
  1615. }
  1616. .intentionRateList-title {
  1617. position: relative;
  1618. height: 90rpx;
  1619. background: #fff;
  1620. display: flex;
  1621. align-items: center;
  1622. justify-content: center;
  1623. .close {
  1624. position: absolute;
  1625. right: 10rpx;
  1626. top: 50%;
  1627. transform: translateY(-50%);
  1628. width: 45rpx;
  1629. height: 45rpx;
  1630. text-align: center;
  1631. }
  1632. }
  1633. .intentionRateList {
  1634. padding: 0 20rpx;
  1635. width: 100%;
  1636. display: flex;
  1637. flex-direction: column;
  1638. .first-title {
  1639. width: 100%;
  1640. height: 90rpx;
  1641. display: flex;
  1642. align-items: center;
  1643. }
  1644. .second {
  1645. width: 100%;
  1646. display: flex;
  1647. flex-wrap: wrap;
  1648. .second-item {
  1649. margin: 0 20rpx 25rpx 0;
  1650. padding: 0 10rpx;
  1651. height: 60rpx;
  1652. border: 1px solid #E0E0E0;
  1653. border-radius: 12rpx;
  1654. display: flex;
  1655. align-items: center;
  1656. justify-content: center;
  1657. }
  1658. }
  1659. }
  1660. </style>