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

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