AI销管
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

1618 行
42 KiB

  1. <template>
  2. <view class="box">
  3. <view class="top-search">
  4. <view class="search-box">
  5. <view class="search" @click="goSearch">
  6. <view class="search-img">
  7. <image class="search-img1" src="../../../static/images/search.png" mode=""></image>
  8. </view>
  9. <view class="search-text">输入客户姓名/手机号</view>
  10. </view>
  11. </view>
  12. <template v-if="showFilterOption">
  13. <image @click="screenShow = true" class="filter-icon" src="@/static/images/iconFilter.png" mode="">
  14. </image>
  15. </template>
  16. <template v-else>
  17. <image class="filter-icon" @click="screenShow = true"
  18. src="https://static.quhouse.com/f4feade4a19d413085b591612179457f.png" mode="" />
  19. </template>
  20. </view>
  21. <!-- 选择器 -->
  22. <view class="boxtittab">
  23. <view class="tabbox" :class="{activeColor: sortFilter!=='排序'}" @click="soltishow = true">
  24. {{ sortFilter }}
  25. <u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
  26. </view>
  27. <view class="tabbox" :class="{activeColor: arriveFilter!=='接待时间'}" @click="timeshow = true">
  28. {{ arriveFilter }}
  29. <u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
  30. </view>
  31. <view class="tabbox" :class="{activeColor: agentIdtext!=='接待顾问'}" @click="selectshow=true">
  32. {{ agentIdtext }}
  33. <u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
  34. </view>
  35. <view class="tabbox" :class="{activeColor: tagSign}" @click="huaxiangShow = true">
  36. 画像标签<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
  37. </view>
  38. </view>
  39. <!-- 筛选后的数量 -->
  40. <view class="count" v-if="recordList.length > 0">
  41. 筛选结果:<text>{{totalRecords}} </text>条
  42. </view>
  43. <view class="content">
  44. <view v-if="recordList.length==0" style="width: 100%;height: 100%;display: flex;align-items: center;">
  45. <view style="width: 100%;height: 100%;padding-top: 200rpx;">
  46. <view style="width: 100%;text-align: center;">
  47. <image style="width: 220rpx;height: 200rpx;"
  48. src="https://static.quhouse.com/zhikong_xcx_img/nodatalist.png" mode=""></image>
  49. </view>
  50. <view style="text-align: center;width: 100%;margin-top: 20rpx;color: #999999;">暂无数据</view>
  51. </view>
  52. </view>
  53. <view v-if="recordList.length" class="content-tips" v-for="(item,index) in recordList" :key='index'
  54. @click="gotoDetail(item.id)">
  55. <view class="content-first">
  56. <view class="left">
  57. <view class="test">{{item.name}}</view>
  58. <view v-if="item.level.length == 0"></view>
  59. <view class="img A" v-else-if="item.level == 1">A</view>
  60. <view class="img B" v-else-if="item.level == 2">B</view>
  61. <view class="img C" v-else-if="item.level == 3">C</view>
  62. <view class="img D" v-else-if="item.level == 4">D</view>
  63. <view v-if="item.clientStageName" class="clientStageName">{{ item.clientStageName }}</view>
  64. </view>
  65. <view class="right">
  66. <image class="right-img" src="../../../static/images/arrow-right.png" mode=""></image>
  67. </view>
  68. </view>
  69. <view class="content-sec">
  70. <view class="content-sec-lab">
  71. <view class="content-sec-lab1">手机号码:{{ item.phone || "--" }}</view>
  72. <view class="content-sec-lab1" style="width: 44%">到访次数:{{ item.visitRecord || 0 }}次/{{
  73. item.mm || 0
  74. }}min</view>
  75. </view>
  76. <view class="content-sec-lab">
  77. <view class="content-sec-lab1">
  78. 挖掘执行/成功:{{ max100(item.wordFraction) }}%/{{ max100(item.wordFinishFraction) }}%</view>
  79. <view class="content-sec-lab1" style="width: 44%">
  80. 客户意向率:{{ `${item.levelFraction||'0'}%` }}
  81. </view>
  82. </view>
  83. <view class="content-sec-lab">
  84. <view class="content-sec-lab1">所属顾问:{{ item.agentName || "--" }}</view>
  85. <view class="content-sec-lab1" style="width: 44%">客户阶段:{{ item.stageName || "--" }}</view>
  86. </view>
  87. <view class="content-sec-lab">
  88. <view class="content-sec-lab1">上次到访:{{ item.createTime || "--" }}</view>
  89. </view>
  90. </view>
  91. <view class="content-last">
  92. <template v-if="permissions.commonly2">
  93. <view class="content-last-tab" @click.stop="gotoFollowUp(item)">
  94. <image src="/static/images/genjin-icon.png" mode="" />
  95. 写跟进
  96. </view>
  97. </template>
  98. <template v-if="CHECKAUTHORITY('khgl_bj')">
  99. <view class="content-last-tab" @click.stop="goedit(item)">
  100. <image class="icon" src="https://static.quhouse.com/5daebdec0aad4f63a62d3720437034bc.png"
  101. mode="" />
  102. 打标签
  103. </view>
  104. </template>
  105. </view>
  106. </view>
  107. </view>
  108. <!-- 更多筛选 -->
  109. <u-popup v-model="screenShow" mode="top" height="900">
  110. <view class="screen">
  111. <scroll-view scroll-y="true" style="height: 750rpx;">
  112. <!-- 销讲业务 -->
  113. <view class="screen-record">
  114. <view class="screen-record-text" @click="showTemplate=!showTemplate">
  115. 销讲业务
  116. <image v-if="showTemplate" class="arrow"
  117. src="https://static.quhouse.com/6cf38a2b82694392a7ab6eea24ce76b1.png" mode="" />
  118. <image v-else class="arrow"
  119. src="https://static.quhouse.com/17d69984ec7c4830b43f712016f06807.png" mode="" />
  120. </view>
  121. <view class="screen-record-tab" v-if="showTemplate">
  122. <block v-for="(item,index) in templateList" :key="index">
  123. <view class="screen-record-item"
  124. :class="[item.isShow?'screen-record-chose':'screen-record-nochose']"
  125. @click="choice(item)">
  126. {{item.templateName}}
  127. </view>
  128. </block>
  129. </view>
  130. </view>
  131. <!-- 接待时长 -->
  132. <view class="screen-record">
  133. <view class="screen-record-text" @click="jiedaiArrow = !jiedaiArrow">
  134. 接待时长
  135. <image v-if="jiedaiArrow" class="arrow"
  136. src="https://static.quhouse.com/6cf38a2b82694392a7ab6eea24ce76b1.png" mode="" />
  137. <image v-else class="arrow"
  138. src="https://static.quhouse.com/17d69984ec7c4830b43f712016f06807.png" mode="" />
  139. </view>
  140. <view class="screen-record-tab" v-if="jiedaiArrow">
  141. <block v-for="(item, index) in jiedaiList" :key="index">
  142. <view class="screen-record-item" :class="[
  143. item.isShow ? 'screen-record-chose' : 'screen-record-nochose',
  144. ]" @click="choice(item)">
  145. {{ item.label }}
  146. </view>
  147. </block>
  148. </view>
  149. </view>
  150. <!-- 客户等级 -->
  151. <view class="screen-record">
  152. <view class="screen-record-text" @click="levelArrow = !levelArrow">
  153. 意向等级
  154. <image v-if="levelArrow" class="arrow"
  155. src="https://static.quhouse.com/6cf38a2b82694392a7ab6eea24ce76b1.png" mode="" />
  156. <image v-else class="arrow"
  157. src="https://static.quhouse.com/17d69984ec7c4830b43f712016f06807.png" mode="" />
  158. </view>
  159. <view class="screen-record-tab" v-if="levelArrow">
  160. <block v-for="(item, index) in levelList" :key="index">
  161. <view class="screen-record-item" :class="[
  162. item.isShow ? 'screen-record-chose' : 'screen-record-nochose',
  163. ]" @click="choice(item)">
  164. {{ item.label }}
  165. </view>
  166. </block>
  167. </view>
  168. </view>
  169. <!-- 客户来源 -->
  170. <view class="screen-record">
  171. <view class="screen-record-text" @click="sourceArrow = !sourceArrow">
  172. 客户来源
  173. <image v-if="sourceArrow" class="arrow"
  174. src="https://static.quhouse.com/6cf38a2b82694392a7ab6eea24ce76b1.png" mode="" />
  175. <image v-else class="arrow"
  176. src="https://static.quhouse.com/17d69984ec7c4830b43f712016f06807.png" mode="" />
  177. </view>
  178. <view class="screen-record-tab" v-if="sourceArrow">
  179. <block v-for="(item, index) in sourceList" :key="index">
  180. <view class="screen-record-item" :class="[
  181. item.isShow ? 'screen-record-chose' : 'screen-record-nochose',
  182. ]" @click="choice(item)">
  183. {{ item.label }}
  184. </view>
  185. </block>
  186. </view>
  187. </view>
  188. <!-- 客户阶段 -->
  189. <view class="screen-record">
  190. <view class="screen-record-text" @click="jieduanArrow = !jieduanArrow">
  191. 客户阶段
  192. <image v-if="jieduanArrow" class="arrow"
  193. src="https://static.quhouse.com/6cf38a2b82694392a7ab6eea24ce76b1.png" mode="" />
  194. <image v-else class="arrow"
  195. src="https://static.quhouse.com/17d69984ec7c4830b43f712016f06807.png" mode="" />
  196. </view>
  197. <view class="screen-record-tab" v-if="jieduanArrow">
  198. <block v-for="(item, index) in phaseList" :key="index">
  199. <view class="screen-record-item" :class="[
  200. item.isShow ? 'screen-record-chose' : 'screen-record-nochose',
  201. ]" @click="choice(item)">
  202. {{ item.label }}
  203. </view>
  204. </block>
  205. </view>
  206. </view>
  207. <!-- 需求挖掘率 -->
  208. <view class="screen-record">
  209. <view class="screen-record-text" @click="wajueArrow = !wajueArrow">
  210. 挖掘执行率
  211. <image v-if="wajueArrow" class="arrow"
  212. src="https://static.quhouse.com/6cf38a2b82694392a7ab6eea24ce76b1.png" mode="" />
  213. <image v-else class="arrow"
  214. src="https://static.quhouse.com/17d69984ec7c4830b43f712016f06807.png" mode="" />
  215. </view>
  216. <view class="screen-record-tab" v-if="wajueArrow">
  217. <block v-for="(item, index) in wajueList" :key="index">
  218. <view class="screen-record-item" :class="[
  219. item.isShow ? 'screen-record-chose' : 'screen-record-nochose',
  220. ]" @click="choice(item)">
  221. {{ item.label }}
  222. </view>
  223. </block>
  224. </view>
  225. </view>
  226. <!-- 需求挖掘率 -->
  227. <view class="screen-record">
  228. <view class="screen-record-text" @click="wajueArrows=!wajueArrows">
  229. 挖掘成功率
  230. <image v-if="wajueArrows" class="arrow"
  231. src="https://static.quhouse.com/6cf38a2b82694392a7ab6eea24ce76b1.png" mode="" />
  232. <image v-else class="arrow"
  233. src="https://static.quhouse.com/17d69984ec7c4830b43f712016f06807.png" mode="" />
  234. </view>
  235. <view class="screen-record-tab" v-if="wajueArrows">
  236. <block v-for="(item,index) in wajueLists" :key="index">
  237. <view class="screen-record-item"
  238. :class="[item.isShow?'screen-record-chose':'screen-record-nochose']"
  239. @click="choice(item)">
  240. {{item.label}}
  241. </view>
  242. </block>
  243. </view>
  244. </view>
  245. <!-- 销讲执行率 -->
  246. <view class="screen-record">
  247. <view class="screen-record-text" @click="xiaojiangArrow = !xiaojiangArrow">
  248. 销讲执行率
  249. <image v-if="xiaojiangArrow" class="arrow"
  250. src="https://static.quhouse.com/6cf38a2b82694392a7ab6eea24ce76b1.png" mode="" />
  251. <image v-else class="arrow"
  252. src="https://static.quhouse.com/17d69984ec7c4830b43f712016f06807.png" mode="" />
  253. </view>
  254. <view class="screen-record-tab" v-if="xiaojiangArrow">
  255. <block v-for="(item, index) in xiaojiangList" :key="index">
  256. <view class="screen-record-item" :class="[
  257. item.isShow ? 'screen-record-chose' : 'screen-record-nochose',
  258. ]" @click="choice(item)">
  259. {{ item.label }}
  260. </view>
  261. </block>
  262. </view>
  263. </view>
  264. <!-- 到访次数 -->
  265. <view class="screen-record">
  266. <view class="screen-record-text" @click="visitArrow = !visitArrow">
  267. 到访次数
  268. <image v-if="visitArrow" class="arrow"
  269. src="https://static.quhouse.com/6cf38a2b82694392a7ab6eea24ce76b1.png" mode="" />
  270. <image v-else class="arrow"
  271. src="https://static.quhouse.com/17d69984ec7c4830b43f712016f06807.png" mode="" />
  272. </view>
  273. <view class="screen-record-tab" v-if="visitArrow">
  274. <block v-for="(item, index) in visitList" :key="index">
  275. <view class="screen-record-item" :class="[
  276. item.isShow ? 'screen-record-chose' : 'screen-record-nochose',
  277. ]" @click="choice(item)">
  278. {{ item.label }}
  279. </view>
  280. </block>
  281. </view>
  282. </view>
  283. </scroll-view>
  284. <view class="screen-foot">
  285. <view class="screen-foot-reset" @click="reset"> 重置 </view>
  286. <view class="screen-foot-sure" @click="screensure"> 确定 </view>
  287. </view>
  288. </view>
  289. </u-popup>
  290. <!-- 选择顾问的选择框 -->
  291. <u-select v-model="selectshow" :list="freeList" @confirm="actionSelectCallback"></u-select>
  292. <!-- 自定义时间 -->
  293. <u-calendar v-model="totalTimeShow" mode="range" @change="totalTimeChange"></u-calendar>
  294. <!-- 选择接待时间 -->
  295. <u-popup v-model="timeshow" mode="bottom">
  296. <view class="timeview" :style="{ color: activeTotal == 5 ? '#2B6EFF' : '#333333' }"
  297. @click="tabtimetap(5, '接待时间')">
  298. 全部</view>
  299. <view class="timeview" :style="{ color: activeTotal == 0 ? '#2B6EFF' : '#333333' }"
  300. @click="tabtimetap(0, '今天')">
  301. 今天</view>
  302. <view class="timeview" :style="{ color: activeTotal == 1 ? '#2B6EFF' : '#333333' }"
  303. @click="tabtimetap(1, '昨天')">
  304. 昨天</view>
  305. <view class="timeview" :style="{ color: activeTotal == 2 ? '#2B6EFF' : '#333333' }"
  306. @click="tabtimetap(2, '近7天')">
  307. 近7天</view>
  308. <view class="timeview" :style="{ color: activeTotal == 3 ? '#2B6EFF' : '#333333' }"
  309. @click="tabtimetap(3, '近30天')">
  310. 近30天</view>
  311. <view class="timeview" :style="{ color: activeTotal == 4 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(4)">
  312. 自定义</view>
  313. </u-popup>
  314. <!-- 排序 -->
  315. <u-popup v-model="soltishow" mode="bottom">
  316. <view class="soltishow" @tap.stop @touchmove.stop>
  317. <block v-for="(item, index) in orderBylist" :key="index">
  318. <view class="soltishow-item" :style="orderBy==item.value?'color: #2B6EFF':''"
  319. @click="selectCallback2(item)">
  320. {{ item.label }}
  321. </view>
  322. </block>
  323. </view>
  324. </u-popup>
  325. <!-- 画像标签 -->
  326. <u-popup v-model="huaxiangShow" mode="top" height="850">
  327. <view class="screen">
  328. <scroll-view scroll-y="true" style="height: 700rpx;">
  329. <view class="screen-record" v-if="item.children.length" v-for="(item,index) in huaxiangList"
  330. :key="index">
  331. <view class="screen-record-text" @click="choice(item)">
  332. {{item.name}}
  333. <image v-if="item.isShow" class="arrow"
  334. src="https://static.quhouse.com/6cf38a2b82694392a7ab6eea24ce76b1.png" mode="" />
  335. <image v-else class="arrow"
  336. src="https://static.quhouse.com/17d69984ec7c4830b43f712016f06807.png" mode="" />
  337. </view>
  338. <view class="screen-record-tab" v-if="item.isShow">
  339. <block v-for="(subitem, ind) in item.children" :key="ind">
  340. <view class="screen-record-item" :class="[
  341. subitem.isShow ? 'screen-record-chose' : 'screen-record-nochose',
  342. ]" @click="choice(subitem)">
  343. {{ subitem.name }}
  344. </view>
  345. </block>
  346. </view>
  347. </view>
  348. </scroll-view>
  349. <view class="screen-foot">
  350. <view class="screen-foot-reset" @click="resetHuaXiang"> 重置 </view>
  351. <view class="screen-foot-sure" @click="screensure"> 确定 </view>
  352. </view>
  353. </view>
  354. </u-popup>
  355. <!-- 加载组件 -->
  356. <u-loadings v-model="LOADING"></u-loadings>
  357. </view>
  358. </template>
  359. <script>
  360. var config = require("@/config");
  361. let _this
  362. export default {
  363. data() {
  364. return {
  365. keywordsIds: [], // 画像标签
  366. sourceList: [], //客户来源
  367. templateList: [], // 销讲业务
  368. showTemplate: true, // 展示销讲业务
  369. agentIdtext: '接待顾问',
  370. phaseList: [], // 客户阶段
  371. huaxiangShow: false,
  372. wajueArrow: true,
  373. wajueArrows: true,
  374. jieduanArrow: true,
  375. sourceArrow: true,
  376. levelArrow: true,
  377. zixunArrow: true,
  378. jiedaiArrow: true,
  379. luyinArrow: true,
  380. visitArrow: true,
  381. xiaojiangArrow: true,
  382. huaxiangList: [],
  383. orderBylist: [{
  384. label: '创建时间倒序',
  385. value: '1'
  386. },
  387. {
  388. label: '创建时间正序',
  389. value: '2'
  390. },
  391. {
  392. label: '接待时间倒序',
  393. value: '3'
  394. },
  395. {
  396. label: '接待时间正序',
  397. value: '4'
  398. },
  399. {
  400. label: '执行率正序',
  401. value: '5'
  402. },
  403. {
  404. label: '执行率倒序',
  405. value: '6'
  406. },
  407. {
  408. label: '接访次数正序',
  409. value: '7'
  410. },
  411. {
  412. label: '接访次数倒序',
  413. value: '8'
  414. },
  415. ],
  416. jiedaiList: [{
  417. label: "0~15min",
  418. value: 1,
  419. isShow: false,
  420. },
  421. {
  422. label: "16~30min",
  423. value: 2,
  424. isShow: false,
  425. },
  426. {
  427. label: "31~60min",
  428. value: 3,
  429. isShow: false,
  430. },
  431. {
  432. label: "61~90min",
  433. value: 4,
  434. isShow: false,
  435. },
  436. {
  437. label: "91min及以上",
  438. value: 5,
  439. isShow: false,
  440. },
  441. ],
  442. wajueList: [{
  443. label: "31%及以下",
  444. value: 1,
  445. isShow: false,
  446. },
  447. {
  448. label: "31%~50%",
  449. value: 2,
  450. isShow: false,
  451. },
  452. {
  453. label: "51%~70%",
  454. value: 3,
  455. isShow: false,
  456. },
  457. {
  458. label: "71%及以上",
  459. value: 4,
  460. isShow: false,
  461. },
  462. ],
  463. wajueLists: [{
  464. label: '30%及以下',
  465. value: 1,
  466. isShow: false,
  467. }, {
  468. label: '31%~50%',
  469. value: 2,
  470. isShow: false,
  471. }, {
  472. label: '51%~70%',
  473. value: 3,
  474. isShow: false,
  475. }, {
  476. label: '71%及以上',
  477. value: 4,
  478. isShow: false,
  479. }],
  480. xiaojiangList: [{
  481. label: "30%及以下",
  482. value: 1,
  483. isShow: false,
  484. },
  485. {
  486. label: "31%~50%",
  487. value: 2,
  488. isShow: false,
  489. },
  490. {
  491. label: "51%~70%",
  492. value: 3,
  493. isShow: false,
  494. },
  495. {
  496. label: "71%及以上",
  497. value: 4,
  498. isShow: false,
  499. },
  500. ],
  501. value: '',
  502. screenShow: false,
  503. selectshow: false,
  504. selectTipshow: false,
  505. buildingID: '',
  506. screen: {
  507. staTime: "",
  508. endTime: "",
  509. orderBy: "", // 排序
  510. agentId: "", //顾问
  511. sourceIds: [], // 客户来源
  512. level: [], // 客户等级
  513. visitRecord: [], // 到访次数
  514. wajueVal: [], // 需求挖掘
  515. xiaojiangVal: [], //销讲执行率
  516. jiedaiVal: [], // 接待时长
  517. validInvalid: null, // 录音标识
  518. clientStage: [], // 客户阶段 clientStage
  519. },
  520. stageList: ['未知', '到访', '意向', '定金', '成交'],
  521. recordList: [],
  522. nextPage: 1,
  523. totalRecord: '',
  524. totalRecords: '', // 总条数
  525. freeList: [],
  526. userInfo: {},
  527. isnorefresh: '',
  528. activeTotal: 5,
  529. activeTotal2: 0,
  530. totalTimeShow: false,
  531. timeshow: false,
  532. soltishow: false,
  533. permissions: {
  534. commonly1: false,
  535. commonly2: false
  536. },
  537. list: [], // 客户来源列表
  538. sourceId: '', // 选中的客户来源id
  539. // 不同等级之间的颜色
  540. colorName: [
  541. '', "A", "B", "C", "D"
  542. ],
  543. // 筛选文字展示
  544. sortFilter: '排序',
  545. arriveFilter: '接待时间',
  546. visitList: [{
  547. label: '首次到访',
  548. value: 1,
  549. isShow: false,
  550. }, {
  551. label: '2次到访',
  552. value: 2,
  553. isShow: false,
  554. }, {
  555. label: '3次到访',
  556. value: 3,
  557. isShow: false,
  558. }, {
  559. label: '3次以上',
  560. value: 4,
  561. isShow: false,
  562. }, ],
  563. levelList: [{
  564. label: 'A',
  565. value: 1,
  566. isShow: false,
  567. }, {
  568. label: 'B',
  569. value: 2,
  570. isShow: false,
  571. }, {
  572. label: 'C',
  573. value: 3,
  574. isShow: false,
  575. }, {
  576. label: 'D',
  577. value: 4,
  578. isShow: false,
  579. }, ],
  580. isRefresh: false,
  581. showFilterOption: false, // 筛选
  582. tagSign: false, // 画像标签active
  583. }
  584. },
  585. // computed: {
  586. // showFilterOption() {
  587. // return this.sortFilter !== '排序' || this.arriveFilter !== '接待时间' || this.agentIdtext !== '接待顾问'
  588. // }
  589. // },
  590. onLoad(options) {
  591. this.LOADING = true
  592. this.userInfo = uni.getStorageSync("weapp_session_userInfo_data")
  593. let newmenulist = uni.getStorageSync('weapp_session_Menu_data');
  594. this.permissions.commonly1 = newmenulist.khgl_ck;
  595. this.permissions.commonly2 = newmenulist.khgl_gj;
  596. _this = this
  597. },
  598. onPullDownRefresh() {
  599. this.buildingID = uni.getStorageSync('buildingID').id;
  600. this.LOADING = true
  601. this.nextPage = 1;
  602. this.isRefresh = true;
  603. this.resetFilter()
  604. this.reset()
  605. this.getFreeList()
  606. this.getFromSource();
  607. this.getMyCustom();
  608. setTimeout(() => {
  609. uni.stopPullDownRefresh()
  610. }, 2000)
  611. },
  612. onShow() {
  613. this.buildingID = uni.getStorageSync('buildingID').id;
  614. this.updatebuildingID = uni.getStorageSync('updatebuildingID')
  615. if (this.isnorefresh != 'refresh' || this.updatebuildingID == 'updatebuildingID') {
  616. this.nextPage = 1;
  617. this.recordList = []
  618. this.getMyCustom()
  619. this.getFreeList()
  620. this.getWordMiningList();
  621. this.getCustomPhase();
  622. this.getFromSource();
  623. this.getMarketingBusiness(); // 销讲业务
  624. this.isRefresh = false;
  625. this.isnorefresh = 'refresh';
  626. uni.setStorageSync('updatebuildingID', '');
  627. }
  628. this.updateInit()
  629. },
  630. onReachBottom() {
  631. if (this.totalRecord == this.nextPage) {
  632. uni.showToast({
  633. icon: 'none',
  634. title: '到底了',
  635. duration: 2000
  636. });
  637. return
  638. } else {
  639. this.isRefresh = false;
  640. this.nextPage = this.nextPage + 1;
  641. this.getMyCustom();
  642. }
  643. },
  644. methods: {
  645. // 跳转编辑
  646. goedit(data) {
  647. uni.navigateTo({
  648. url: `/pages/center/consumer/edit?id=${data.id}&projectId=${data.projectId}`
  649. })
  650. },
  651. // 获取客户阶段数据
  652. getCustomPhase() {
  653. this.phaseList = [];
  654. this.$u
  655. .post("/customer/lifeTrackDefineList", {
  656. houseId: this.buildingID,
  657. })
  658. .then((res) => {
  659. if (res.length) {
  660. this.phaseList = res.map(item => {
  661. return {
  662. label: item.stageName,
  663. value: item.id,
  664. isShow: false
  665. }
  666. })
  667. } else {
  668. this.phaseList = []
  669. }
  670. });
  671. },
  672. // 获取客户来源
  673. getFromSource() {
  674. this.$u.get(config.service.sourceList, {
  675. houseId: this.buildingID
  676. })
  677. .then((res) => {
  678. if (res.length) {
  679. this.sourceList = res.map((item) => {
  680. return {
  681. label: item.sourceName,
  682. value: item.id,
  683. isShow: false
  684. }
  685. })
  686. } else {
  687. this.sourceList = []
  688. }
  689. })
  690. },
  691. max100(num) {
  692. if (num > 100) {
  693. return 100
  694. } else if (!num) {
  695. return 0;
  696. } else {
  697. return num;
  698. }
  699. },
  700. // 获取销讲业务
  701. getMarketingBusiness() {
  702. this.$u.get('/customer/marketingBusiness', {
  703. houseId: this.buildingID,
  704. }).then(res => {
  705. this.templateList = res.map(item => {
  706. return {
  707. ...item,
  708. isShow: false,
  709. }
  710. })
  711. })
  712. },
  713. updateInit() {
  714. this.$u.get(config.service.notReadNum, {
  715. id: uni.getStorageSync('weapp_session_userInfo_data').accountId,
  716. projectId: uni.getStorageSync('buildingID').id
  717. }).then(res => {
  718. console.log(res)
  719. if (res > 0) {
  720. uni.setTabBarBadge({ //显示数字
  721. index: 4, //tabbar下标
  722. text: `${res}` //数字
  723. })
  724. } else {
  725. uni.removeTabBarBadge({
  726. index: 4
  727. })
  728. }
  729. }).catch(e => {
  730. uni.removeTabBarBadge({
  731. index: 4
  732. })
  733. })
  734. },
  735. filterFun() {
  736. },
  737. // 过滤
  738. resetFilter() {
  739. this.sortFilter = '排序';
  740. this.agentIdtext = '接待顾问';
  741. this.screen.orderBy = null;
  742. this.arriveFilter = '接待时间';
  743. this.screen.staTime = '';
  744. this.screen.endTime = '';
  745. this.nextPage = 1;
  746. this.activeTotal = 5;
  747. this.recordList = [];
  748. this.activeTotal2 = 0;
  749. },
  750. //选择排序
  751. selectCallback2(e) {
  752. this.sortFilter = e.label;
  753. this.screen.orderBy = e.value;
  754. this.nextPage = 1;
  755. this.recordList = [];
  756. this.soltishow = false;
  757. this.isRefresh = false;
  758. this.getMyCustom();
  759. },
  760. //时间选择
  761. tabtimetap(index, text) {
  762. this.timeshow = false;
  763. if (text) this.arriveFilter = text
  764. if (index == 4) {
  765. this.totalTimeShow = true;
  766. } else {
  767. this.activeTotal = index;
  768. this.screen.staTime = '';
  769. this.screen.endTime = '';
  770. this.nextPage = 1;
  771. this.isRefresh = false;
  772. this.recordList = [];
  773. this.getMyCustom();
  774. }
  775. },
  776. //自定义时间
  777. totalTimeChange(e) {
  778. this.screen.staTime = e.startDate;
  779. this.screen.endTime = e.endDate;
  780. this.activeTotal = 4;
  781. this.nextPage = 1;
  782. this.recordList = [];
  783. this.isRefresh = false;
  784. this.arriveFilter = this.screen.staTime + '-' + this.screen.endTime
  785. this.getMyCustom();
  786. },
  787. choice(item) {
  788. item.isShow = !item.isShow;
  789. },
  790. // 客户详情
  791. gotoDetail(id) {
  792. if (this.permissions.commonly1 == true) {
  793. uni.navigateTo({
  794. url: `/pages/center/consumer/consumerDetail?id=${id}`
  795. })
  796. }
  797. },
  798. getMyCustom() {
  799. this.screen.visitRecord = []
  800. this.screen.jiedaiVal = []
  801. this.screen.wajueVal = []
  802. this.screen.xiaojiangVal = []
  803. this.screen.level = []
  804. this.screen.clientStage = []
  805. this.screen.sourceIds = []
  806. let dateType = 0;
  807. if (this.activeTotal == 5 || this.activeTotal == 4) {
  808. dateType = null;
  809. } else {
  810. dateType = this.activeTotal;
  811. }
  812. // 到访次数
  813. this.visitList.forEach(i => {
  814. if (i.isShow) this.screen.visitRecord.push(i.value)
  815. })
  816. // 接待时长
  817. this.jiedaiList.forEach(i => {
  818. if (i.isShow) this.screen.jiedaiVal.push(i.value)
  819. })
  820. // 需求挖掘
  821. this.wajueList.forEach(i => {
  822. if (i.isShow) this.screen.wajueVal.push(i.value)
  823. })
  824. // 需求挖掘成功
  825. this.wajueLists.forEach(i => {
  826. if (i.isShow) this.screen.wajueVals.push(i.value)
  827. })
  828. // 销讲执行率
  829. this.xiaojiangList.forEach(i => {
  830. if (i.isShow) this.screen.xiaojiangVal.push(i.value)
  831. })
  832. // 客户等级
  833. this.levelList.forEach(i => {
  834. if (i.isShow) this.screen.level.push(i.value)
  835. })
  836. //客户阶段
  837. this.phaseList.forEach(i => {
  838. if (i.isShow) this.screen.clientStage.push(i.value)
  839. })
  840. // 客户来源
  841. this.sourceList.forEach(i => {
  842. if (i.isShow) this.screen.sourceIds.push(i.value)
  843. })
  844. var parames = {
  845. pageNum: this.nextPage,
  846. pageSize: 10,
  847. query: {
  848. projectId: this.buildingID,
  849. fractions: this.screen.xiaojiangVal.length ? this.screen.xiaojiangVal.join(',') : '', // 销讲执行率
  850. wordFractions: this.screen.wajueVal.length ? this.screen.wajueVal.join(',') : '', //需求挖掘
  851. visitRecordNum: this.screen.visitRecord.length ? this.screen.visitRecord.join(',') : '', //到访次数
  852. clientStages: this.screen.clientStage.length ? this.screen.clientStage.join(',') : '', // 客户阶段
  853. sourceIds: this.screen.sourceIds.length ? this.screen.sourceIds.join(',') : '', // 客户来源
  854. level: this.screen.level.length ? this.screen.level.join(',') : '', // 客户等级
  855. duractionNums: this.screen.jiedaiVal.length ? this.screen.jiedaiVal.join(',') : '', // 接待时长
  856. keywordsIds: this.keywordsIds.length ? this.keywordsIds.join(',') : '', // 画像标签
  857. dateType: dateType, // 接待时间
  858. staTime: this.screen.staTime,
  859. endTime: this.screen.endTime,
  860. agentId: this.screen.agentId, // 顾问
  861. orderBy: this.screen.orderBy == '' ? '' : this.screen.orderBy, // 排序
  862. },
  863. };
  864. let ars = []
  865. this.templateList.forEach(item => {
  866. if (item.isShow) {
  867. ars.push(item.id)
  868. }
  869. })
  870. parames.query.marketingBusiness = ars.join(',')
  871. this.$u.post("/customer/customerManagement", parames)
  872. .then((data) => {
  873. this.LOADING = false;
  874. var list = data.records || [];
  875. list.forEach((item) => {
  876. if (this.userInfo.dataCode == 6) {
  877. item.isshow = true;
  878. } else {
  879. item.isshow = false;
  880. }
  881. });
  882. if (this.isRefresh) {
  883. this.recordList = list;
  884. } else {
  885. this.recordList = [...this.recordList, ...list];
  886. }
  887. this.totalRecord = data.pages;
  888. this.totalRecords = data.total;
  889. })
  890. .catch((e) => {
  891. this.LOADING = false;
  892. });
  893. },
  894. getMyCustom1() {
  895. let dateType = 0;
  896. let recDurationInterval = 0;
  897. let orderBy = 0;
  898. if (this.activeTotal == 5) {
  899. dateType = null;
  900. } else if (this.activeTotal == 4) {
  901. dateType = null;
  902. } else {
  903. dateType = this.activeTotal;
  904. }
  905. if (this.activeTotal2 == 0) {
  906. recDurationInterval = null
  907. } else {
  908. recDurationInterval = this.activeTotal2
  909. }
  910. if (this.orderBy == 0) {
  911. orderBy = null;
  912. } else {
  913. orderBy = this.orderBy;
  914. }
  915. var parames = {
  916. pageNum: this.nextPage,
  917. pageSize: 10,
  918. query: {
  919. projectId: this.buildingID,
  920. keywordsId: this.screen.cunsumerTipsid,
  921. agentId: this.screen.agentId,
  922. dateType: dateType,
  923. staDate: this.screen.staTime,
  924. endDate: this.screen.endTime,
  925. recDurationInterval: recDurationInterval,
  926. orderBy: orderBy,
  927. sourceId: this.sourceId
  928. }
  929. };
  930. if (this.screen.visitRecord.length > 0) {
  931. parames.query.visitRecords = this.screen.visitRecord.join(',');
  932. }
  933. if (this.screen.record.length > 0) {
  934. parames.query.level = this.screen.record.join(',');
  935. }
  936. this.$u.post("/customer/customerManagement", parames).then(data => {
  937. this.LOADING = false
  938. var list = data.results || [];
  939. list.forEach(item => {
  940. if (item.demand.cusSemanticWordsList != null) {
  941. item.demand.cusSemanticWordsList.forEach(che => {
  942. if (che.isInterval == 0) {
  943. che.name = che.name + che.unit + '-' + che.endName + che.unit;
  944. }
  945. })
  946. }
  947. })
  948. if (this.isRefresh) {
  949. this.recordList = list;
  950. } else {
  951. console.log('我在这里被打印了', this.recordList)
  952. this.recordList = [...this.recordList, ...list];
  953. }
  954. this.totalRecord = data.totalPage;
  955. this.totalRecords = data.totalRecord;
  956. }).catch(e => {
  957. this.LOADING = false
  958. })
  959. },
  960. //获取顾问列表
  961. getFreeList() {
  962. this.$u.post("/cusLvStatistics/selectAllAccountIdByHouseId", {
  963. houseId: this.buildingID
  964. }).then(res => {
  965. res.forEach(item => {
  966. item.label = item.name;
  967. item.value = item.accountId
  968. })
  969. res.unshift({
  970. label: '全部',
  971. value: ''
  972. })
  973. this.freeList = res
  974. console.log(this.freeList)
  975. })
  976. },
  977. //获取画像标签
  978. getWordMiningList() {
  979. this.huaxiangList = [];
  980. this.$u.get("/corpus/findSelectedWordMiningTemplate", {
  981. houseId: this.buildingID,
  982. selected: 1
  983. })
  984. .then((res) => {
  985. // console.log(res)
  986. if (res.length) {
  987. res.forEach(item => {
  988. item.isShow = true;
  989. if (item.children.length) {
  990. item.children.forEach(subitem => {
  991. subitem.isShow = false;
  992. })
  993. }
  994. })
  995. }
  996. this.huaxiangList = res;
  997. });
  998. },
  999. //选择顾问
  1000. actionSelectCallback(e) {
  1001. console.log(e)
  1002. if (e[0].label == '全部') {
  1003. this.agentIdtext = '接待顾问'
  1004. this.screen.agentId = ''
  1005. } else {
  1006. this.screen.agentId = e[0].value;
  1007. this.agentIdtext = e[0].label;
  1008. }
  1009. },
  1010. //重置
  1011. reset() {
  1012. this.screen = {
  1013. agentId: "",
  1014. visitRecord: [],
  1015. record: [],
  1016. clientStage: "",
  1017. clientStageName: "",
  1018. };
  1019. this.sourceList.map((i) => {
  1020. i.isShow = false;
  1021. });
  1022. this.wajueList.map((i) => {
  1023. i.isShow = false;
  1024. });
  1025. this.wajueLists.forEach(i => {
  1026. i.isShow = false
  1027. })
  1028. this.phaseList.map((i) => {
  1029. i.isShow = false;
  1030. });
  1031. this.jiedaiList.map((i) => {
  1032. i.isShow = false;
  1033. });
  1034. this.xiaojiangList.map((i) => {
  1035. i.isShow = false;
  1036. });
  1037. this.visitList.map((i) => {
  1038. i.isShow = false;
  1039. });
  1040. this.levelList.map((i) => {
  1041. i.isShow = false;
  1042. });
  1043. this.nextPage = 1;
  1044. this.recordList = [];
  1045. this.isRefresh = false;
  1046. this.getMyCustom();
  1047. },
  1048. //重置画像标签选择
  1049. resetHuaXiang() {
  1050. if (this.huaxiangList.length) {
  1051. this.huaxiangList.forEach(item => {
  1052. item.isShow = true;
  1053. if (item.children.length) {
  1054. item.children.forEach(subitem => {
  1055. subitem.isShow = false;
  1056. })
  1057. }
  1058. })
  1059. }
  1060. },
  1061. chooseMores() {
  1062. let change1 = this.templateList.some(item => item.isShow == true)
  1063. let change2 = this.jiedaiList.some(item => item.isShow == true)
  1064. let change3 = this.levelList.some(item => item.isShow == true)
  1065. let change4 = this.sourceList.some(item => item.isShow == true)
  1066. let change5 = this.phaseList.some(item => item.isShow == true)
  1067. let change6 = this.wajueList.some(item => item.isShow == true)
  1068. let change9 = this.wajueLists.some(item => item.isShow == true)
  1069. let change7 = this.xiaojiangList.some(item => item.isShow == true)
  1070. let change8 = this.visitList.some(item => item.isShow == true)
  1071. if (change1 || change2 || change3 || change4 || change5 || change6 || change7 || change8 || change9) {
  1072. return true
  1073. } else {
  1074. return false
  1075. }
  1076. },
  1077. chooseMore() {
  1078. let a = false
  1079. this.huaxiangList.forEach(item => {
  1080. if (item.children.some(so => so.isShow == true)) {
  1081. a = true
  1082. }
  1083. })
  1084. return a
  1085. },
  1086. //筛选确认
  1087. screensure() {
  1088. this.showFilterOption = this.chooseMores()
  1089. this.tagSign = this.chooseMore()
  1090. this.nextPage = 1;
  1091. this.recordList = [];
  1092. this.keywordsIds = []
  1093. this.screenShow = false;
  1094. this.huaxiangShow = false;
  1095. this.isRefresh = false;
  1096. // 画像标签
  1097. this.huaxiangList.forEach(item => {
  1098. if (item.children.length) {
  1099. item.children.forEach(im => {
  1100. if (im.isShow) this.keywordsIds.push(im.id)
  1101. })
  1102. }
  1103. })
  1104. this.getMyCustom();
  1105. },
  1106. goSearch() {
  1107. uni.navigateTo({
  1108. url: '/pages/center/consumer/consumerSearch'
  1109. });
  1110. },
  1111. gotoFollowUp(item) {
  1112. uni.navigateTo({
  1113. url: `/pages/center/consumer/newFollowup/newFollowup?id=${item.id}&level=${item.level}&clientStageName=${item.clientStageName}`
  1114. })
  1115. },
  1116. },
  1117. filters: {
  1118. // 筛选等级展示文字
  1119. levelText(level) {
  1120. let str = '';
  1121. switch (Number(level)) {
  1122. case 1:
  1123. str = "A"
  1124. break;
  1125. case 2:
  1126. str = "B"
  1127. break;
  1128. case 3:
  1129. str = "C"
  1130. break;
  1131. case 4:
  1132. str = "D"
  1133. break;
  1134. default:
  1135. str = ''
  1136. break;
  1137. }
  1138. return str
  1139. },
  1140. // 加密手机
  1141. phoneText(mobile) {
  1142. if (!mobile) return '--'
  1143. if (_this.userInfo.showPhoneStatus == 1) return mobile.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2')
  1144. else return mobile
  1145. },
  1146. // 格式化时间
  1147. formatTime(time) {
  1148. if (!time) return
  1149. return time.substring(5, time.length)
  1150. }
  1151. }
  1152. }
  1153. </script>
  1154. <style lang="scss" scoped>
  1155. .box {
  1156. width: 100vw;
  1157. min-height: calc(100vh - var(--window-top));
  1158. background: #F8F8F8;
  1159. display: flex;
  1160. flex-direction: column;
  1161. .top-search {
  1162. display: flex;
  1163. align-items: center;
  1164. justify-content: space-between;
  1165. background: #fff;
  1166. padding-right: 30rpx;
  1167. .filter-icon {
  1168. width: 40rpx;
  1169. height: 40rpx;
  1170. padding: 15rpx;
  1171. }
  1172. .search-box {
  1173. width: 670rpx;
  1174. height: 102rpx;
  1175. background: #ffffff;
  1176. display: flex;
  1177. align-items: center;
  1178. justify-content: center;
  1179. .search {
  1180. width: 94%;
  1181. height: 70rpx;
  1182. display: flex;
  1183. align-items: center;
  1184. background: #f8f8f8;
  1185. border-radius: 33rpx;
  1186. .search-img {
  1187. width: 26rpx;
  1188. height: 30rpx;
  1189. margin-left: 20rpx;
  1190. .search-img1 {
  1191. width: 100%;
  1192. height: 100%;
  1193. margin-top: 2rpx;
  1194. }
  1195. }
  1196. .search-text {
  1197. font-size: 28rpx;
  1198. font-weight: 400;
  1199. color: #999999;
  1200. margin-left: 10rpx;
  1201. }
  1202. }
  1203. .search-screen {
  1204. width: 40rpx;
  1205. height: 40rpx;
  1206. margin-left: 30rpx;
  1207. .search-screen1 {
  1208. width: 100%;
  1209. height: 100%;
  1210. }
  1211. }
  1212. }
  1213. }
  1214. .content {
  1215. flex-grow: 1;
  1216. }
  1217. }
  1218. .timeview {
  1219. height: 90rpx;
  1220. line-height: 90rpx;
  1221. width: 100%;
  1222. text-align: center;
  1223. border-bottom: 1rpx solid #F8F8F8;
  1224. }
  1225. //时间切换的样式
  1226. .boxtittab {
  1227. position: sticky;
  1228. top: var(--window-top);
  1229. z-index: 999;
  1230. width: 100;
  1231. height: 72rpx;
  1232. background: #FFFFFF;
  1233. flex-shrink: 0;
  1234. display: flex;
  1235. align-items: center;
  1236. .tabbox {
  1237. flex: 1;
  1238. height: 100%;
  1239. text-align: center;
  1240. line-height: 72rpx;
  1241. color: #666666;
  1242. font-size: 28rpx;
  1243. overflow: hidden;
  1244. text-overflow: ellipsis;
  1245. display: -webkit-box;
  1246. /* 将对象作为弹性伸缩盒子模型显示 */
  1247. -webkit-line-clamp: 1;
  1248. /* 控制最多显示几行 */
  1249. -webkit-box-orient: vertical;
  1250. /* 设置或检索伸缩盒对象的子元素的排列方式 */
  1251. }
  1252. .activeColor {
  1253. color: #2671E2;
  1254. font-weight: bold;
  1255. }
  1256. }
  1257. .soltishow {
  1258. width: 100%;
  1259. min-height: 40vh;
  1260. .soltishow-item {
  1261. width: 100%;
  1262. height: 80rpx;
  1263. display: flex;
  1264. align-items: center;
  1265. justify-content: center;
  1266. }
  1267. }
  1268. .count {
  1269. width: 100%;
  1270. height: 82rpx;
  1271. line-height: 82rpx;
  1272. display: flex;
  1273. align-items: center;
  1274. justify-content: center;
  1275. background-color: #f8f8f8;
  1276. font-size: 30rpx;
  1277. font-family: PingFangSC-Regular, PingFang SC;
  1278. font-weight: 400;
  1279. color: #333333;
  1280. text {
  1281. color: #E7483C;
  1282. }
  1283. }
  1284. .content {
  1285. .content-tips {
  1286. background: #fff;
  1287. margin-bottom: 20rpx;
  1288. .content-first {
  1289. padding: 19rpx 30rpx;
  1290. display: flex;
  1291. justify-content: space-between;
  1292. align-items: center;
  1293. box-sizing: border-box;
  1294. color: #292929;
  1295. height: 90rpx;
  1296. font-size: 30rpx;
  1297. .left {
  1298. display: flex;
  1299. align-items: center;
  1300. .img {
  1301. width: 48rpx;
  1302. height: 48rpx;
  1303. line-height: 48rpx;
  1304. text-align: center;
  1305. margin-right: 16rpx;
  1306. background: #E6625B;
  1307. border-radius: 6rpx;
  1308. font-size: 28rpx;
  1309. font-family: PingFangSC-Regular, PingFang SC;
  1310. font-weight: 400;
  1311. color: #FFFFFF;
  1312. }
  1313. .clientStageName {
  1314. margin-right: 20rpx;
  1315. padding: 0 16rpx;
  1316. font-size: 28rpx;
  1317. font-family: PingFangSC-Regular, PingFang SC;
  1318. font-weight: 400;
  1319. color: #FF981E;
  1320. height: 48rpx;
  1321. line-height: 48rpx;
  1322. background: #FFFFFF;
  1323. border-radius: 4rpx;
  1324. border: 1rpx solid #FF981E;
  1325. box-sizing: border-box;
  1326. }
  1327. .A {
  1328. background: #E6625B;
  1329. }
  1330. .B {
  1331. background: #FF981E;
  1332. }
  1333. .C {
  1334. background: #F6BD16;
  1335. }
  1336. .D {
  1337. background: #E6625B;
  1338. }
  1339. .test {
  1340. height: 42rpx;
  1341. font-size: 30rpx;
  1342. font-family: PingFangSC-Medium, PingFang SC;
  1343. font-weight: 500;
  1344. color: #333333;
  1345. line-height: 42rpx;
  1346. margin-right: 16rpx;
  1347. }
  1348. }
  1349. .right {
  1350. display: flex;
  1351. align-items: center;
  1352. color: #2671E2;
  1353. font-size: 30rpx;
  1354. .right-img {
  1355. margin: 5rpx 0 0 10rpx;
  1356. width: 14rpx;
  1357. height: 30rpx;
  1358. }
  1359. }
  1360. }
  1361. .content-sec {
  1362. border-top: 1px solid #e0e0e0;
  1363. padding: 0 30rpx;
  1364. position: relative;
  1365. .content-sec-lab {
  1366. margin-top: 28rpx;
  1367. display: flex;
  1368. justify-content: space-between;
  1369. font-size: 30rpx;
  1370. font-weight: 400;
  1371. color: #666666;
  1372. line-height: 42rpx;
  1373. .content-sec-lab1 {
  1374. color: #333333;
  1375. word-break: break-all;
  1376. }
  1377. .content-sec-tips {
  1378. max-width: 160rpx;
  1379. height: 46rpx;
  1380. background: #f2f2f2;
  1381. border-radius: 6rpx;
  1382. text-align: center;
  1383. line-height: 26rpx;
  1384. overflow: hidden;
  1385. text-overflow: ellipsis;
  1386. white-space: nowrap;
  1387. font-size: 26rpx;
  1388. font-weight: 400;
  1389. color: #333333;
  1390. margin-right: 20rpx;
  1391. box-sizing: border-box;
  1392. padding: 10rpx 24rpx;
  1393. }
  1394. }
  1395. .content-sec-num {
  1396. position: absolute;
  1397. width: 200rpx;
  1398. height: 90rpx;
  1399. background: #f4f8fd;
  1400. border-radius: 12rpx;
  1401. font-weight: 400;
  1402. color: #2671e2;
  1403. line-height: 45rpx;
  1404. bottom: 30rpx;
  1405. right: 30rpx;
  1406. text-align: center;
  1407. }
  1408. }
  1409. .content-last {
  1410. display: flex;
  1411. justify-content: flex-end;
  1412. align-items: center;
  1413. padding-bottom: 30rpx;
  1414. .content-last-tab {
  1415. width: 214rpx;
  1416. height: 70rpx;
  1417. line-height: 70rpx;
  1418. background: #FFFFFF;
  1419. border-radius: 8rpx;
  1420. border: 1rpx solid #2671E2;
  1421. box-sizing: border-box;
  1422. font-family: PingFangSC-Regular, PingFang SC;
  1423. font-weight: 400;
  1424. color: #2671E2;
  1425. font-size: 30rpx;
  1426. margin-right: 30rpx;
  1427. display: flex;
  1428. align-items: center;
  1429. justify-content: center;
  1430. image {
  1431. width: 40rpx;
  1432. height: 40rpx;
  1433. margin-right: 12rpx;
  1434. }
  1435. .icon {
  1436. width: 40rpx;
  1437. height: 40rpx;
  1438. margin-right: 12rpx;
  1439. }
  1440. }
  1441. }
  1442. }
  1443. }
  1444. // 这是弹出层
  1445. .screen {
  1446. .screen-record {
  1447. overflow: hidden;
  1448. padding: 0 30rpx;
  1449. box-sizing: border-box;
  1450. border-bottom: 1px solid #e0e0e0;
  1451. .screen-record-text {
  1452. font-weight: 600;
  1453. padding: 30rpx 0;
  1454. font-size: 30rpx;
  1455. color: #333333;
  1456. line-height: 30rpx;
  1457. display: flex;
  1458. align-items: center;
  1459. justify-content: space-between;
  1460. .arrow {
  1461. width: 30rpx;
  1462. height: 14rpx;
  1463. }
  1464. }
  1465. .screen-record-tab {
  1466. margin-top: 30rpx;
  1467. padding-bottom: 10rpx;
  1468. display: flex;
  1469. flex-wrap: wrap;
  1470. .screen-record-item {
  1471. min-width: 150rpx;
  1472. padding: 0 14rpx;
  1473. height: 60rpx;
  1474. border-radius: 8rpx;
  1475. text-align: center;
  1476. line-height: 60rpx;
  1477. margin: 0 22rpx 22rpx 0;
  1478. &:nth-child(4n) {
  1479. margin-right: 0;
  1480. }
  1481. }
  1482. .screen-record-chose {
  1483. background: #f1f6fd;
  1484. color: #2671e2;
  1485. }
  1486. .screen-record-nochose {
  1487. background: #f7f8fa;
  1488. color: #333;
  1489. }
  1490. }
  1491. }
  1492. .screen-foot {
  1493. width: 100%;
  1494. height: 78rpx;
  1495. display: flex;
  1496. margin: 30rpx 30rpx 0;
  1497. .screen-foot-reset {
  1498. width: 176rpx;
  1499. height: 78rpx;
  1500. line-height: 78rpx;
  1501. background: #FFFFFF;
  1502. border-radius: 8rpx;
  1503. border: 1px solid #2671E2;
  1504. margin-right: 30rpx;
  1505. font-size: 30rpx;
  1506. font-family: PingFangSC-Regular, PingFang SC;
  1507. font-weight: 400;
  1508. color: #2671E2;
  1509. text-align: center;
  1510. }
  1511. .screen-foot-sure {
  1512. width: 484rpx;
  1513. height: 78rpx;
  1514. line-height: 78rpx;
  1515. background: #2671E2;
  1516. border: 1px solid #2671E2;
  1517. border-radius: 8rpx;
  1518. font-size: 30rpx;
  1519. font-family: PingFangSC-Regular, PingFang SC;
  1520. font-weight: 400;
  1521. color: #FFFFFF;
  1522. text-align: center;
  1523. }
  1524. }
  1525. }
  1526. </style>