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.

index.vue 23 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943
  1. <template>
  2. <view class="box">
  3. <!-- -->
  4. <view style="flex-shrink: 0;">
  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. 排序<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
  18. </view>
  19. <view class="tabbox" @click="taptimeisshow">
  20. 到访时间<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
  21. </view>
  22. <view class="tabbox" @click="taptimetuisshow">
  23. 接待时长<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
  24. </view>
  25. <view class="tabbox" @click="screenshow">
  26. 更多筛选<u-icon name="arrow-down" size="24" style="padding-left: 12rpx;"></u-icon>
  27. </view>
  28. </view>
  29. <view class="content">
  30. <view v-if="recordList.length==0" style="width: 100%;height: 100%;display: flex;align-items: center;">
  31. <view style="width: 100%;height: 100%;padding-top: 200rpx;">
  32. <view style="width: 100%;text-align: center;">
  33. <image style="width: 220rpx;height: 200rpx;"
  34. src="https://static.quhouse.com/zhikong_xcx_img/nodatalist.png" mode=""></image>
  35. </view>
  36. <view style="text-align: center;width: 100%;margin-top: 20rpx;color: #999999;">暂无数据</view>
  37. </view>
  38. </view>
  39. <view v-if="recordList.length!=0" class="content-tips" v-for="(item,index) in recordList" :key='index'
  40. @click="gotoDetail(item.id)">
  41. <view class="content-first">
  42. <view class="left">
  43. <template v-if="item.level > 0">
  44. <view class="img">{{ item.level | levelText }}</view>
  45. </template>
  46. <view class="test">{{item.name}}</view>
  47. </view>
  48. <view class="right">
  49. {{item.fraction || '0'}}%
  50. <image class="right-img" src="../../../static/images/arrow-right.png" mode=""></image>
  51. </view>
  52. </view>
  53. <view class="content-sec">
  54. <view class="content-sec-lab">
  55. 客户手机:<view class="content-sec-lab1">{{item.phone | phoneText}}</view>
  56. </view>
  57. <view class="content-sec-lab">
  58. 负责顾问:<view class="content-sec-lab1">{{item.agentName}}</view>
  59. </view>
  60. <view class="content-sec-lab" style="line-height: 46rpx;">
  61. 客户意向:
  62. <text v-if="item.demand.cusSemanticWordsList==null">暂无</text>
  63. <template v-else>
  64. <block v-for="(che,ind) in item.demand.cusSemanticWordsList" :key='ind'>
  65. <view class="content-sec-tips">{{che.name}}</view>
  66. </block>
  67. </template>
  68. </view>
  69. <view class="content-sec-lab">
  70. 添加时间:<view class="content-sec-lab1">{{item.createTime | formatTime}}</view>
  71. </view>
  72. <view class="content-sec-num">
  73. <view class="">{{item.visitRecord || '--'}}次到访 | {{item.mm || '0'}}<text
  74. style="font-size: 24rpx;">min</text></view>
  75. </view>
  76. </view>
  77. <template v-if="permissions.commonly2">
  78. <view class="content-last">
  79. <!-- <view class="content-last-tab">添加提醒</view>
  80. <view class="content-last-tab">拨打电话</view> -->
  81. <view class="content-last-tab" @click.stop="gotoFollowUp(item.id)">写跟进</view>
  82. </view>
  83. </template>
  84. </view>
  85. </view>
  86. <u-popup v-model="screenShow" mode="top">
  87. <view class="screen">
  88. <!-- 顾问选择 -->
  89. <view class="screen-counselor">
  90. <view class="screen-text">
  91. 所属顾问
  92. </view>
  93. <view class="screen-sel" @click="selectshow = true">
  94. <u-input v-model="screen.agentIdtext" type="text" placeholder='请选择' class="screen-inp"
  95. disabled />
  96. <image class="screen-sel-img" src="../../../static/images/right.png" mode=""></image>
  97. </view>
  98. </view>
  99. <view class="screen-counselor">
  100. <view class="screen-text">
  101. 客户标签
  102. </view>
  103. <view class="screen-sel" @click="selectTipshow = true">
  104. <u-input v-model="screen.cunsumerTips" type="text" placeholder='请选择' class="screen-inp"
  105. disabled />
  106. <image class="screen-sel-img" src="../../../static/images/right.png" mode=""></image>
  107. </view>
  108. </view>
  109. <!-- 录音标示 -->
  110. <view class="screen-record">
  111. <view class="screen-record-text">
  112. 客户等级
  113. </view>
  114. <view class="screen-record-tab">
  115. <view :class="[screen.record==0?'screen-record-chose':'screen-record-nochose']"
  116. @click="recordclick(0)">
  117. A
  118. </view>
  119. <view :class="[screen.record==1?'screen-record-chose':'screen-record-nochose']"
  120. @click="recordclick(1)">
  121. B
  122. </view>
  123. <view :class="[screen.record==2?'screen-record-chose':'screen-record-nochose']"
  124. @click="recordclick(2)">
  125. C
  126. </view>
  127. <view :class="[screen.record==3?'screen-record-chose':'screen-record-nochose']"
  128. @click="recordclick(3)">
  129. D
  130. </view>
  131. </view>
  132. </view>
  133. <!-- 客户来源 -->
  134. <template v-if="list.length > 0">
  135. <view class="screen-record">
  136. <view class="screen-record-text">
  137. 客户来源
  138. </view>
  139. <view class="screen-record-tab">
  140. <block v-for="(item, index) in list" :key="index">
  141. <view @tap="sourceId = item.id; sourceIndex = index "
  142. :class="[sourceIndex == index ? 'screen-record-chose':'screen-record-nochose']">
  143. {{ item.sourceName }}
  144. </view>
  145. </block>
  146. </view>
  147. </view>
  148. </template>
  149. <view class="screen-record">
  150. <view class="screen-record-text">
  151. 到访次数
  152. </view>
  153. <view class="screen-record-tab">
  154. <view :class="[screen.visitRecord==1?'screen-record-chose':'screen-record-nochose']"
  155. @click="screenvisitRecord(1)">
  156. 首次到访
  157. </view>
  158. <view :class="[screen.visitRecord==2?'screen-record-chose':'screen-record-nochose']"
  159. @click="screenvisitRecord(2)">
  160. 2次到访
  161. </view>
  162. <view :class="[screen.visitRecord==3?'screen-record-chose':'screen-record-nochose']"
  163. @click="screenvisitRecord(3)">
  164. 3次到访
  165. </view>
  166. <view :class="[screen.visitRecord==4?'screen-record-chose':'screen-record-nochose']"
  167. @click="screenvisitRecord(4)">
  168. 3次以上
  169. </view>
  170. </view>
  171. </view>
  172. <view class="screen-foot">
  173. <view class="screen-foot-reset" @click="reset">
  174. 重置
  175. </view>
  176. <view class="screen-foot-sure" @click="screensure">
  177. 确定
  178. </view>
  179. </view>
  180. </view>
  181. </u-popup>
  182. <!-- 选择顾问的选择框 -->
  183. <u-select v-model="selectshow" :list="freeList" @confirm="actionSelectCallback"></u-select>
  184. <!-- 客户标签 -->
  185. <u-select v-model="selectTipshow" :list="findKeywordsList" @confirm="selectCallback"></u-select>
  186. <u-calendar v-model="totalTimeShow" mode="range" @change="totalTimeChange"></u-calendar>
  187. <u-popup v-model="timeshow" mode="bottom">
  188. <view class="timeview" :style="{ color: activeTotal == 5 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(5)">
  189. 全部</view>
  190. <view class="timeview" :style="{ color: activeTotal == 0 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(0)">
  191. 今天</view>
  192. <view class="timeview" :style="{ color: activeTotal == 1 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(1)">
  193. 昨天</view>
  194. <view class="timeview" :style="{ color: activeTotal == 2 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(2)">
  195. 近7天</view>
  196. <view class="timeview" :style="{ color: activeTotal == 3 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(3)">
  197. 近30天</view>
  198. <view class="timeview" :style="{ color: activeTotal == 4 ? '#2B6EFF' : '#333333' }" @click="tabtimetap(4)">
  199. 自定义</view>
  200. </u-popup>
  201. <u-popup v-model="timetushow" mode="bottom">
  202. <view class="timeview" :style="{ color: activeTotal2 == 0 ? '#2B6EFF' : '#333333' }" @click="timetap(0)">全部
  203. </view>
  204. <view class="timeview" :style="{ color: activeTotal2 == 1 ? '#2B6EFF' : '#333333' }" @click="timetap(1)">
  205. 0~15min</view>
  206. <view class="timeview" :style="{ color: activeTotal2 == 2 ? '#2B6EFF' : '#333333' }" @click="timetap(2)">
  207. 15~30min</view>
  208. <view class="timeview" :style="{ color: activeTotal2 == 3 ? '#2B6EFF' : '#333333' }" @click="timetap(3)">
  209. 30~60min</view>
  210. <view class="timeview" :style="{ color: activeTotal2 == 4 ? '#2B6EFF' : '#333333' }" @click="timetap(4)">
  211. 60~90min</view>
  212. <view class="timeview" :style="{ color: activeTotal2 == 5 ? '#2B6EFF' : '#333333' }" @click="timetap(5)">
  213. 90min以上</view>
  214. </u-popup>
  215. <u-select v-model="soltishow" :list="orderBylist" @confirm="selectCallback2"></u-select>
  216. <!-- 底部导航栏 -->
  217. <u-tabbar :mid-button="true" activeColor="#1296db" inactiveColor="#999999" v-model="current" :list="tabbarList">
  218. </u-tabbar>
  219. </view>
  220. </template>
  221. <script>
  222. import tabbarList from '@/utils/tabbar.js'
  223. export default {
  224. data() {
  225. return {
  226. // tabbar配置项
  227. current: 1,
  228. tabbarList: tabbarList,
  229. //--- end --- tabbar配置项
  230. orderBylist: [
  231. /*{
  232. label: '全部',
  233. value: '0'
  234. },*/
  235. {
  236. label: '创建时间倒序',
  237. value: '1'
  238. },
  239. {
  240. label: '创建时间正序',
  241. value: '2'
  242. },
  243. {
  244. label: '接待时间倒序',
  245. value: '3'
  246. },
  247. {
  248. label: '接待时间正序',
  249. value: '4'
  250. },
  251. {
  252. label: '执行率正序',
  253. value: '5'
  254. },
  255. {
  256. label: '执行率倒序',
  257. value: '6'
  258. },
  259. {
  260. label: '接访次数正序',
  261. value: '7'
  262. },
  263. {
  264. label: '接访次数倒序',
  265. value: '8'
  266. },
  267. ],
  268. value: '',
  269. screenShow: false,
  270. selectshow: false,
  271. selectTipshow: false,
  272. buildingID: '',
  273. screen: {
  274. agentId: '',
  275. agentIdtext: '',
  276. visitRecord: '',
  277. record: null,
  278. cunsumerTips: '',
  279. cunsumerTipsid: ''
  280. },
  281. stageList: ['未知', '到访', '意向', '定金', '成交'],
  282. recordList: [],
  283. nextPage: 1,
  284. totalRecord: '',
  285. freeList: [],
  286. userInfo: {},
  287. findKeywordsList: [],
  288. isnorefresh: '',
  289. activeTotal: 5,
  290. activeTotal2: 0,
  291. totalTimeShow: false,
  292. timeshow: false,
  293. timetushow: false,
  294. soltishow: false,
  295. staTime: '',
  296. endtime: '',
  297. orderBy: '',
  298. permissions: {
  299. commonly1: false,
  300. commonly2: false
  301. },
  302. list: [], // 客户来源列表
  303. sourceId: '', // 选中的客户来源id
  304. sourceIndex: -1, // 选中项的下标
  305. }
  306. },
  307. onLoad(options) {
  308. this.isnorefresh = 'refresh';
  309. },
  310. onShow() {
  311. let newmenulist = uni.getStorageSync('weapp_session_Menu_data');
  312. this.permissions.commonly1 = newmenulist.khgl_ck;
  313. this.permissions.commonly2 = newmenulist.khgl_gj;
  314. if (this.isnorefresh == 'refresh') {
  315. this.buildingID = uni.getStorageSync('buildingID').id;
  316. this.nextPage = 1;
  317. this.recordList = []
  318. // this.getMyCustom()
  319. this.getFreeList()
  320. this.getfindKeywordsList()
  321. this.getFromSource();
  322. // this.isnorefresh = '';
  323. this.getMyCustom()
  324. }
  325. },
  326. onReachBottom() {
  327. if (this.totalRecord == this.nextPage) {
  328. uni.showToast({
  329. icon: 'none',
  330. title: '到底了',
  331. duration: 2000
  332. });
  333. return
  334. } else {
  335. this.nextPage += 1;
  336. this.getMyCustom();
  337. }
  338. },
  339. methods: {
  340. // 获取客户来源
  341. getFromSource() {
  342. this.$u.get('customer/findCustomerSourceList', {
  343. houseId: this.buildingID
  344. }).then(res => {
  345. console.log('我进来了')
  346. this.list = res
  347. })
  348. },
  349. tapsoltishow() {
  350. this.soltishow = true;
  351. },
  352. taptimetuisshow() {
  353. this.timetushow = true;
  354. },
  355. taptimeisshow() {
  356. this.timeshow = true;
  357. },
  358. //选择标签
  359. selectCallback2(e) {
  360. this.orderBy = e[0].value;
  361. this.nextPage = 1;
  362. this.recordList = [];
  363. this.getMyCustom();
  364. },
  365. //选择录音时长
  366. timetap(index) {
  367. this.timetushow = false;
  368. this.activeTotal2 = index;
  369. this.nextPage = 1;
  370. this.recordList = [];
  371. this.getMyCustom();
  372. },
  373. //时间选择
  374. tabtimetap(index) {
  375. this.timeshow = false;
  376. if (index == 4) {
  377. this.totalTimeShow = true;
  378. } else {
  379. this.activeTotal = index;
  380. this.staTime = '';
  381. this.endtime = '';
  382. this.nextPage = 1;
  383. this.recordList = [];
  384. this.getMyCustom();
  385. }
  386. },
  387. //自定义时间
  388. totalTimeChange(e) {
  389. this.staTime = e.startDate;
  390. this.endtime = e.endDate;
  391. this.activeTotal = 4;
  392. this.nextPage = 1;
  393. this.recordList = [];
  394. this.getMyCustom();
  395. },
  396. recordclick(i) {
  397. if (this.screen.record == i) {
  398. this.screen.record = null
  399. } else {
  400. this.screen.record = i
  401. }
  402. },
  403. screenvisitRecord(i) {
  404. if (this.screen.visitRecord == i) {
  405. this.screen.visitRecord = ''
  406. } else {
  407. this.screen.visitRecord = i
  408. }
  409. },
  410. // 客户详情
  411. gotoDetail(id) {
  412. if (this.permissions.commonly1 == true) {
  413. uni.navigateTo({
  414. url: `/pages/center/consumer/consumerDetail?id=${id}`
  415. })
  416. }
  417. },
  418. getMyCustom() {
  419. let dateType = 0;
  420. let recDurationInterval = 0;
  421. let orderBy = 0;
  422. if (this.activeTotal == 5) {
  423. dateType = null;
  424. } else if (this.activeTotal == 4) {
  425. dateType = null;
  426. } else {
  427. dateType = this.activeTotal;
  428. }
  429. if (this.activeTotal2 == 0) {
  430. recDurationInterval = null
  431. } else {
  432. recDurationInterval = this.activeTotal2
  433. }
  434. if (this.orderBy == 0) {
  435. orderBy = null;
  436. } else {
  437. orderBy = this.orderBy;
  438. }
  439. var parames = {
  440. pageNum: this.nextPage,
  441. pageSize: 10,
  442. query: {
  443. projectId: this.buildingID,
  444. keywordsId: this.screen.cunsumerTipsid,
  445. agentId: this.screen.agentId,
  446. dateType: dateType,
  447. staDate: this.staTime,
  448. endDate: this.endtime,
  449. recDurationInterval: recDurationInterval,
  450. orderBy: orderBy,
  451. sourceId: this.sourceId
  452. }
  453. };
  454. if (this.screen.visitRecord > 0) {
  455. parames.query.visitRecord = this.screen.visitRecord;
  456. }
  457. if (this.screen.record == 0) {
  458. parames.query.levels = ["1"]
  459. } else if (this.screen.record == 1) {
  460. parames.query.levels = ["2"]
  461. } else if (this.screen.record == 2) {
  462. parames.query.levels = ["3"]
  463. } else if (this.screen.record == 3) {
  464. parames.query.levels = ["4"]
  465. } else {
  466. parames.query.levels = null
  467. }
  468. this.$u.post("/customer/customerManagement", parames).then(data => {
  469. var list = data.results || [];
  470. console.log(list)
  471. list.forEach(item => {
  472. if (item.demand.cusSemanticWordsList != null) {
  473. item.demand.cusSemanticWordsList.forEach(che => {
  474. if (che.isInterval == 0) {
  475. che.name = che.name + che.unit + '-' + che.endName + che.unit;
  476. }
  477. })
  478. }
  479. })
  480. this.recordList = [...this.recordList, ...list];
  481. this.totalRecord = data.totalPage;
  482. })
  483. },
  484. //获取顾问列表
  485. getFreeList() {
  486. this.freeList = []
  487. this.$u.get("/zkAgentPool/freeList?itemId=" + this.buildingID).then(res => {
  488. this.freeList = res;
  489. this.freeList.forEach(item => {
  490. item.label = item.name;
  491. item.value = item.agentId
  492. })
  493. })
  494. },
  495. //获取客户标签
  496. getfindKeywordsList() {
  497. this.findKeywordsList = []
  498. this.$u.post("/customer/findKeywords", {
  499. houseId: this.buildingID
  500. }).then(res => {
  501. res.forEach(item => {
  502. if (item.isInterval == 0) {
  503. item.label = item.name + item.unit + '-' + item.endName + item.unit;
  504. } else {
  505. item.label = item.name
  506. }
  507. item.value = item.id;
  508. })
  509. this.findKeywordsList = res;
  510. })
  511. },
  512. // 筛选
  513. screenshow() {
  514. this.screenShow = true
  515. },
  516. //选择顾问
  517. actionSelectCallback(e) {
  518. this.screen.agentId = e[0].value;
  519. this.screen.agentIdtext = e[0].label;
  520. },
  521. //选择标签
  522. selectCallback(e) {
  523. this.screen.cunsumerTips = e[0].label;
  524. this.screen.cunsumerTipsid = e[0].value;
  525. },
  526. //重置
  527. reset() {
  528. this.screen = {
  529. agentId: '',
  530. agentIdtext: '',
  531. visitRecord: '',
  532. record: null,
  533. cunsumerTips: '',
  534. cunsumerTipsid: ''
  535. }
  536. this.nextPage = 1;
  537. this.recordList = [];
  538. this.screenShow = false;
  539. this.sourceId = '';
  540. this.sourceIndex = -1;
  541. this.getMyCustom();
  542. },
  543. //筛选确认
  544. screensure() {
  545. this.nextPage = 1;
  546. this.recordList = [];
  547. this.screenShow = false;
  548. this.getMyCustom();
  549. },
  550. goSearch() {
  551. uni.navigateTo({
  552. url: '/pages/center/consumer/consumerSearch'
  553. });
  554. },
  555. gotoFollowUp(id) {
  556. uni.navigateTo({
  557. url: `/pages/center/consumer/newFollowup/newFollowup?id=${id}`
  558. })
  559. },
  560. },
  561. filters: {
  562. // 筛选等级展示文字
  563. levelText(level) {
  564. let str = '';
  565. switch (Number(level)) {
  566. case 1:
  567. str = "A"
  568. break;
  569. case 2:
  570. str = "A"
  571. break;
  572. case 3:
  573. str = "A"
  574. break;
  575. case 4:
  576. str = "A"
  577. break;
  578. default:
  579. str = ''
  580. break;
  581. }
  582. return str
  583. },
  584. // 加密手机
  585. phoneText(mobile) {
  586. if (!mobile) return '--'
  587. return mobile.replace(/(\d{3})\d{4}(\d{4})/, '$1****$2')
  588. },
  589. // 格式化时间
  590. formatTime(time) {
  591. if (!time) return
  592. return time.substring(5, time.length)
  593. }
  594. }
  595. }
  596. </script>
  597. <style lang="scss" scoped>
  598. .box {
  599. width: 100vw;
  600. min-height: calc(100vh - var(--window-top));
  601. background: #F8F8F8;
  602. display: flex;
  603. flex-direction: column;
  604. .content {
  605. flex-grow: 1;
  606. }
  607. }
  608. .timeview {
  609. height: 80rpx;
  610. line-height: 80rpx;
  611. width: 100%;
  612. text-align: center;
  613. border-bottom: 1px solid #F8F8F8;
  614. }
  615. //时间切换的样式
  616. .boxtittab {
  617. width: 100;
  618. height: 92rpx;
  619. background: #FFFFFF;
  620. border: 1px solid #E0E0E0;
  621. flex-shrink: 0;
  622. display: flex;
  623. align-items: center;
  624. .tabbox {
  625. flex: 1;
  626. height: 100%;
  627. text-align: center;
  628. line-height: 92rpx;
  629. color: #666666;
  630. font-size: 28rpx;
  631. }
  632. }
  633. .search-box {
  634. width: 100%;
  635. height: 102rpx;
  636. background: #FFFFFF;
  637. display: flex;
  638. align-items: center;
  639. justify-content: center;
  640. .search {
  641. width: 94%;
  642. height: 70rpx;
  643. display: flex;
  644. align-items: center;
  645. background: #F8F8F8;
  646. border-radius: 33rpx;
  647. .search-img {
  648. width: 26rpx;
  649. height: 30rpx;
  650. margin-left: 20rpx;
  651. .search-img1 {
  652. width: 100%;
  653. height: 100%;
  654. margin-top: 2rpx;
  655. }
  656. }
  657. .search-text {
  658. font-size: 28rpx;
  659. font-weight: 400;
  660. color: #999999;
  661. margin-left: 10rpx;
  662. }
  663. }
  664. .search-screen {
  665. width: 40rpx;
  666. height: 40rpx;
  667. margin-left: 30rpx;
  668. .search-screen1 {
  669. width: 100%;
  670. height: 100%;
  671. }
  672. }
  673. }
  674. .content {
  675. .content-tips {
  676. background: #fff;
  677. margin-top: 20rpx;
  678. .content-first {
  679. padding: 19rpx 30rpx;
  680. display: flex;
  681. justify-content: space-between;
  682. align-items: center;
  683. box-sizing: border-box;
  684. color: #292929;
  685. height: 90rpx;
  686. font-size: 30rpx;
  687. .left {
  688. display: flex;
  689. align-items: center;
  690. .img {
  691. width: 52rpx;
  692. height: 52rpx;
  693. border: 1px solid #E0E0E0;
  694. border-radius: 50%;
  695. text-align: center;
  696. line-height: 50rpx;
  697. margin-right: 20rpx;
  698. }
  699. .test {
  700. font-weight: 500;
  701. color: #333333;
  702. }
  703. }
  704. .right {
  705. display: flex;
  706. align-items: center;
  707. color: #2671E2;
  708. font-size: 30rpx;
  709. .right-img {
  710. margin: 5rpx 0 0 10rpx;
  711. width: 14rpx;
  712. height: 30rpx;
  713. }
  714. }
  715. }
  716. .content-sec {
  717. border-top: 1px solid #E0E0E0;
  718. padding: 0 30rpx;
  719. padding-bottom: 30rpx;
  720. position: relative;
  721. .content-sec-lab {
  722. margin-top: 30rpx;
  723. display: flex;
  724. font-size: 30rpx;
  725. font-weight: 400;
  726. color: #666666;
  727. line-height: 46rpx;
  728. .content-sec-lab1 {
  729. color: #333333;
  730. }
  731. .content-sec-tips {
  732. max-width: 160rpx;
  733. height: 46rpx;
  734. background: #F2F2F2;
  735. border-radius: 6rpx;
  736. text-align: center;
  737. line-height: 26rpx;
  738. overflow: hidden;
  739. text-overflow: ellipsis;
  740. white-space: nowrap;
  741. font-size: 26rpx;
  742. font-weight: 400;
  743. color: #333333;
  744. margin-right: 20rpx;
  745. box-sizing: border-box;
  746. padding: 10rpx 24rpx;
  747. }
  748. }
  749. .content-sec-num {
  750. position: absolute;
  751. bottom: 25rpx;
  752. right: 30rpx;
  753. padding: 3rpx 12rpx;
  754. background: #F4F8FD;
  755. border-radius: 6rpx;
  756. color: #2671E2;
  757. line-height: 45rpx;
  758. text-align: center;
  759. }
  760. }
  761. .content-last {
  762. height: 108rpx;
  763. display: flex;
  764. justify-content: flex-end;
  765. align-items: center;
  766. border-top: 1px solid #E0E0E0;
  767. .content-last-tab {
  768. margin-right: 30rpx;
  769. width: 156rpx;
  770. height: 60rpx;
  771. font-size: 30rpx;
  772. color: #333333;
  773. border-radius: 30rpx;
  774. border: 1px solid #999999;
  775. display: flex;
  776. align-items: center;
  777. justify-content: center;
  778. }
  779. }
  780. }
  781. }
  782. // 这是弹出层
  783. .screen {
  784. // box-sizing: border-box;
  785. // padding: 0 30rpx;
  786. .screen-counselor {
  787. display: flex;
  788. height: 106rpx;
  789. // padding: 40rpx 30rpx 36rpx 30rpx;
  790. padding: 0 30rpx;
  791. box-sizing: border-box;
  792. border-bottom: 1px solid #E0E0E0;
  793. .screen-text {
  794. margin: 40rpx 0 36rpx 0;
  795. font-size: 30rpx;
  796. font-weight: 400;
  797. color: #333333;
  798. line-height: 30rpx;
  799. }
  800. .screen-sel {
  801. display: flex;
  802. justify-content: space-between;
  803. width: 500rpx;
  804. margin-left: 60rpx;
  805. .screen-sel-img {
  806. margin: 40rpx 0 36rpx 0;
  807. width: 14rpx;
  808. height: 30rpx;
  809. }
  810. .screen-inp {
  811. margin-top: 20rpx;
  812. }
  813. }
  814. }
  815. .screen-record {
  816. height: 192rpx;
  817. // width: 100%;
  818. overflow: hidden;
  819. padding: 0 30rpx;
  820. box-sizing: border-box;
  821. border-bottom: 1px solid #E0E0E0;
  822. .screen-record-text {
  823. margin-top: 36rpx;
  824. font-size: 30rpx;
  825. font-weight: 400;
  826. color: #333333;
  827. line-height: 30rpx;
  828. }
  829. .screen-record-tab {
  830. margin-top: 30rpx;
  831. display: flex;
  832. // justify-content: space-around;
  833. .screen-record-chose {
  834. width: 156rpx;
  835. height: 60rpx;
  836. background: #2671E2;
  837. border-radius: 4rpx;
  838. border: 1px solid #2671E2;
  839. text-align: center;
  840. line-height: 60rpx;
  841. margin-right: 22rpx;
  842. color: #FFFFFF;
  843. }
  844. .screen-record-nochose {
  845. width: 156rpx;
  846. height: 60rpx;
  847. background: #FFFFFF;
  848. border-radius: 4rpx;
  849. border: 1px solid #C9C9C9;
  850. text-align: center;
  851. line-height: 60rpx;
  852. margin-right: 22rpx;
  853. }
  854. }
  855. }
  856. .screen-foot {
  857. width: 100%;
  858. height: 88rpx;
  859. display: flex;
  860. .screen-foot-reset {
  861. width: 50%;
  862. text-align: center;
  863. height: 88rpx;
  864. line-height: 88rpx;
  865. font-size: 30rpx;
  866. font-weight: 400;
  867. color: #666666;
  868. }
  869. .screen-foot-sure {
  870. width: 50%;
  871. text-align: center;
  872. line-height: 88rpx;
  873. height: 88rpx;
  874. font-size: 30rpx;
  875. font-weight: 400;
  876. color: #FFFFFF;
  877. background: #2671E2;
  878. }
  879. }
  880. }
  881. </style>