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

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