AI销管
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1629 regels
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="img A" v-if="item.level == 1">A</view>
  58. <view class="img B" v-else-if="item.level == 2">B</view>
  59. <view class="img C" v-else-if="item.level == 3">C</view>
  60. <view class="img D" v-else-if="item.level == 4">D</view>
  61. <view class="test">{{item.name}}</view>
  62. </view>
  63. <view class="right">
  64. <view class="clientStageName">
  65. {{ item.fraction || 0 }}%
  66. </view>
  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.clientStageName || '--' }}</view>
  73. </view>
  74. <view class="content-sec-lab">
  75. <view class="content-sec-lab1">负责顾问:{{ item.agentName || "--" }}</view>
  76. </view>
  77. <view class="content-sec-lab">
  78. <view class="content-sec-lab1">
  79. 挖掘执行/成功:{{ max100(item.wordFraction) }}%/{{ max100(item.wordFinishFraction) }}%</view>
  80. <view class="content-sec-lab1" style="width: 44%">
  81. 客户意向率:{{ `${item.levelFraction||'0'}%` }}
  82. </view>
  83. </view>
  84. <view class="content-sec-lab">
  85. <view class="content-sec-lab1">最近到访:{{ item.createTime || "--" }}</view>
  86. <view class="content-sec-lab1-min">
  87. 到访{{ item.visitRecord || 0 }}次/{{ item.mm || 0 }}min
  88. </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.isnorefresh = options.refresh;
  593. if (options.dateType != null || options.dateType != undefined) this.activeTotal = options.dateType
  594. console.log(this.activeTotal, options.dateType, 'asdjkakldjsakldjlksa')
  595. if (options.staTime) this.screen.staTime = options.staTime
  596. if (options.endTime) this.screen.endTime = options.endTime
  597. this.userInfo = uni.getStorageSync("weapp_session_userInfo_data")
  598. let newmenulist = uni.getStorageSync('weapp_session_Menu_data');
  599. this.permissions.commonly1 = newmenulist.khgl_ck;
  600. this.permissions.commonly2 = newmenulist.khgl_gj;
  601. _this = this
  602. },
  603. onPullDownRefresh() {
  604. this.buildingID = uni.getStorageSync('buildingID').id;
  605. this.LOADING = true
  606. this.nextPage = 1;
  607. this.isRefresh = true;
  608. this.resetFilter()
  609. this.reset()
  610. this.getFreeList()
  611. this.getFromSource();
  612. this.getMyCustom();
  613. setTimeout(() => {
  614. uni.stopPullDownRefresh()
  615. }, 2000)
  616. },
  617. onShow() {
  618. this.getTabBarBadge()
  619. this.buildingID = uni.getStorageSync('buildingID').id;
  620. this.updatebuildingID = uni.getStorageSync('updatebuildingID')
  621. if (this.isnorefresh != 'refresh' || this.updatebuildingID == 'updatebuildingID') {
  622. this.nextPage = 1;
  623. this.recordList = []
  624. this.getMyCustom()
  625. this.getFreeList()
  626. this.getWordMiningList();
  627. this.getCustomPhase();
  628. this.getFromSource();
  629. this.getMarketingBusiness(); // 销讲业务
  630. this.isRefresh = false;
  631. this.isnorefresh = 'refresh';
  632. uni.setStorageSync('updatebuildingID', '');
  633. }
  634. this.updateInit()
  635. },
  636. onReachBottom() {
  637. if (this.totalRecord == this.nextPage) {
  638. uni.showToast({
  639. icon: 'none',
  640. title: '到底了',
  641. duration: 2000
  642. });
  643. return
  644. } else {
  645. this.isRefresh = false;
  646. this.nextPage = this.nextPage + 1;
  647. this.getMyCustom();
  648. }
  649. },
  650. methods: {
  651. // 跳转编辑
  652. goedit(data) {
  653. uni.navigateTo({
  654. url: `/pages/center/consumer/edit?id=${data.id}&projectId=${data.projectId}`
  655. })
  656. },
  657. // 获取客户阶段数据
  658. getCustomPhase() {
  659. this.phaseList = [];
  660. this.$u
  661. .post("/customer/lifeTrackDefineList", {
  662. houseId: this.buildingID,
  663. })
  664. .then((res) => {
  665. if (res.length) {
  666. this.phaseList = res.map(item => {
  667. return {
  668. label: item.stageName,
  669. value: item.id,
  670. isShow: false
  671. }
  672. })
  673. } else {
  674. this.phaseList = []
  675. }
  676. });
  677. },
  678. // 获取客户来源
  679. getFromSource() {
  680. this.$u.get(config.service.sourceList, {
  681. houseId: this.buildingID
  682. })
  683. .then((res) => {
  684. if (res.length) {
  685. this.sourceList = res.map((item) => {
  686. return {
  687. label: item.sourceName,
  688. value: item.id,
  689. isShow: false
  690. }
  691. })
  692. } else {
  693. this.sourceList = []
  694. }
  695. })
  696. },
  697. max100(num) {
  698. if (num > 100) {
  699. return 100
  700. } else if (!num) {
  701. return 0;
  702. } else {
  703. return num;
  704. }
  705. },
  706. // 获取销讲业务
  707. getMarketingBusiness() {
  708. this.$u.get('/customer/marketingBusiness', {
  709. houseId: this.buildingID,
  710. }).then(res => {
  711. this.templateList = res.map(item => {
  712. return {
  713. ...item,
  714. isShow: false,
  715. }
  716. })
  717. })
  718. },
  719. updateInit() {
  720. this.$u.get(config.service.notReadNum, {
  721. id: uni.getStorageSync('weapp_session_userInfo_data').accountId,
  722. projectId: uni.getStorageSync('buildingID').id
  723. }).then(res => {
  724. console.log(res)
  725. if (res > 0) {
  726. uni.setTabBarBadge({ //显示数字
  727. index: 4, //tabbar下标
  728. text: `${res}` //数字
  729. })
  730. } else {
  731. uni.removeTabBarBadge({
  732. index: 4
  733. })
  734. }
  735. }).catch(e => {
  736. uni.removeTabBarBadge({
  737. index: 4
  738. })
  739. })
  740. },
  741. filterFun() {
  742. },
  743. // 过滤
  744. resetFilter() {
  745. this.sortFilter = '排序';
  746. this.agentIdtext = '接待顾问';
  747. this.screen.orderBy = null;
  748. this.arriveFilter = '接待时间';
  749. this.screen.staTime = '';
  750. this.screen.endTime = '';
  751. this.nextPage = 1;
  752. this.activeTotal = 5;
  753. this.recordList = [];
  754. this.activeTotal2 = 0;
  755. },
  756. //选择排序
  757. selectCallback2(e) {
  758. this.sortFilter = e.label;
  759. this.screen.orderBy = e.value;
  760. this.nextPage = 1;
  761. this.recordList = [];
  762. this.soltishow = false;
  763. this.isRefresh = false;
  764. this.getMyCustom();
  765. },
  766. //时间选择
  767. tabtimetap(index, text) {
  768. this.timeshow = false;
  769. if (text) this.arriveFilter = text
  770. if (index == 4) {
  771. this.totalTimeShow = true;
  772. } else {
  773. this.activeTotal = index;
  774. this.screen.staTime = '';
  775. this.screen.endTime = '';
  776. this.nextPage = 1;
  777. this.isRefresh = false;
  778. this.recordList = [];
  779. this.getMyCustom();
  780. }
  781. },
  782. //自定义时间
  783. totalTimeChange(e) {
  784. this.screen.staTime = e.startDate;
  785. this.screen.endTime = e.endDate;
  786. this.activeTotal = 4;
  787. this.nextPage = 1;
  788. this.recordList = [];
  789. this.isRefresh = false;
  790. this.arriveFilter = this.screen.staTime + '-' + this.screen.endTime
  791. this.getMyCustom();
  792. },
  793. choice(item) {
  794. item.isShow = !item.isShow;
  795. },
  796. // 客户详情
  797. gotoDetail(id) {
  798. if (this.permissions.commonly1 == true) {
  799. uni.navigateTo({
  800. url: `/pages/center/consumer/consumerDetail?id=${id}`
  801. })
  802. }
  803. },
  804. getMyCustom() {
  805. this.screen.visitRecord = []
  806. this.screen.jiedaiVal = []
  807. this.screen.wajueVal = []
  808. this.screen.xiaojiangVal = []
  809. this.screen.level = []
  810. this.screen.clientStage = []
  811. this.screen.sourceIds = []
  812. let dateType = 0;
  813. if (this.activeTotal == 5 || this.activeTotal == 4) {
  814. dateType = null;
  815. } else {
  816. dateType = this.activeTotal;
  817. }
  818. // 到访次数
  819. this.visitList.forEach(i => {
  820. if (i.isShow) this.screen.visitRecord.push(i.value)
  821. })
  822. // 接待时长
  823. this.jiedaiList.forEach(i => {
  824. if (i.isShow) this.screen.jiedaiVal.push(i.value)
  825. })
  826. // 需求挖掘
  827. this.wajueList.forEach(i => {
  828. if (i.isShow) this.screen.wajueVal.push(i.value)
  829. })
  830. // 需求挖掘成功
  831. this.wajueLists.forEach(i => {
  832. if (i.isShow) this.screen.wajueVals.push(i.value)
  833. })
  834. // 销讲执行率
  835. this.xiaojiangList.forEach(i => {
  836. if (i.isShow) this.screen.xiaojiangVal.push(i.value)
  837. })
  838. // 客户等级
  839. this.levelList.forEach(i => {
  840. if (i.isShow) this.screen.level.push(i.value)
  841. })
  842. //客户阶段
  843. this.phaseList.forEach(i => {
  844. if (i.isShow) this.screen.clientStage.push(i.value)
  845. })
  846. // 客户来源
  847. this.sourceList.forEach(i => {
  848. if (i.isShow) this.screen.sourceIds.push(i.value)
  849. })
  850. var parames = {
  851. pageNum: this.nextPage,
  852. pageSize: 10,
  853. query: {
  854. projectId: this.buildingID,
  855. fractions: this.screen.xiaojiangVal.length ? this.screen.xiaojiangVal.join(',') : '', // 销讲执行率
  856. wordFractions: this.screen.wajueVal.length ? this.screen.wajueVal.join(',') : '', //需求挖掘
  857. visitRecordNum: this.screen.visitRecord.length ? this.screen.visitRecord.join(',') : '', //到访次数
  858. clientStages: this.screen.clientStage.length ? this.screen.clientStage.join(',') : '', // 客户阶段
  859. sourceIds: this.screen.sourceIds.length ? this.screen.sourceIds.join(',') : '', // 客户来源
  860. level: this.screen.level.length ? this.screen.level.join(',') : '', // 客户等级
  861. duractionNums: this.screen.jiedaiVal.length ? this.screen.jiedaiVal.join(',') : '', // 接待时长
  862. keywordsIds: this.keywordsIds.length ? this.keywordsIds.join(',') : '', // 画像标签
  863. dateType: dateType, // 接待时间
  864. staTime: this.screen.staTime,
  865. endTime: this.screen.endTime,
  866. agentId: this.screen.agentId, // 顾问
  867. orderBy: this.screen.orderBy == '' ? '' : this.screen.orderBy, // 排序
  868. },
  869. };
  870. let ars = []
  871. this.templateList.forEach(item => {
  872. if (item.isShow) {
  873. ars.push(item.id)
  874. }
  875. })
  876. parames.query.marketingBusiness = ars.join(',')
  877. this.$u.post("/customer/customerManagement", parames)
  878. .then((data) => {
  879. this.LOADING = false;
  880. var list = data.records || [];
  881. list.forEach((item) => {
  882. if (this.userInfo.dataCode == 6) {
  883. item.isshow = true;
  884. } else {
  885. item.isshow = false;
  886. }
  887. });
  888. if (this.isRefresh) {
  889. this.recordList = list;
  890. } else {
  891. this.recordList = [...this.recordList, ...list];
  892. }
  893. this.totalRecord = data.pages;
  894. this.totalRecords = data.total;
  895. })
  896. .catch((e) => {
  897. this.LOADING = false;
  898. });
  899. },
  900. getMyCustom1() {
  901. let dateType = 0;
  902. let recDurationInterval = 0;
  903. let orderBy = 0;
  904. if (this.activeTotal == 5) {
  905. dateType = null;
  906. } else if (this.activeTotal == 4) {
  907. dateType = null;
  908. } else {
  909. dateType = this.activeTotal;
  910. }
  911. if (this.activeTotal2 == 0) {
  912. recDurationInterval = null
  913. } else {
  914. recDurationInterval = this.activeTotal2
  915. }
  916. if (this.orderBy == 0) {
  917. orderBy = null;
  918. } else {
  919. orderBy = this.orderBy;
  920. }
  921. var parames = {
  922. pageNum: this.nextPage,
  923. pageSize: 10,
  924. query: {
  925. projectId: this.buildingID,
  926. keywordsId: this.screen.cunsumerTipsid,
  927. agentId: this.screen.agentId,
  928. dateType: dateType,
  929. staDate: this.screen.staTime,
  930. endDate: this.screen.endTime,
  931. recDurationInterval: recDurationInterval,
  932. orderBy: orderBy,
  933. sourceId: this.sourceId
  934. }
  935. };
  936. if (this.screen.visitRecord.length > 0) {
  937. parames.query.visitRecords = this.screen.visitRecord.join(',');
  938. }
  939. if (this.screen.record.length > 0) {
  940. parames.query.level = this.screen.record.join(',');
  941. }
  942. this.$u.post("/customer/customerManagement", parames).then(data => {
  943. this.LOADING = false
  944. var list = data.results || [];
  945. list.forEach(item => {
  946. if (item.demand.cusSemanticWordsList != null) {
  947. item.demand.cusSemanticWordsList.forEach(che => {
  948. if (che.isInterval == 0) {
  949. che.name = che.name + che.unit + '-' + che.endName + che.unit;
  950. }
  951. })
  952. }
  953. })
  954. if (this.isRefresh) {
  955. this.recordList = list;
  956. } else {
  957. console.log('我在这里被打印了', this.recordList)
  958. this.recordList = [...this.recordList, ...list];
  959. }
  960. this.totalRecord = data.totalPage;
  961. this.totalRecords = data.totalRecord;
  962. }).catch(e => {
  963. this.LOADING = false
  964. })
  965. },
  966. //获取顾问列表
  967. getFreeList() {
  968. this.$u.post("/cusLvStatistics/selectAllAccountIdByHouseId", {
  969. houseId: this.buildingID
  970. }).then(res => {
  971. res.forEach(item => {
  972. item.label = item.name;
  973. item.value = item.accountId
  974. })
  975. res.unshift({
  976. label: '全部',
  977. value: ''
  978. })
  979. this.freeList = res
  980. console.log(this.freeList)
  981. })
  982. },
  983. //获取画像标签
  984. getWordMiningList() {
  985. this.huaxiangList = [];
  986. this.$u.get("/corpus/findSelectedWordMiningTemplate", {
  987. houseId: this.buildingID,
  988. selected: 1
  989. })
  990. .then((res) => {
  991. // console.log(res)
  992. if (res.length) {
  993. res.forEach(item => {
  994. item.isShow = true;
  995. if (item.children.length) {
  996. item.children.forEach(subitem => {
  997. subitem.isShow = false;
  998. })
  999. }
  1000. })
  1001. }
  1002. this.huaxiangList = res;
  1003. });
  1004. },
  1005. //选择顾问
  1006. actionSelectCallback(e) {
  1007. console.log(e)
  1008. if (e[0].label == '全部') {
  1009. this.agentIdtext = '接待顾问'
  1010. this.screen.agentId = ''
  1011. } else {
  1012. this.screen.agentId = e[0].value;
  1013. this.agentIdtext = e[0].label;
  1014. }
  1015. },
  1016. //重置
  1017. reset() {
  1018. this.screen = {
  1019. agentId: "",
  1020. visitRecord: [],
  1021. record: [],
  1022. clientStage: "",
  1023. clientStageName: "",
  1024. };
  1025. this.sourceList.map((i) => {
  1026. i.isShow = false;
  1027. });
  1028. this.wajueList.map((i) => {
  1029. i.isShow = false;
  1030. });
  1031. this.wajueLists.forEach(i => {
  1032. i.isShow = false
  1033. })
  1034. this.phaseList.map((i) => {
  1035. i.isShow = false;
  1036. });
  1037. this.jiedaiList.map((i) => {
  1038. i.isShow = false;
  1039. });
  1040. this.xiaojiangList.map((i) => {
  1041. i.isShow = false;
  1042. });
  1043. this.visitList.map((i) => {
  1044. i.isShow = false;
  1045. });
  1046. this.levelList.map((i) => {
  1047. i.isShow = false;
  1048. });
  1049. this.nextPage = 1;
  1050. this.recordList = [];
  1051. this.isRefresh = false;
  1052. this.getMyCustom();
  1053. },
  1054. //重置画像标签选择
  1055. resetHuaXiang() {
  1056. if (this.huaxiangList.length) {
  1057. this.huaxiangList.forEach(item => {
  1058. item.isShow = true;
  1059. if (item.children.length) {
  1060. item.children.forEach(subitem => {
  1061. subitem.isShow = false;
  1062. })
  1063. }
  1064. })
  1065. }
  1066. },
  1067. chooseMores() {
  1068. let change1 = this.templateList.some(item => item.isShow == true)
  1069. let change2 = this.jiedaiList.some(item => item.isShow == true)
  1070. let change3 = this.levelList.some(item => item.isShow == true)
  1071. let change4 = this.sourceList.some(item => item.isShow == true)
  1072. let change5 = this.phaseList.some(item => item.isShow == true)
  1073. let change6 = this.wajueList.some(item => item.isShow == true)
  1074. let change9 = this.wajueLists.some(item => item.isShow == true)
  1075. let change7 = this.xiaojiangList.some(item => item.isShow == true)
  1076. let change8 = this.visitList.some(item => item.isShow == true)
  1077. if (change1 || change2 || change3 || change4 || change5 || change6 || change7 || change8 || change9) {
  1078. return true
  1079. } else {
  1080. return false
  1081. }
  1082. },
  1083. chooseMore() {
  1084. let a = false
  1085. this.huaxiangList.forEach(item => {
  1086. if (item.children.some(so => so.isShow == true)) {
  1087. a = true
  1088. }
  1089. })
  1090. return a
  1091. },
  1092. //筛选确认
  1093. screensure() {
  1094. this.showFilterOption = this.chooseMores()
  1095. this.tagSign = this.chooseMore()
  1096. this.nextPage = 1;
  1097. this.recordList = [];
  1098. this.keywordsIds = []
  1099. this.screenShow = false;
  1100. this.huaxiangShow = false;
  1101. this.isRefresh = false;
  1102. // 画像标签
  1103. this.huaxiangList.forEach(item => {
  1104. if (item.children.length) {
  1105. item.children.forEach(im => {
  1106. if (im.isShow) this.keywordsIds.push(im.id)
  1107. })
  1108. }
  1109. })
  1110. this.getMyCustom();
  1111. },
  1112. goSearch() {
  1113. uni.navigateTo({
  1114. url: '/pages/center/consumer/consumerSearch'
  1115. });
  1116. },
  1117. gotoFollowUp(item) {
  1118. uni.navigateTo({
  1119. url: `/pages/center/consumer/newFollowup/newFollowup?id=${item.id}&level=${item.level}&clientStageName=${item.clientStageName}`
  1120. })
  1121. },
  1122. },
  1123. filters: {
  1124. // 筛选等级展示文字
  1125. levelText(level) {
  1126. let str = '';
  1127. switch (Number(level)) {
  1128. case 1:
  1129. str = "A"
  1130. break;
  1131. case 2:
  1132. str = "B"
  1133. break;
  1134. case 3:
  1135. str = "C"
  1136. break;
  1137. case 4:
  1138. str = "D"
  1139. break;
  1140. default:
  1141. str = ''
  1142. break;
  1143. }
  1144. return str
  1145. },
  1146. // 加密手机
  1147. phoneText(mobile) {
  1148. if (!mobile) return '--'
  1149. if (_this.userInfo.showPhoneStatus == 1) return mobile.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2')
  1150. else return mobile
  1151. },
  1152. // 格式化时间
  1153. formatTime(time) {
  1154. if (!time) return
  1155. return time.substring(5, time.length)
  1156. }
  1157. }
  1158. }
  1159. </script>
  1160. <style lang="scss" scoped>
  1161. .box {
  1162. width: 100vw;
  1163. min-height: calc(100vh - var(--window-top));
  1164. background: #F8F8F8;
  1165. display: flex;
  1166. flex-direction: column;
  1167. .top-search {
  1168. display: flex;
  1169. align-items: center;
  1170. justify-content: space-between;
  1171. background: #fff;
  1172. padding-right: 30rpx;
  1173. .filter-icon {
  1174. width: 40rpx;
  1175. height: 40rpx;
  1176. padding: 15rpx;
  1177. }
  1178. .search-box {
  1179. width: 670rpx;
  1180. height: 102rpx;
  1181. background: #ffffff;
  1182. display: flex;
  1183. align-items: center;
  1184. justify-content: center;
  1185. .search {
  1186. width: 94%;
  1187. height: 70rpx;
  1188. display: flex;
  1189. align-items: center;
  1190. background: #f8f8f8;
  1191. border-radius: 33rpx;
  1192. .search-img {
  1193. width: 26rpx;
  1194. height: 30rpx;
  1195. margin-left: 20rpx;
  1196. .search-img1 {
  1197. width: 100%;
  1198. height: 100%;
  1199. margin-top: 2rpx;
  1200. }
  1201. }
  1202. .search-text {
  1203. font-size: 28rpx;
  1204. font-weight: 400;
  1205. color: #999999;
  1206. margin-left: 10rpx;
  1207. }
  1208. }
  1209. .search-screen {
  1210. width: 40rpx;
  1211. height: 40rpx;
  1212. margin-left: 30rpx;
  1213. .search-screen1 {
  1214. width: 100%;
  1215. height: 100%;
  1216. }
  1217. }
  1218. }
  1219. }
  1220. .content {
  1221. flex-grow: 1;
  1222. }
  1223. }
  1224. .timeview {
  1225. height: 90rpx;
  1226. line-height: 90rpx;
  1227. width: 100%;
  1228. text-align: center;
  1229. border-bottom: 1rpx solid #F8F8F8;
  1230. }
  1231. //时间切换的样式
  1232. .boxtittab {
  1233. position: sticky;
  1234. top: var(--window-top);
  1235. z-index: 999;
  1236. width: 100;
  1237. height: 72rpx;
  1238. background: #FFFFFF;
  1239. flex-shrink: 0;
  1240. display: flex;
  1241. align-items: center;
  1242. .tabbox {
  1243. flex: 1;
  1244. height: 100%;
  1245. text-align: center;
  1246. line-height: 72rpx;
  1247. color: #666666;
  1248. font-size: 28rpx;
  1249. overflow: hidden;
  1250. text-overflow: ellipsis;
  1251. display: -webkit-box;
  1252. /* 将对象作为弹性伸缩盒子模型显示 */
  1253. -webkit-line-clamp: 1;
  1254. /* 控制最多显示几行 */
  1255. -webkit-box-orient: vertical;
  1256. /* 设置或检索伸缩盒对象的子元素的排列方式 */
  1257. }
  1258. .activeColor {
  1259. color: #2671E2;
  1260. font-weight: bold;
  1261. }
  1262. }
  1263. .soltishow {
  1264. width: 100%;
  1265. min-height: 40vh;
  1266. .soltishow-item {
  1267. width: 100%;
  1268. height: 80rpx;
  1269. display: flex;
  1270. align-items: center;
  1271. justify-content: center;
  1272. }
  1273. }
  1274. .count {
  1275. width: 100%;
  1276. height: 82rpx;
  1277. line-height: 82rpx;
  1278. display: flex;
  1279. align-items: center;
  1280. justify-content: center;
  1281. background-color: #f8f8f8;
  1282. font-size: 30rpx;
  1283. font-family: PingFangSC-Regular, PingFang SC;
  1284. font-weight: 400;
  1285. color: #333333;
  1286. text {
  1287. color: #E7483C;
  1288. }
  1289. }
  1290. .content {
  1291. .content-tips {
  1292. background: #fff;
  1293. margin-bottom: 20rpx;
  1294. .content-first {
  1295. padding: 19rpx 30rpx;
  1296. display: flex;
  1297. justify-content: space-between;
  1298. align-items: center;
  1299. box-sizing: border-box;
  1300. color: #292929;
  1301. height: 90rpx;
  1302. font-size: 30rpx;
  1303. .left {
  1304. display: flex;
  1305. align-items: center;
  1306. .img {
  1307. width: 48rpx;
  1308. height: 48rpx;
  1309. line-height: 48rpx;
  1310. text-align: center;
  1311. margin-right: 16rpx;
  1312. background: #E6625B;
  1313. border-radius: 6rpx;
  1314. font-size: 28rpx;
  1315. font-family: PingFangSC-Regular, PingFang SC;
  1316. font-weight: 400;
  1317. color: #FFFFFF;
  1318. }
  1319. .A {
  1320. background: #E6625B;
  1321. }
  1322. .B {
  1323. background: #FF981E;
  1324. }
  1325. .C {
  1326. background: #F6BD16;
  1327. }
  1328. .D {
  1329. background: #E6625B;
  1330. }
  1331. .test {
  1332. height: 42rpx;
  1333. font-size: 30rpx;
  1334. font-family: PingFangSC-Medium, PingFang SC;
  1335. font-weight: 500;
  1336. color: #333333;
  1337. line-height: 42rpx;
  1338. margin-right: 16rpx;
  1339. }
  1340. }
  1341. .right {
  1342. display: flex;
  1343. align-items: center;
  1344. color: #2671E2;
  1345. font-size: 30rpx;
  1346. align-items: flex-end;
  1347. .clientStageName {
  1348. font-size: 28rpx;
  1349. font-family: PingFangSC-Regular, PingFang SC;
  1350. font-weight: 400;
  1351. // color: #FF981E;
  1352. height: 48rpx;
  1353. line-height: 48rpx;
  1354. background: #FFFFFF;
  1355. // border-radius: 4rpx;
  1356. // border: 1rpx solid #FF981E;
  1357. box-sizing: border-box;
  1358. }
  1359. .right-img {
  1360. margin: 5rpx 0 0 10rpx;
  1361. width: 14rpx;
  1362. height: 30rpx;
  1363. }
  1364. }
  1365. }
  1366. .content-sec {
  1367. border-top: 1px solid #e0e0e0;
  1368. padding: 0 30rpx;
  1369. position: relative;
  1370. .content-sec-lab {
  1371. margin-top: 28rpx;
  1372. display: flex;
  1373. justify-content: space-between;
  1374. font-size: 30rpx;
  1375. font-weight: 400;
  1376. color: #666666;
  1377. line-height: 42rpx;
  1378. .content-sec-lab1 {
  1379. color: #333333;
  1380. word-break: break-all;
  1381. }
  1382. .content-sec-lab1-min {
  1383. flex-shrink: 0;
  1384. margin-bottom: 20rpx;
  1385. padding: 0 10rpx;
  1386. background: rgba($color: #2671e2, $alpha: 1);
  1387. color: #fff;
  1388. border-radius: 8rpx;
  1389. }
  1390. .content-sec-tips {
  1391. max-width: 160rpx;
  1392. height: 46rpx;
  1393. background: #f2f2f2;
  1394. border-radius: 6rpx;
  1395. text-align: center;
  1396. line-height: 26rpx;
  1397. overflow: hidden;
  1398. text-overflow: ellipsis;
  1399. white-space: nowrap;
  1400. font-size: 26rpx;
  1401. font-weight: 400;
  1402. color: #333333;
  1403. margin-right: 20rpx;
  1404. box-sizing: border-box;
  1405. padding: 10rpx 24rpx;
  1406. }
  1407. }
  1408. .content-sec-num {
  1409. position: absolute;
  1410. width: 200rpx;
  1411. height: 90rpx;
  1412. background: #f4f8fd;
  1413. border-radius: 12rpx;
  1414. font-weight: 400;
  1415. color: #2671e2;
  1416. line-height: 45rpx;
  1417. bottom: 30rpx;
  1418. right: 30rpx;
  1419. text-align: center;
  1420. }
  1421. }
  1422. .content-last {
  1423. display: flex;
  1424. justify-content: flex-end;
  1425. align-items: center;
  1426. padding-bottom: 30rpx;
  1427. .content-last-tab {
  1428. width: 214rpx;
  1429. height: 70rpx;
  1430. line-height: 70rpx;
  1431. background: #FFFFFF;
  1432. border-radius: 8rpx;
  1433. border: 1rpx solid #2671E2;
  1434. box-sizing: border-box;
  1435. font-family: PingFangSC-Regular, PingFang SC;
  1436. font-weight: 400;
  1437. color: #2671E2;
  1438. font-size: 30rpx;
  1439. margin-right: 30rpx;
  1440. display: flex;
  1441. align-items: center;
  1442. justify-content: center;
  1443. image {
  1444. width: 40rpx;
  1445. height: 40rpx;
  1446. margin-right: 12rpx;
  1447. }
  1448. .icon {
  1449. width: 40rpx;
  1450. height: 40rpx;
  1451. margin-right: 12rpx;
  1452. }
  1453. }
  1454. }
  1455. }
  1456. }
  1457. // 这是弹出层
  1458. .screen {
  1459. .screen-record {
  1460. overflow: hidden;
  1461. padding: 0 30rpx;
  1462. box-sizing: border-box;
  1463. border-bottom: 1px solid #e0e0e0;
  1464. .screen-record-text {
  1465. font-weight: 600;
  1466. padding: 30rpx 0;
  1467. font-size: 30rpx;
  1468. color: #333333;
  1469. line-height: 30rpx;
  1470. display: flex;
  1471. align-items: center;
  1472. justify-content: space-between;
  1473. .arrow {
  1474. width: 30rpx;
  1475. height: 14rpx;
  1476. }
  1477. }
  1478. .screen-record-tab {
  1479. margin-top: 30rpx;
  1480. padding-bottom: 10rpx;
  1481. display: flex;
  1482. flex-wrap: wrap;
  1483. .screen-record-item {
  1484. min-width: 150rpx;
  1485. padding: 0 14rpx;
  1486. height: 60rpx;
  1487. border-radius: 8rpx;
  1488. text-align: center;
  1489. line-height: 60rpx;
  1490. margin: 0 22rpx 22rpx 0;
  1491. &:nth-child(4n) {
  1492. margin-right: 0;
  1493. }
  1494. }
  1495. .screen-record-chose {
  1496. background: #f1f6fd;
  1497. color: #2671e2;
  1498. }
  1499. .screen-record-nochose {
  1500. background: #f7f8fa;
  1501. color: #333;
  1502. }
  1503. }
  1504. }
  1505. .screen-foot {
  1506. width: 100%;
  1507. height: 78rpx;
  1508. display: flex;
  1509. margin: 30rpx 30rpx 0;
  1510. .screen-foot-reset {
  1511. width: 176rpx;
  1512. height: 78rpx;
  1513. line-height: 78rpx;
  1514. background: #FFFFFF;
  1515. border-radius: 8rpx;
  1516. border: 1px solid #2671E2;
  1517. margin-right: 30rpx;
  1518. font-size: 30rpx;
  1519. font-family: PingFangSC-Regular, PingFang SC;
  1520. font-weight: 400;
  1521. color: #2671E2;
  1522. text-align: center;
  1523. }
  1524. .screen-foot-sure {
  1525. width: 484rpx;
  1526. height: 78rpx;
  1527. line-height: 78rpx;
  1528. background: #2671E2;
  1529. border: 1px solid #2671E2;
  1530. border-radius: 8rpx;
  1531. font-size: 30rpx;
  1532. font-family: PingFangSC-Regular, PingFang SC;
  1533. font-weight: 400;
  1534. color: #FFFFFF;
  1535. text-align: center;
  1536. }
  1537. }
  1538. }
  1539. </style>