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.
 
 
 

1043 lines
25 KiB

  1. <template>
  2. <view class="box">
  3. <!-- 搜索框点击跳转 -->
  4. <view>
  5. <view class="search-box">
  6. <view class="search" @click="goSearch">
  7. <view class="search-img">
  8. <image class="search-img1" src="../../../static/images/search.png" mode=""></image>
  9. </view>
  10. <view class="search-text">输入客户姓名/手机号</view>
  11. </view>
  12. </view>
  13. </view>
  14. <!-- 选择器 -->
  15. <view class="boxtittab">
  16. <view class="tabbox" @click="tapsoltishow">
  17. {{ sortFilter }}
  18. <u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
  19. </view>
  20. <view class="tabbox" @click="taptimeisshow">
  21. {{ arriveFilter }}
  22. <u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
  23. </view>
  24. <view class="tabbox" @click="taptimetuisshow">
  25. {{ receptionDuration }}
  26. <u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
  27. </view>
  28. <view class="tabbox" @click="screenshow">
  29. 更多筛选<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
  30. </view>
  31. </view>
  32. <view class="count" v-if="recordList.length > 0">
  33. 筛选结果:<text>{{totalRecords}} </text>条
  34. </view>
  35. <view class="content">
  36. <view v-if="recordList.length==0"
  37. style="width: 100%;height: 100%;display: flex;align-items: center;background: #FFFFFF;">
  38. <view style="width: 100%;padding-top: 200rpx;">
  39. <view style="width: 100%;text-align: center;">
  40. <image style="width: 220rpx;height: 200rpx;"
  41. src="https://static.quhouse.com/zhikong_xcx_img/nodatalist.png" mode=""></image>
  42. </view>
  43. <view style="text-align: center;width: 100%;margin-top: 20rpx;color: #999999;">暂无数据</view>
  44. </view>
  45. </view>
  46. <view v-if="recordList.length!=0" class="content-tips" v-for="(item,index) in recordList" :key='index'
  47. @click="tapThevisiting(item)">
  48. <view class="content-first">
  49. <view class="left">
  50. <!-- <view class="img">{{item.agentName.slice(0,1)}}</view> -->
  51. <view class="name">{{item.agentName}}</view>
  52. <view class="status" v-if="item.replaceReception==1">代接待</view>
  53. <view style="margin-left: 6rpx;margin-top: 11rpx;color: red;">{{item.receptionStatusName || ''}}
  54. </view>
  55. </view>
  56. <view class="right" v-if="item.recording!=0">
  57. <view style="margin-right: 6rpx;">{{item.validInvalidName||''}}</view>
  58. <view v-if="methodsisshow==true">
  59. <text style="color: red;" v-if="item.taboo==1">违禁接待</text>
  60. <text v-if="item.taboo==1"> |</text>
  61. </view>
  62. <!-- <view class="point"></view> -->
  63. <view v-if="item.markAdvisor==0" class="">未标记</view>
  64. <view v-if="item.markAdvisor==1" class="">已标记</view>
  65. </view>
  66. <view class="right" v-else>
  67. <view class="">无录音</view>
  68. </view>
  69. </view>
  70. <view class="content-sec">
  71. <view class="left">
  72. <view class="cus">客户:{{item.name || '--'}} |</view>
  73. <view class="arriveNum">第{{item.visitRecord || "--"}}次接待</view>
  74. </view>
  75. <view class="right">
  76. {{item.fraction || '0'}}%
  77. </view>
  78. </view>
  79. <view class="content-last">
  80. 需求挖掘:{{item.wordFraction|| 0}}%
  81. </view>
  82. <view class="content-last">
  83. {{item.createTime}} | {{item.mm || '0'}} min
  84. </view>
  85. </view>
  86. </view>
  87. <u-popup v-model="screenShow" mode="top" height="777">
  88. <view class="screen">
  89. <!-- 顾问选择 -->
  90. <view class="screen-counselor">
  91. <view class="screen-text">
  92. 所属顾问
  93. </view>
  94. <view class="screen-sel" @click="selectshow = true">
  95. <u-input v-model="screen.counselorName" type="text" placeholder='请选择' class="screen-inp"
  96. disabled />
  97. <image class="screen-sel-img" src="../../../static/images/right.png" mode=""></image>
  98. </view>
  99. </view>
  100. <!-- <view class="screen-counselor">
  101. <view class="screen-text">
  102. 客户阶段
  103. </view>
  104. <view class="screen-sel" @click="selectPhaseShow = true">
  105. <u-input v-model="screen.clientStageName" type="text" placeholder='请选择' class="screen-inp"
  106. disabled />
  107. <image class="screen-sel-img" src="../../../static/images/right.png" mode=""></image>
  108. </view>
  109. </view> -->
  110. <view class="screen-record">
  111. <view class="screen-record-text">
  112. 录音标识
  113. </view>
  114. <view class="screen-record-tab">
  115. <view :class="[screen.validInvalid==0?'screen-record-chose':'screen-record-nochose']"
  116. @click="screenvisivalidInvalid(0)">
  117. 有效接待
  118. </view>
  119. <view :class="[screen.validInvalid==1?'screen-record-chose':'screen-record-nochose']"
  120. @click="screenvisivalidInvalid(1)">
  121. 无效接待
  122. </view>
  123. <view :class="[screen.validInvalid==2?'screen-record-chose':'screen-record-nochose']"
  124. @click="screenvisivalidInvalid(2)">
  125. 无录音
  126. </view>
  127. </view>
  128. </view>
  129. <view class="screen-record">
  130. <view class="screen-record-text">
  131. 标记顾问
  132. </view>
  133. <view class="screen-record-tab">
  134. <view :class="[screen.markAdvisor==1?'screen-record-chose':'screen-record-nochose']"
  135. @click="screenvisitRecord(1)">
  136. 标记
  137. </view>
  138. <view :class="[screen.markAdvisor==0?'screen-record-chose':'screen-record-nochose']"
  139. @click="screenvisitRecord(0)">
  140. 未标记
  141. </view>
  142. </view>
  143. </view>
  144. <view class="screen-record">
  145. <view class="screen-record-text">
  146. 到访次数
  147. </view>
  148. <view class="screen-record-tab">
  149. <block v-for="(item,index) in visitList" :key="index">
  150. <view :class="[item.isShow?'screen-record-chose':'screen-record-nochose']"
  151. @click="choice(index,item.value)">
  152. {{item.label}}
  153. </view>
  154. </block>
  155. <!-- <view :class="[screen.visitRecord==1?'screen-record-chose':'screen-record-nochose']" @click="recordclick(1)">
  156. 首次到访
  157. </view>
  158. <view :class="[screen.visitRecord==2?'screen-record-chose':'screen-record-nochose']" @click="recordclick(2)">
  159. 2次到访
  160. </view>
  161. <view :class="[screen.visitRecord==3?'screen-record-chose':'screen-record-nochose']" @click="recordclick(3)">
  162. 3次到访
  163. </view>
  164. <view :class="[screen.visitRecord==4?'screen-record-chose':'screen-record-nochose']" @click="recordclick(4)">
  165. 3次以上
  166. </view> -->
  167. </view>
  168. </view>
  169. <view class="screen-foot">
  170. <view class="screen-foot-reset" @click="reset">
  171. 重置
  172. </view>
  173. <view class="screen-foot-sure" @click="screensure">
  174. 确定
  175. </view>
  176. </view>
  177. </view>
  178. </u-popup>
  179. <!-- 选择顾问的选择框 -->
  180. <u-select v-model="selectshow" :list="freeList" @confirm="actionSelectCallback"></u-select>
  181. <!-- 客户阶段 -->
  182. <u-select v-model="selectPhaseShow" :list="phaseList" @confirm="selectPhase"></u-select>
  183. <u-calendar v-model="totalTimeShow" mode="range" @change="totalTimeChange"></u-calendar>
  184. <u-popup v-model="timeshow" mode="bottom">
  185. <view class="timeview" :style="{ color: activeTotal == 5 ? '#2B6EFF' : '#333333' }"
  186. @click="tabtimetap(5, '到访时间')">
  187. 全部</view>
  188. <view class="timeview" :style="{ color: activeTotal == 0 ? '#2B6EFF' : '#333333' }"
  189. @click="tabtimetap(0, '今天')">
  190. 今天</view>
  191. <view class="timeview" :style="{ color: activeTotal == 1 ? '#2B6EFF' : '#333333' }"
  192. @click="tabtimetap(1, '昨天')">
  193. 昨天</view>
  194. <view class="timeview" :style="{ color: activeTotal == 2 ? '#2B6EFF' : '#333333' }"
  195. @click="tabtimetap(2, '近7天')">
  196. 近7天</view>
  197. <view class="timeview" :style="{ color: activeTotal == 3 ? '#2B6EFF' : '#333333' }"
  198. @click="tabtimetap(3, '近30天')">
  199. 近30天</view>
  200. <view class="timeview" :style="{ color: activeTotal == 4 ? '#2B6EFF' : '#333333' }"
  201. @click="tabtimetap(4, '')">
  202. 自定义</view>
  203. </u-popup>
  204. <u-popup v-model="timetushow" mode="bottom">
  205. <view class="timeview" :style="{ color: activeTotal2 == 0 ? '#2B6EFF' : '#333333' }"
  206. @click="timetap(0, '接待时长')">全部
  207. </view>
  208. <view class="timeview" :style="{ color: activeTotal2 == 1 ? '#2B6EFF' : '#333333' }"
  209. @click="timetap(1, '0~15min')">
  210. 0~15min</view>
  211. <view class="timeview" :style="{ color: activeTotal2 == 2 ? '#2B6EFF' : '#333333' }"
  212. @click="timetap(2, '15~30min')">
  213. 15~30min</view>
  214. <view class="timeview" :style="{ color: activeTotal2 == 3 ? '#2B6EFF' : '#333333' }"
  215. @click="timetap(3, '30~60min')">
  216. 30~60min</view>
  217. <view class="timeview" :style="{ color: activeTotal2 == 4 ? '#2B6EFF' : '#333333' }"
  218. @click="timetap(4, '60~90min')">
  219. 60~90min</view>
  220. <view class="timeview" :style="{ color: activeTotal2 == 5 ? '#2B6EFF' : '#333333' }"
  221. @click="timetap(5, '90min以上')">
  222. 90min以上</view>
  223. </u-popup>
  224. <u-select v-model="soltishow" :list="orderBylist" @confirm="selectCallback2"></u-select>
  225. <!-- 加载组件 -->
  226. <loading v-model="LOADING"></loading>
  227. </view>
  228. </template>
  229. <script>
  230. import loading from "@/components/loading/index.vue"
  231. export default {
  232. components: {
  233. loading
  234. },
  235. data() {
  236. return {
  237. orderBylist: [{
  238. label: '全部',
  239. value: '0'
  240. },
  241. {
  242. label: '创建时间倒序',
  243. value: '1'
  244. },
  245. {
  246. label: '创建时间正序',
  247. value: '2'
  248. },
  249. {
  250. label: '接待时间倒序',
  251. value: '3'
  252. },
  253. {
  254. label: '接待时间正序',
  255. value: '4'
  256. },
  257. {
  258. label: '执行率正序',
  259. value: '5'
  260. },
  261. {
  262. label: '执行率倒序',
  263. value: '6'
  264. },
  265. {
  266. label: '接访次数正序',
  267. value: '7'
  268. },
  269. {
  270. label: '接访次数倒序',
  271. value: '8'
  272. },
  273. ],
  274. activeTotal: 5,
  275. value: '',
  276. screenShow: false,
  277. selectshow: false,
  278. selectPhaseShow: false,
  279. phaseList: [],
  280. totalTimeShow: false,
  281. screen: {
  282. agentId: '', //顾问id
  283. record: '0',
  284. markAdvisor: null,
  285. visitRecord: [],
  286. validInvalid: null,
  287. clientStage: '',
  288. clientStageName: ''
  289. },
  290. freeList: [], //顾问
  291. recordList: [],
  292. buildingID: '',
  293. nextPage: 1,
  294. totalRecord: "",
  295. staTime: '',
  296. endtime: '',
  297. isnorefresh: '',
  298. activeTotal2: 0,
  299. timeshow: false,
  300. timetushow: false,
  301. soltishow: false,
  302. orderBy: '',
  303. methodsisshow: false,
  304. userInfo: {},
  305. visitList: [{
  306. label: '首次到访',
  307. value: 1,
  308. isShow: false,
  309. }, {
  310. label: '2次到访',
  311. value: 2,
  312. isShow: false,
  313. }, {
  314. label: '3次到访',
  315. value: 3,
  316. isShow: false,
  317. }, {
  318. label: '3次以上',
  319. value: 4,
  320. isShow: false,
  321. }, ],
  322. totalRecords: '',
  323. isRefresh: false,
  324. // 筛选文字展示
  325. sortFilter: '排序',
  326. arriveFilter: '到访时间',
  327. receptionDuration: '接待时长',
  328. }
  329. },
  330. onLoad(options) {
  331. this.LOADING = true
  332. this.isnorefresh = options.refresh;
  333. if (options.activeTotal) {
  334. this.activeTotal = options.activeTotal
  335. }
  336. if (options.markAdvisor) {
  337. this.screen.markAdvisor = options.markAdvisor
  338. }
  339. if (options.validInvalid) {
  340. this.screen.validInvalid = options.validInvalid
  341. }
  342. if (options.staTime) {
  343. this.staTime = options.staTime;
  344. this.endtime = options.endtime + ' 23:59:59';
  345. }
  346. },
  347. onShow() {
  348. this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
  349. if (this.userInfo.dataCode == 6 || this.userInfo.dataCode == 3) {
  350. this.methodsisshow = false;
  351. } else {
  352. this.methodsisshow = true;
  353. }
  354. if (this.isnorefresh == 'refresh') {
  355. this.buildingID = uni.getStorageSync('buildingID').id;
  356. this.recordList = [];
  357. this.nextPage = 1;
  358. this.isRefresh = false;
  359. this.getMyCustom()
  360. this.getFreeList();
  361. this.isnorefresh = '';
  362. }
  363. this.getCustomPhase()
  364. },
  365. onPullDownRefresh() {
  366. this.resetFilter()
  367. this.isRefresh = true;
  368. this.nextPage = 1;
  369. this.getMyCustom()
  370. setTimeout(function() {
  371. uni.stopPullDownRefresh();
  372. }, 1000);
  373. },
  374. onReachBottom() {
  375. if (this.totalRecord == this.nextPage) {
  376. uni.showToast({
  377. icon: 'none',
  378. title: '到底了',
  379. duration: 2000
  380. });
  381. return
  382. } else {
  383. this.nextPage += 1;
  384. this.getMyCustom();
  385. this.isRefresh = false;
  386. }
  387. },
  388. methods: {
  389. // 过滤
  390. resetFilter() {
  391. this.sortFilter = '排序';
  392. this.orderBy = null;
  393. this.arriveFilter = '到访时间';
  394. this.staTime = '';
  395. this.endtime = '';
  396. this.nextPage = 1;
  397. this.activeTotal = 5;
  398. this.recordList = [];
  399. this.receptionDuration = '接待时长';
  400. this.activeTotal2 = 0;
  401. },
  402. choice(index, e) {
  403. if (this.visitList[index].isShow == true) {
  404. this.visitList[index].isShow = false;
  405. for (var i = 0; i < this.screen.visitRecord.length; i++) {
  406. if (this.screen.visitRecord[i] === e) {
  407. this.screen.visitRecord.splice(i, 1);
  408. }
  409. }
  410. } else {
  411. this.visitList[index].isShow = true;
  412. this.screen.visitRecord.push(e)
  413. }
  414. },
  415. getCustomPhase() {
  416. this.phaseList = []
  417. this.$u.post("/customer/lifeTrackDefineList", {
  418. houseId: this.buildingID
  419. }).then(res => {
  420. this.LOADING = false
  421. let tempArr = []
  422. res.forEach(item => {
  423. let tempObj = {}
  424. tempObj.label = item.stageName;
  425. tempObj.value = item.id;
  426. tempArr.push(tempObj)
  427. })
  428. this.phaseList = tempArr;
  429. })
  430. },
  431. selectPhase(e) {
  432. this.screen.clientStageName = e[0].label;
  433. this.screen.clientStage = e[0].value;
  434. },
  435. tapsoltishow() {
  436. this.soltishow = true;
  437. },
  438. taptimetuisshow() {
  439. this.timetushow = true;
  440. },
  441. taptimeisshow() {
  442. this.timeshow = true;
  443. },
  444. //选择标签
  445. selectCallback2(e) {
  446. this.sortFilter = e[0].label;
  447. this.orderBy = e[0].value;
  448. this.nextPage = 1;
  449. this.recordList = [];
  450. this.isRefresh = false;
  451. this.getMyCustom();
  452. },
  453. //选择录音时长
  454. timetap(index, text) {
  455. if (text) this.receptionDuration = text
  456. this.timetushow = false;
  457. this.activeTotal2 = index;
  458. this.nextPage = 1;
  459. this.recordList = [];
  460. this.isRefresh = false;
  461. this.getMyCustom();
  462. },
  463. //时间选择
  464. tabtimetap(index, text) {
  465. this.timeshow = false;
  466. if (text) this.arriveFilter = text
  467. if (index == 4) {
  468. this.totalTimeShow = true;
  469. } else {
  470. this.activeTotal = index;
  471. this.staTime = '';
  472. this.endtime = '';
  473. this.nextPage = 1;
  474. this.recordList = [];
  475. this.isRefresh = false;
  476. this.getMyCustom();
  477. }
  478. },
  479. //自定义时间
  480. totalTimeChange(e) {
  481. this.staTime = e.startDate;
  482. this.endtime = e.endDate;
  483. this.activeTotal = 4;
  484. this.nextPage = 1;
  485. this.recordList = [];
  486. this.isRefresh = false;
  487. this.getMyCustom();
  488. },
  489. tapThevisiting(item) {
  490. uni.showLoading({
  491. title: '加载中',
  492. mask: true
  493. });
  494. if (item.status == 0) {
  495. setTimeout(function() {
  496. uni.hideLoading();
  497. }, 2000);
  498. uni.showToast({
  499. icon: "none",
  500. title: "排队中"
  501. })
  502. return
  503. } else {
  504. const parames = {
  505. pageNum: 1,
  506. pageSize: 100,
  507. query: {
  508. customerId: item.id,
  509. }
  510. }
  511. var item = {
  512. bg: 0,
  513. customerId: item.id,
  514. }
  515. uni.setStorageSync("searchobj", item); //写入缓存
  516. uni.setStorageSync("entrance", 1); //写入缓存
  517. this.$u.post("/corpus/findByPage", parames).then(res => {
  518. if (res == null) {
  519. setTimeout(function() {
  520. uni.hideLoading();
  521. }, 2000);
  522. uni.showToast({
  523. icon: "none",
  524. title: "暂无音频"
  525. })
  526. return
  527. } else {
  528. setTimeout(function() {
  529. uni.hideLoading();
  530. }, 2000);
  531. let newobj = res[0];
  532. if (res[0].merge == 0) {
  533. uni.navigateTo({
  534. url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"2"}`
  535. })
  536. } else {
  537. uni.navigateTo({
  538. url: `/pages/mine/details?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"1"}`
  539. })
  540. }
  541. }
  542. })
  543. }
  544. },
  545. getMyCustom() {
  546. let dateType = 0;
  547. let recDurationInterval = 0;
  548. let orderBy = 0;
  549. if (this.activeTotal == 5) {
  550. dateType = null;
  551. } else if (this.activeTotal == 3) {
  552. dateType = null;
  553. } else if (this.activeTotal == 4) {
  554. dateType = null;
  555. } else {
  556. dateType = this.activeTotal;
  557. }
  558. if (this.activeTotal2 == 0) {
  559. recDurationInterval = null
  560. } else {
  561. recDurationInterval = this.activeTotal2
  562. }
  563. if (this.orderBy == 0) {
  564. orderBy = null;
  565. } else {
  566. orderBy = this.orderBy;
  567. }
  568. var parames = {
  569. pageNum: this.nextPage,
  570. pageSize: 10,
  571. query: {
  572. projectId: this.buildingID,
  573. time: 1,
  574. staTime: this.staTime,
  575. endtime: this.endtime,
  576. visitRecords: this.screen.visitRecord.join(','),
  577. markAdvisor: this.screen.markAdvisor,
  578. dateType: dateType,
  579. recDurationInterval: recDurationInterval,
  580. orderBy: orderBy,
  581. validInvalid: this.screen.validInvalid,
  582. clientStage: this.screen.clientStage,
  583. recording: this.screen.validInvalid == 2 ? 0 : null
  584. }
  585. };
  586. if (this.screen.agentId) {
  587. parames.query.agentId = this.screen.agentId
  588. }
  589. this.$u.post("/customer/findbypage", parames).then(data => {
  590. this.LOADING = false
  591. if (this.staTime && this.endtime) {
  592. this.arriveFilter = `${this.staTime}-${this.endtime}`
  593. }
  594. var list = data.results || [];
  595. if (this.isRefresh) {
  596. this.recordList = list;
  597. } else {
  598. this.recordList = [...this.recordList, ...list];
  599. }
  600. this.totalRecord = data.totalPage;
  601. this.totalRecords = data.totalRecord;
  602. }).catch(e => {
  603. this.LOADING = false
  604. })
  605. },
  606. //获取顾问列表
  607. getFreeList() {
  608. this.$u.post("/cusLvStatistics/selectAllAccountIdByHouseId", {
  609. houseId: this.buildingID
  610. }).then(res => {
  611. this.freeList = res;
  612. this.freeList.forEach(item => {
  613. item.label = item.name;
  614. item.value = item.accountId
  615. })
  616. })
  617. },
  618. // 筛选
  619. screenshow() {
  620. this.screenShow = true
  621. },
  622. actionSelectCallback(e) {
  623. this.screen.agentId = e[0].value;
  624. this.screen.counselorName = e[0].label;
  625. this.recordList = [];
  626. this.nextPage = 1;
  627. this.isRefresh = false;
  628. this.getMyCustom();
  629. },
  630. reset() {
  631. this.screen = {
  632. counselorName: '',
  633. record: '0',
  634. markAdvisor: null,
  635. visitRecord: [],
  636. validInvalid: null,
  637. clientStage: '',
  638. clientStageName: '',
  639. recording: null,
  640. visitRecords: "",
  641. }
  642. this.visitList.map(i => {
  643. i.isShow = false
  644. })
  645. // this.screenShow = false;
  646. this.nextPage = 1;
  647. this.recordList = [];
  648. this.getMyCustom();
  649. },
  650. recordclick(i) {
  651. if (this.screen.visitRecord == i) {
  652. this.screen.visitRecord = null
  653. } else {
  654. this.screen.visitRecord = i
  655. }
  656. },
  657. screenvisitRecord(i) {
  658. if (this.screen.markAdvisor == i) {
  659. this.screen.markAdvisor = null
  660. } else {
  661. this.screen.markAdvisor = i
  662. }
  663. },
  664. screenvisivalidInvalid(i) {
  665. console.log(this.screen.validInvalid, i)
  666. if (this.screen.validInvalid == i) {
  667. this.screen.validInvalid = null
  668. } else {
  669. this.screen.validInvalid = i
  670. }
  671. },
  672. screensure() {
  673. this.screenShow = false;
  674. this.recordList = [];
  675. this.nextPage = 1;
  676. this.isRefresh = false;
  677. this.getMyCustom();
  678. },
  679. goSearch() {
  680. uni.navigateTo({
  681. url: '/pages/center/records/recordSearch'
  682. });
  683. },
  684. },
  685. }
  686. </script>
  687. <style lang="scss" scoped>
  688. .box {
  689. width: 100%;
  690. height: 100%;
  691. background: #F8F8F8;
  692. }
  693. .count {
  694. width: 100%;
  695. height: 90rpx;
  696. display: flex;
  697. align-items: center;
  698. justify-content: center;
  699. background-color: #FBE4E4;
  700. text {
  701. color: #F71616;
  702. }
  703. }
  704. .timeview {
  705. height: 80rpx;
  706. line-height: 80rpx;
  707. width: 100%;
  708. text-align: center;
  709. border-bottom: 1px solid #F8F8F8;
  710. }
  711. //时间切换的样式
  712. .boxtittab {
  713. position: sticky;
  714. top: var(--window-top);
  715. z-index: 999;
  716. width: 100;
  717. height: 92rpx;
  718. background: #FFFFFF;
  719. border: 1px solid #E0E0E0;
  720. display: flex;
  721. align-items: center;
  722. .tabbox {
  723. flex: 1;
  724. height: 100%;
  725. text-align: center;
  726. line-height: 92rpx;
  727. color: #666666;
  728. font-size: 28rpx;
  729. overflow: hidden;
  730. text-overflow: ellipsis;
  731. display: -webkit-box;
  732. /* 将对象作为弹性伸缩盒子模型显示 */
  733. -webkit-line-clamp: 1;
  734. /* 控制最多显示几行 */
  735. -webkit-box-orient: vertical;
  736. /* 设置或检索伸缩盒对象的子元素的排列方式 */
  737. }
  738. }
  739. .search-box {
  740. width: 100%;
  741. height: 102rpx;
  742. background: #FFFFFF;
  743. display: flex;
  744. align-items: center;
  745. justify-content: center;
  746. .search {
  747. width: 94%;
  748. height: 70rpx;
  749. display: flex;
  750. align-items: center;
  751. background: #F8F8F8;
  752. border-radius: 33rpx;
  753. .search-img {
  754. width: 26rpx;
  755. height: 30rpx;
  756. margin-left: 20rpx;
  757. .search-img1 {
  758. width: 100%;
  759. height: 100%;
  760. margin-top: 2rpx;
  761. }
  762. }
  763. .search-text {
  764. font-size: 28rpx;
  765. font-weight: 400;
  766. color: #999999;
  767. margin-left: 10rpx;
  768. }
  769. }
  770. .search-screen {
  771. width: 40rpx;
  772. height: 40rpx;
  773. margin-left: 30rpx;
  774. .search-screen1 {
  775. width: 100%;
  776. height: 100%;
  777. }
  778. }
  779. }
  780. .content {
  781. .content-tips {
  782. background: #fff;
  783. padding: 0 20rpx;
  784. box-sizing: border-box;
  785. overflow: hidden;
  786. margin-top: 20rpx;
  787. .content-first {
  788. margin-top: 19rpx;
  789. display: flex;
  790. justify-content: space-between;
  791. .left {
  792. display: flex;
  793. .img {
  794. width: 52rpx;
  795. height: 52rpx;
  796. background: #FFFFFF;
  797. border: 1px solid #C9C9C9;
  798. border-radius: 50%;
  799. text-align: center;
  800. line-height: 52rpx;
  801. }
  802. .name {
  803. font-weight: 600;
  804. color: #333333;
  805. // margin-left: 20rpx;
  806. margin-top: 11rpx;
  807. }
  808. .status {
  809. width: 110rpx;
  810. height: 42rpx;
  811. background: #FFF9F5;
  812. border-radius: 4rpx;
  813. font-size: 26rpx;
  814. font-weight: 400;
  815. color: #EC8D49;
  816. line-height: 42rpx;
  817. text-align: center;
  818. margin-left: 19rpx;
  819. margin-top: 11rpx;
  820. }
  821. }
  822. .right {
  823. display: flex;
  824. margin-top: 11rpx;
  825. .point {
  826. width: 12rpx;
  827. height: 12rpx;
  828. background: #2B6EFF;
  829. border-radius: 50%;
  830. margin-right: 9rpx;
  831. margin-top: 16rpx;
  832. }
  833. }
  834. }
  835. .content-sec {
  836. display: flex;
  837. justify-content: space-between;
  838. margin-top: 19rpx;
  839. .left {
  840. display: flex;
  841. .cus {
  842. font-size: 30rpx;
  843. font-weight: 400;
  844. color: #666666;
  845. // line-height: 30rpx;
  846. }
  847. .arriveNum {
  848. font-size: 30rpx;
  849. font-weight: 400;
  850. // line-height: 30rpx;
  851. margin-left: 10rpx;
  852. }
  853. }
  854. .right {
  855. width: 120rpx;
  856. height: 46rpx;
  857. background: #F4F8FD;
  858. border-radius: 6rpx;
  859. text-align: center;
  860. line-height: 46rpx;
  861. font-weight: 400;
  862. color: #2671E2;
  863. }
  864. }
  865. .content-last {
  866. // margin: 30rpx 0;
  867. font-size: 30rpx;
  868. font-weight: 400;
  869. color: #666666;
  870. line-height: 30rpx;
  871. margin-top: 22rpx;
  872. margin-bottom: 30rpx;
  873. }
  874. }
  875. }
  876. // 这是弹出层
  877. .screen {
  878. // box-sizing: border-box;
  879. // padding: 0 30rpx;
  880. position: absolute;
  881. .screen-counselor {
  882. display: flex;
  883. height: 106rpx;
  884. // padding: 40rpx 30rpx 36rpx 30rpx;
  885. padding: 0 30rpx;
  886. box-sizing: border-box;
  887. border-bottom: 1px solid #EEEEEE;
  888. .screen-text {
  889. margin: 40rpx 0 36rpx 0;
  890. font-size: 30rpx;
  891. font-weight: 400;
  892. color: #333333;
  893. line-height: 30rpx;
  894. }
  895. .screen-sel {
  896. display: flex;
  897. justify-content: space-between;
  898. width: 500rpx;
  899. margin-left: 60rpx;
  900. .screen-sel-img {
  901. margin: 40rpx 0 36rpx 0;
  902. width: 14rpx;
  903. height: 30rpx;
  904. }
  905. .screen-inp {
  906. margin-top: 20rpx;
  907. }
  908. }
  909. }
  910. .screen-record {
  911. height: 192rpx;
  912. // width: 100%;
  913. overflow: hidden;
  914. padding: 0 30rpx;
  915. box-sizing: border-box;
  916. border-bottom: 1px solid #EEEEEE;
  917. .screen-record-text {
  918. margin-top: 36rpx;
  919. font-size: 30rpx;
  920. font-weight: 400;
  921. color: #333333;
  922. line-height: 30rpx;
  923. }
  924. .screen-record-tab {
  925. margin-top: 30rpx;
  926. display: flex;
  927. // justify-content: space-around;
  928. .screen-record-chose {
  929. width: 156rpx;
  930. height: 60rpx;
  931. background: #2671E2;
  932. border-radius: 4rpx;
  933. border: 1px solid #2671E2;
  934. text-align: center;
  935. line-height: 60rpx;
  936. margin-right: 22rpx;
  937. color: #FFFFFF;
  938. }
  939. .screen-record-nochose {
  940. width: 156rpx;
  941. height: 60rpx;
  942. background: #FFFFFF;
  943. border-radius: 4rpx;
  944. border: 1px solid #C9C9C9;
  945. text-align: center;
  946. line-height: 60rpx;
  947. margin-right: 22rpx;
  948. }
  949. }
  950. }
  951. .screen-foot {
  952. width: 100%;
  953. height: 100rpx;
  954. display: flex;
  955. .screen-foot-reset {
  956. width: 50%;
  957. text-align: center;
  958. height: 100rpx;
  959. line-height: 100rpx;
  960. font-size: 30rpx;
  961. font-weight: 400;
  962. color: #666666;
  963. }
  964. .screen-foot-sure {
  965. width: 50%;
  966. text-align: center;
  967. line-height: 100rpx;
  968. height: 100rpx;
  969. font-size: 30rpx;
  970. font-weight: 400;
  971. color: #FFFFFF;
  972. background: #2671E2;
  973. }
  974. }
  975. }
  976. </style>