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.
 
 
 

1042 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. let tempArr = []
  421. res.forEach(item => {
  422. let tempObj = {}
  423. tempObj.label = item.stageName;
  424. tempObj.value = item.id;
  425. tempArr.push(tempObj)
  426. })
  427. this.phaseList = tempArr;
  428. })
  429. },
  430. selectPhase(e) {
  431. this.screen.clientStageName = e[0].label;
  432. this.screen.clientStage = e[0].value;
  433. },
  434. tapsoltishow() {
  435. this.soltishow = true;
  436. },
  437. taptimetuisshow() {
  438. this.timetushow = true;
  439. },
  440. taptimeisshow() {
  441. this.timeshow = true;
  442. },
  443. //选择标签
  444. selectCallback2(e) {
  445. this.sortFilter = e[0].label;
  446. this.orderBy = e[0].value;
  447. this.nextPage = 1;
  448. this.recordList = [];
  449. this.isRefresh = false;
  450. this.getMyCustom();
  451. },
  452. //选择录音时长
  453. timetap(index, text) {
  454. if (text) this.receptionDuration = text
  455. this.timetushow = false;
  456. this.activeTotal2 = index;
  457. this.nextPage = 1;
  458. this.recordList = [];
  459. this.isRefresh = false;
  460. this.getMyCustom();
  461. },
  462. //时间选择
  463. tabtimetap(index, text) {
  464. this.timeshow = false;
  465. if (text) this.arriveFilter = text
  466. if (index == 4) {
  467. this.totalTimeShow = true;
  468. } else {
  469. this.activeTotal = index;
  470. this.staTime = '';
  471. this.endtime = '';
  472. this.nextPage = 1;
  473. this.recordList = [];
  474. this.isRefresh = false;
  475. this.getMyCustom();
  476. }
  477. },
  478. //自定义时间
  479. totalTimeChange(e) {
  480. this.staTime = e.startDate;
  481. this.endtime = e.endDate;
  482. this.activeTotal = 4;
  483. this.nextPage = 1;
  484. this.recordList = [];
  485. this.isRefresh = false;
  486. this.getMyCustom();
  487. },
  488. tapThevisiting(item) {
  489. uni.showLoading({
  490. title: '加载中',
  491. mask: true
  492. });
  493. if (item.status == 0) {
  494. setTimeout(function() {
  495. uni.hideLoading();
  496. }, 2000);
  497. uni.showToast({
  498. icon: "none",
  499. title: "排队中"
  500. })
  501. return
  502. } else {
  503. const parames = {
  504. pageNum: 1,
  505. pageSize: 100,
  506. query: {
  507. customerId: item.id,
  508. }
  509. }
  510. var item = {
  511. bg: 0,
  512. customerId: item.id,
  513. }
  514. uni.setStorageSync("searchobj", item); //写入缓存
  515. uni.setStorageSync("entrance", 1); //写入缓存
  516. this.$u.post("/corpus/findByPage", parames).then(res => {
  517. if (res == null) {
  518. setTimeout(function() {
  519. uni.hideLoading();
  520. }, 2000);
  521. uni.showToast({
  522. icon: "none",
  523. title: "暂无音频"
  524. })
  525. return
  526. } else {
  527. setTimeout(function() {
  528. uni.hideLoading();
  529. }, 2000);
  530. let newobj = res[0];
  531. if (res[0].merge == 0) {
  532. uni.navigateTo({
  533. url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"2"}`
  534. })
  535. } else {
  536. uni.navigateTo({
  537. url: `/pages/mine/details?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"1"}`
  538. })
  539. }
  540. }
  541. })
  542. }
  543. },
  544. getMyCustom() {
  545. let dateType = 0;
  546. let recDurationInterval = 0;
  547. let orderBy = 0;
  548. if (this.activeTotal == 5) {
  549. dateType = null;
  550. } else if (this.activeTotal == 3) {
  551. dateType = null;
  552. } else if (this.activeTotal == 4) {
  553. dateType = null;
  554. } else {
  555. dateType = this.activeTotal;
  556. }
  557. if (this.activeTotal2 == 0) {
  558. recDurationInterval = null
  559. } else {
  560. recDurationInterval = this.activeTotal2
  561. }
  562. if (this.orderBy == 0) {
  563. orderBy = null;
  564. } else {
  565. orderBy = this.orderBy;
  566. }
  567. var parames = {
  568. pageNum: this.nextPage,
  569. pageSize: 10,
  570. query: {
  571. projectId: this.buildingID,
  572. time: 1,
  573. staTime: this.staTime,
  574. endtime: this.endtime,
  575. visitRecords: this.screen.visitRecord.join(','),
  576. markAdvisor: this.screen.markAdvisor,
  577. dateType: dateType,
  578. recDurationInterval: recDurationInterval,
  579. orderBy: orderBy,
  580. validInvalid: this.screen.validInvalid,
  581. clientStage: this.screen.clientStage,
  582. recording: this.screen.validInvalid == 2 ? 0 : null
  583. }
  584. };
  585. if (this.screen.agentId) {
  586. parames.query.agentId = this.screen.agentId
  587. }
  588. this.$u.post("/customer/findbypage", parames).then(data => {
  589. this.LOADING = false
  590. if (this.staTime && this.endtime) {
  591. this.arriveFilter = `${this.staTime}-${this.endtime}`
  592. }
  593. var list = data.results || [];
  594. if (this.isRefresh) {
  595. this.recordList = list;
  596. } else {
  597. this.recordList = [...this.recordList, ...list];
  598. }
  599. this.totalRecord = data.totalPage;
  600. this.totalRecords = data.totalRecord;
  601. }).catch(e => {
  602. this.LOADING = false
  603. })
  604. },
  605. //获取顾问列表
  606. getFreeList() {
  607. this.$u.post("/cusLvStatistics/selectAllAccountIdByHouseId", {
  608. houseId: this.buildingID
  609. }).then(res => {
  610. this.freeList = res;
  611. this.freeList.forEach(item => {
  612. item.label = item.name;
  613. item.value = item.accountId
  614. })
  615. })
  616. },
  617. // 筛选
  618. screenshow() {
  619. this.screenShow = true
  620. },
  621. actionSelectCallback(e) {
  622. this.screen.agentId = e[0].value;
  623. this.screen.counselorName = e[0].label;
  624. this.recordList = [];
  625. this.nextPage = 1;
  626. this.isRefresh = false;
  627. this.getMyCustom();
  628. },
  629. reset() {
  630. this.screen = {
  631. counselorName: '',
  632. record: '0',
  633. markAdvisor: null,
  634. visitRecord: [],
  635. validInvalid: null,
  636. clientStage: '',
  637. clientStageName: '',
  638. recording: null,
  639. visitRecords: "",
  640. }
  641. this.visitList.map(i => {
  642. i.isShow = false
  643. })
  644. // this.screenShow = false;
  645. this.nextPage = 1;
  646. this.recordList = [];
  647. this.getMyCustom();
  648. },
  649. recordclick(i) {
  650. if (this.screen.visitRecord == i) {
  651. this.screen.visitRecord = null
  652. } else {
  653. this.screen.visitRecord = i
  654. }
  655. },
  656. screenvisitRecord(i) {
  657. if (this.screen.markAdvisor == i) {
  658. this.screen.markAdvisor = null
  659. } else {
  660. this.screen.markAdvisor = i
  661. }
  662. },
  663. screenvisivalidInvalid(i) {
  664. console.log(this.screen.validInvalid, i)
  665. if (this.screen.validInvalid == i) {
  666. this.screen.validInvalid = null
  667. } else {
  668. this.screen.validInvalid = i
  669. }
  670. },
  671. screensure() {
  672. this.screenShow = false;
  673. this.recordList = [];
  674. this.nextPage = 1;
  675. this.isRefresh = false;
  676. this.getMyCustom();
  677. },
  678. goSearch() {
  679. uni.navigateTo({
  680. url: '/pages/center/records/recordSearch'
  681. });
  682. },
  683. },
  684. }
  685. </script>
  686. <style lang="scss" scoped>
  687. .box {
  688. width: 100%;
  689. height: 100%;
  690. background: #F8F8F8;
  691. }
  692. .count {
  693. width: 100%;
  694. height: 90rpx;
  695. display: flex;
  696. align-items: center;
  697. justify-content: center;
  698. background-color: #FBE4E4;
  699. text {
  700. color: #F71616;
  701. }
  702. }
  703. .timeview {
  704. height: 80rpx;
  705. line-height: 80rpx;
  706. width: 100%;
  707. text-align: center;
  708. border-bottom: 1px solid #F8F8F8;
  709. }
  710. //时间切换的样式
  711. .boxtittab {
  712. position: sticky;
  713. top: var(--window-top);
  714. z-index: 999;
  715. width: 100;
  716. height: 92rpx;
  717. background: #FFFFFF;
  718. border: 1px solid #E0E0E0;
  719. display: flex;
  720. align-items: center;
  721. .tabbox {
  722. flex: 1;
  723. height: 100%;
  724. text-align: center;
  725. line-height: 92rpx;
  726. color: #666666;
  727. font-size: 28rpx;
  728. overflow: hidden;
  729. text-overflow: ellipsis;
  730. display: -webkit-box;
  731. /* 将对象作为弹性伸缩盒子模型显示 */
  732. -webkit-line-clamp: 1;
  733. /* 控制最多显示几行 */
  734. -webkit-box-orient: vertical;
  735. /* 设置或检索伸缩盒对象的子元素的排列方式 */
  736. }
  737. }
  738. .search-box {
  739. width: 100%;
  740. height: 102rpx;
  741. background: #FFFFFF;
  742. display: flex;
  743. align-items: center;
  744. justify-content: center;
  745. .search {
  746. width: 94%;
  747. height: 70rpx;
  748. display: flex;
  749. align-items: center;
  750. background: #F8F8F8;
  751. border-radius: 33rpx;
  752. .search-img {
  753. width: 26rpx;
  754. height: 30rpx;
  755. margin-left: 20rpx;
  756. .search-img1 {
  757. width: 100%;
  758. height: 100%;
  759. margin-top: 2rpx;
  760. }
  761. }
  762. .search-text {
  763. font-size: 28rpx;
  764. font-weight: 400;
  765. color: #999999;
  766. margin-left: 10rpx;
  767. }
  768. }
  769. .search-screen {
  770. width: 40rpx;
  771. height: 40rpx;
  772. margin-left: 30rpx;
  773. .search-screen1 {
  774. width: 100%;
  775. height: 100%;
  776. }
  777. }
  778. }
  779. .content {
  780. .content-tips {
  781. background: #fff;
  782. padding: 0 20rpx;
  783. box-sizing: border-box;
  784. overflow: hidden;
  785. margin-top: 20rpx;
  786. .content-first {
  787. margin-top: 19rpx;
  788. display: flex;
  789. justify-content: space-between;
  790. .left {
  791. display: flex;
  792. .img {
  793. width: 52rpx;
  794. height: 52rpx;
  795. background: #FFFFFF;
  796. border: 1px solid #C9C9C9;
  797. border-radius: 50%;
  798. text-align: center;
  799. line-height: 52rpx;
  800. }
  801. .name {
  802. font-weight: 600;
  803. color: #333333;
  804. // margin-left: 20rpx;
  805. margin-top: 11rpx;
  806. }
  807. .status {
  808. width: 110rpx;
  809. height: 42rpx;
  810. background: #FFF9F5;
  811. border-radius: 4rpx;
  812. font-size: 26rpx;
  813. font-weight: 400;
  814. color: #EC8D49;
  815. line-height: 42rpx;
  816. text-align: center;
  817. margin-left: 19rpx;
  818. margin-top: 11rpx;
  819. }
  820. }
  821. .right {
  822. display: flex;
  823. margin-top: 11rpx;
  824. .point {
  825. width: 12rpx;
  826. height: 12rpx;
  827. background: #2B6EFF;
  828. border-radius: 50%;
  829. margin-right: 9rpx;
  830. margin-top: 16rpx;
  831. }
  832. }
  833. }
  834. .content-sec {
  835. display: flex;
  836. justify-content: space-between;
  837. margin-top: 19rpx;
  838. .left {
  839. display: flex;
  840. .cus {
  841. font-size: 30rpx;
  842. font-weight: 400;
  843. color: #666666;
  844. // line-height: 30rpx;
  845. }
  846. .arriveNum {
  847. font-size: 30rpx;
  848. font-weight: 400;
  849. // line-height: 30rpx;
  850. margin-left: 10rpx;
  851. }
  852. }
  853. .right {
  854. width: 120rpx;
  855. height: 46rpx;
  856. background: #F4F8FD;
  857. border-radius: 6rpx;
  858. text-align: center;
  859. line-height: 46rpx;
  860. font-weight: 400;
  861. color: #2671E2;
  862. }
  863. }
  864. .content-last {
  865. // margin: 30rpx 0;
  866. font-size: 30rpx;
  867. font-weight: 400;
  868. color: #666666;
  869. line-height: 30rpx;
  870. margin-top: 22rpx;
  871. margin-bottom: 30rpx;
  872. }
  873. }
  874. }
  875. // 这是弹出层
  876. .screen {
  877. // box-sizing: border-box;
  878. // padding: 0 30rpx;
  879. position: absolute;
  880. .screen-counselor {
  881. display: flex;
  882. height: 106rpx;
  883. // padding: 40rpx 30rpx 36rpx 30rpx;
  884. padding: 0 30rpx;
  885. box-sizing: border-box;
  886. border-bottom: 1px solid #EEEEEE;
  887. .screen-text {
  888. margin: 40rpx 0 36rpx 0;
  889. font-size: 30rpx;
  890. font-weight: 400;
  891. color: #333333;
  892. line-height: 30rpx;
  893. }
  894. .screen-sel {
  895. display: flex;
  896. justify-content: space-between;
  897. width: 500rpx;
  898. margin-left: 60rpx;
  899. .screen-sel-img {
  900. margin: 40rpx 0 36rpx 0;
  901. width: 14rpx;
  902. height: 30rpx;
  903. }
  904. .screen-inp {
  905. margin-top: 20rpx;
  906. }
  907. }
  908. }
  909. .screen-record {
  910. height: 192rpx;
  911. // width: 100%;
  912. overflow: hidden;
  913. padding: 0 30rpx;
  914. box-sizing: border-box;
  915. border-bottom: 1px solid #EEEEEE;
  916. .screen-record-text {
  917. margin-top: 36rpx;
  918. font-size: 30rpx;
  919. font-weight: 400;
  920. color: #333333;
  921. line-height: 30rpx;
  922. }
  923. .screen-record-tab {
  924. margin-top: 30rpx;
  925. display: flex;
  926. // justify-content: space-around;
  927. .screen-record-chose {
  928. width: 156rpx;
  929. height: 60rpx;
  930. background: #2671E2;
  931. border-radius: 4rpx;
  932. border: 1px solid #2671E2;
  933. text-align: center;
  934. line-height: 60rpx;
  935. margin-right: 22rpx;
  936. color: #FFFFFF;
  937. }
  938. .screen-record-nochose {
  939. width: 156rpx;
  940. height: 60rpx;
  941. background: #FFFFFF;
  942. border-radius: 4rpx;
  943. border: 1px solid #C9C9C9;
  944. text-align: center;
  945. line-height: 60rpx;
  946. margin-right: 22rpx;
  947. }
  948. }
  949. }
  950. .screen-foot {
  951. width: 100%;
  952. height: 100rpx;
  953. display: flex;
  954. .screen-foot-reset {
  955. width: 50%;
  956. text-align: center;
  957. height: 100rpx;
  958. line-height: 100rpx;
  959. font-size: 30rpx;
  960. font-weight: 400;
  961. color: #666666;
  962. }
  963. .screen-foot-sure {
  964. width: 50%;
  965. text-align: center;
  966. line-height: 100rpx;
  967. height: 100rpx;
  968. font-size: 30rpx;
  969. font-weight: 400;
  970. color: #FFFFFF;
  971. background: #2671E2;
  972. }
  973. }
  974. }
  975. </style>