Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 

607 строки
13 KiB

  1. <template>
  2. <view class="box">
  3. <view class="content">
  4. <view class="content-tips" @click="goedit()">
  5. <view class="content-first">
  6. <view class="left">
  7. <view class="img">
  8. A
  9. </view>
  10. <view class="test">
  11. 李先生
  12. </view>
  13. <view class="edit">
  14. <image class="screen-sel-img" src="../../../static/images/edit.png" mode=""></image>
  15. </view>
  16. </view>
  17. <view class="right">
  18. <view class="point"></view>
  19. <view class="test">
  20. 定金
  21. </view>
  22. </view>
  23. </view>
  24. <view class="content-sec">
  25. <view class="content-sec-lab">
  26. 手机号码:<view class="content-sec-lab1">18777897865</view>
  27. </view>
  28. <view class="content-sec-lab">
  29. 客户标签:
  30. <view class="content-sec-tips">投资</view>
  31. <view class="content-sec-tips">理财专用</view>
  32. <view class="content-sec-tips">学区</view>
  33. </view>
  34. <view class="content-sec-lab">
  35. 顾问姓名:<view class="content-sec-lab1">齐横三</view>
  36. </view>
  37. <view class="content-sec-lab">
  38. 添加时间:<view class="content-sec-lab1">2021-07-20 14:00:30</view>
  39. </view>
  40. <view class="content-sec-num">
  41. <view class="">
  42. 3次到访
  43. </view>
  44. <view class="">
  45. 55分/88%
  46. </view>
  47. </view>
  48. </view>
  49. <view class="content-last">
  50. <view class="content-last-con">
  51. 这个客户很有意向,约了明天下午5点半看房,继续跟进~
  52. </view>
  53. </view>
  54. </view>
  55. </view>
  56. <view class="tabchange">
  57. <view class="tab">
  58. <view class="tabbox">
  59. <view :class="{ activecllasscet: activeTotal == 0 }" @click="tabtimetap(0)">接待记录</view>
  60. </view>
  61. <view class="tabbox">
  62. <view :class="{ activecllasscet: activeTotal == 1 }" @click="tabtimetap(1)">跟进记录</view>
  63. </view>
  64. <view class="tabbox">
  65. <view :class="{ activecllasscet: activeTotal == 2 }" @click="tabtimetap(2)">执行率</view>
  66. </view>
  67. </view>
  68. <view class="tabactive1" v-if="activeTotal==0">
  69. <view class="content-tips">
  70. <view class="content-first">
  71. <view class="left">
  72. <view class="img">
  73. </view>
  74. <view class="name">
  75. 宋幸运
  76. </view>
  77. <view class="status">
  78. 代接待
  79. </view>
  80. </view>
  81. <view class="right">
  82. <view class="point">
  83. </view>
  84. <view class="">
  85. 优秀案例
  86. </view>
  87. </view>
  88. </view>
  89. <view class="content-sec">
  90. <view class="left">
  91. <view class="cus">
  92. 客户:王先生 |
  93. </view>
  94. <view class="arriveNum">
  95. 首次到访
  96. </view>
  97. </view>
  98. <view class="right">
  99. 88% | 55分
  100. </view>
  101. </view>
  102. <view class="content-last">
  103. 2021-07-20 16:00:30 | 80分钟
  104. </view>
  105. </view>
  106. <view class="content-tips">
  107. <view class="content-first">
  108. <view class="left">
  109. <view class="img">
  110. </view>
  111. <view class="name">
  112. 宋幸运
  113. </view>
  114. <view class="status">
  115. 代接待
  116. </view>
  117. </view>
  118. <view class="right">
  119. <view class="point">
  120. </view>
  121. <view class="">
  122. 优秀案例
  123. </view>
  124. </view>
  125. </view>
  126. <view class="content-sec">
  127. <view class="left">
  128. <view class="cus">
  129. 客户:王先生 |
  130. </view>
  131. <view class="arriveNum">
  132. 首次到访
  133. </view>
  134. </view>
  135. <view class="right">
  136. 88% | 55分
  137. </view>
  138. </view>
  139. <view class="content-last">
  140. 2021-07-20 16:00:30 | 80分钟
  141. </view>
  142. </view>
  143. </view>
  144. <view class="tabactive2" v-if="activeTotal==1">
  145. <view class="tab2-tips">
  146. <view class="tab2-first">
  147. <view class="tab2-first-1">
  148. <view class="tab2-first-left">
  149. <view class="img">
  150. </view>
  151. <view class="name">
  152. 宋幸运
  153. </view>
  154. </view>
  155. <view class="tab2-first-right">
  156. 2021-07-20 16:00:30
  157. </view>
  158. </view>
  159. <view class="tab2-first-foot">
  160. 有意向,想要更多优惠
  161. </view>
  162. </view>
  163. <view class="tab2-sec">
  164. <view class="tab-sec-edit">
  165. 编辑记录
  166. </view>
  167. </view>
  168. </view>
  169. <view class="tab2-tips">
  170. <view class="tab2-first">
  171. <view class="tab2-first-1">
  172. <view class="tab2-first-left">
  173. <view class="img">
  174. </view>
  175. <view class="name">
  176. 宋幸运
  177. </view>
  178. </view>
  179. <view class="tab2-first-right">
  180. 2021-07-20 16:00:30
  181. </view>
  182. </view>
  183. <view class="tab2-first-foot">
  184. 有意向,想要更多优惠
  185. </view>
  186. </view>
  187. <view class="tab2-sec">
  188. <view class="tab-sec-edit">
  189. 编辑记录
  190. </view>
  191. </view>
  192. </view>
  193. </view>
  194. <view class="tabactive" v-if="activeTotal==2">
  195. 执行率
  196. </view>
  197. </view>
  198. <view class="pon-foot">
  199. <view class="foot-tab" @click="goRemind">
  200. 添加提醒
  201. </view>
  202. <!-- <view class="foot-tab">
  203. 拨打电话
  204. </view> -->
  205. <view class="foot-tab">
  206. 写跟进
  207. </view>
  208. </view>
  209. </view>
  210. </template>
  211. <script>
  212. export default{
  213. data(){
  214. return{
  215. activeTotal: 0,
  216. }
  217. },
  218. methods:{
  219. tabtimetap(idx){
  220. console.log(idx)
  221. this.activeTotal=idx
  222. },
  223. // 去编辑
  224. goedit(){
  225. // console.log('去编辑')
  226. uni.navigateTo({
  227. url:'/pages/center/consumer/edit'
  228. })
  229. },
  230. // 去添加提醒
  231. goRemind(){
  232. uni.navigateTo({
  233. url:'/pages/center/consumer/remind'
  234. })
  235. },
  236. }
  237. }
  238. </script>
  239. <style lang="scss" scoped>
  240. .box {
  241. width: 100%;
  242. height: 100%;
  243. background: #F8F8F8;
  244. }
  245. .tab{
  246. height: 88rpx;
  247. border-bottom: 1px solid #E0E0E0;
  248. background: #FFFFFF;
  249. display: flex;
  250. align-items: center;
  251. .tabbox {
  252. flex: 1;
  253. height: 100%;
  254. text-align: center;
  255. line-height: 92rpx;
  256. color: #666666;
  257. font-size: 28rpx;
  258. display: flex;
  259. justify-content: center;
  260. .activecllasscet {
  261. border-bottom: 2px solid #2671E2;
  262. color: #2671E2;
  263. font-weight: 600;
  264. }
  265. }
  266. }
  267. .content{
  268. // height: 1000rpx;/
  269. overflow: hidden;
  270. border-top: 1px solid #E0E0E0;
  271. .content-tips{
  272. background: #fff;
  273. // box-sizing: border-box;
  274. margin-bottom: 20rpx;
  275. overflow: hidden;
  276. .content-first{
  277. padding: 19rpx 30rpx;
  278. display: flex;
  279. justify-content: space-between;
  280. box-sizing: border-box;
  281. // border-top: 1px solid #E0E0E0;
  282. font-weight: 400;
  283. color: #292929;
  284. height: 90rpx;
  285. font-size: 30rpx;
  286. line-height: 30rpx;
  287. .left{
  288. display: flex;
  289. .img{
  290. // margin-top: 19rpx;
  291. width: 52rpx;
  292. height: 52rpx;
  293. border: 1px solid #E0E0E0;
  294. border-radius: 50%;
  295. text-align: center;
  296. line-height: 50rpx;
  297. }
  298. .test{
  299. margin-top: 11rpx;
  300. margin-left: 20rpx;
  301. font-weight: 500;
  302. color: #333333;
  303. }
  304. .edit{
  305. height: 30rpx;
  306. width: 30rpx;
  307. margin-left: 30rpx;
  308. margin-top: 11rpx;
  309. image{
  310. width: 100%;
  311. height: 100%;
  312. }
  313. }
  314. }
  315. .right{
  316. display: flex;
  317. .point{
  318. width: 12rpx;
  319. height: 12rpx;
  320. background: #2B6EFF;
  321. border-radius: 50%;
  322. margin-right: 9rpx;
  323. margin-top: 20rpx;
  324. }
  325. .test{
  326. margin-top: 11rpx;
  327. }
  328. }
  329. }
  330. .content-sec{
  331. border-top: 1px solid #E0E0E0;
  332. padding: 0 30rpx;
  333. height: 270rpx;
  334. position: relative;
  335. .content-sec-lab{
  336. margin-top: 30rpx;
  337. display: flex;
  338. font-size: 30rpx;
  339. font-weight: 400;
  340. color: #666666;
  341. line-height: 30rpx;
  342. .content-sec-lab1{
  343. color: #333333;
  344. }
  345. .content-sec-tips{
  346. max-width:174rpx ;
  347. height: 46rpx;
  348. background: #F2F2F2;
  349. border-radius: 6rpx;
  350. text-align: center;
  351. line-height: 26rpx;
  352. overflow: hidden;
  353. text-overflow:ellipsis;
  354. white-space: nowrap;
  355. font-size: 26rpx;
  356. font-weight: 400;
  357. color: #333333;
  358. margin-right: 24rpx;
  359. box-sizing: border-box;
  360. padding: 10rpx 24rpx;
  361. }
  362. }
  363. .content-sec-num{
  364. position: absolute;
  365. width: 190rpx;
  366. height: 90rpx;
  367. background: #F4F8FD;
  368. border-radius: 12rpx;
  369. font-weight: 400;
  370. color: #2671E2;
  371. line-height: 45rpx;
  372. bottom: 30rpx;
  373. right: 30rpx;
  374. text-align: center;
  375. }
  376. }
  377. .content-last{
  378. padding: 30rpx;
  379. height: 168rpx;
  380. .content-last-con{
  381. width: 690rpx;
  382. height: 108rpx;
  383. background: #F8F8F8;
  384. border-radius: 8rpx;
  385. padding: 14rpx 20rpx;
  386. font-size: 28rpx;
  387. font-weight: 400;
  388. color: #333333;
  389. line-height: 40rpx;
  390. }
  391. }
  392. }
  393. }
  394. .tabchange{
  395. // background: #FFFFFF;
  396. overflow: hidden;
  397. .tabactive1{
  398. .content-tips{
  399. background: #fff;
  400. padding: 0 30rpx;
  401. box-sizing: border-box;
  402. overflow: hidden;
  403. margin-bottom: 20rpx;
  404. .content-first{
  405. margin-top: 19rpx;
  406. display: flex;
  407. justify-content: space-between;
  408. .left{
  409. display: flex;
  410. .img{
  411. width: 52rpx;
  412. height: 52rpx;
  413. background: #FFFFFF;
  414. border: 1px solid #C9C9C9;
  415. border-radius: 50%;
  416. text-align: center;
  417. line-height: 52rpx;
  418. }
  419. .name{
  420. font-weight: 600;
  421. color: #333333;
  422. margin-left: 20rpx;
  423. margin-top: 11rpx;
  424. }
  425. .status{
  426. width: 110rpx;
  427. height: 42rpx;
  428. background: #FFF9F5;
  429. border-radius: 4rpx;
  430. font-size: 26rpx;
  431. font-weight: 400;
  432. color: #EC8D49;
  433. line-height: 42rpx;
  434. text-align: center;
  435. margin-left: 19rpx;
  436. margin-top: 11rpx;
  437. }
  438. }
  439. .right{
  440. display: flex;
  441. margin-top: 11rpx;
  442. .point{
  443. width: 12rpx;
  444. height: 12rpx;
  445. background: #2B6EFF;
  446. border-radius: 50%;
  447. margin-right: 9rpx;
  448. margin-top: 16rpx;
  449. }
  450. }
  451. }
  452. .content-sec{
  453. display: flex;
  454. justify-content: space-between;
  455. margin-top: 19rpx;
  456. .left{
  457. display: flex;
  458. .cus{
  459. font-size: 30rpx;
  460. font-weight: 400;
  461. color: #666666;
  462. line-height: 30rpx;
  463. }
  464. .arriveNum{
  465. font-size: 30rpx;
  466. font-weight: 400;
  467. line-height: 30rpx;
  468. margin-left: 10rpx;
  469. }
  470. }
  471. .right{
  472. width: 192rpx;
  473. height: 46rpx;
  474. background: #F4F8FD;
  475. border-radius: 6rpx;
  476. text-align: center;
  477. line-height: 46rpx;
  478. font-weight: 400;
  479. color: #2671E2;
  480. }
  481. }
  482. .content-last{
  483. margin: 30rpx 0;
  484. font-size: 30rpx;
  485. font-weight: 400;
  486. color: #666666;
  487. line-height: 30rpx;
  488. }
  489. }
  490. }
  491. .tabactive2{
  492. .tab2-tips{
  493. background: #fff;
  494. height: 270rpx;
  495. overflow: auto;
  496. margin-bottom: 20rpx;
  497. .tab2-first{
  498. // height: 150rpx;
  499. border-bottom: 1px solid #E0E0E0;
  500. padding: 0 30rpx;
  501. margin-top: 19rpx;
  502. box-sizing: border-box;
  503. .tab2-first-1{
  504. display: flex;
  505. justify-content: space-between;
  506. // height: 75rpx;
  507. .tab2-first-left{
  508. display: flex;
  509. .img{
  510. width: 52rpx;
  511. height: 52rpx;
  512. background: #FFFFFF;
  513. border: 1px solid #C9C9C9;
  514. border-radius: 50%;
  515. text-align: center;
  516. line-height: 52rpx;
  517. }
  518. .name{
  519. font-weight: 600;
  520. color: #333333;
  521. margin-left: 20rpx;
  522. margin-top: 11rpx;
  523. }
  524. }
  525. .tab2-first-right{
  526. font-size: 30rpx;
  527. font-weight: 400;
  528. color: #666666;
  529. margin-top: 11rpx;
  530. }
  531. }
  532. .tab2-first-foot{
  533. margin-top: 19rpx;
  534. margin-bottom: 30rpx;
  535. font-size: 30rpx;
  536. font-weight: 400;
  537. color: #666666;
  538. line-height: 30rpx;
  539. }
  540. }
  541. .tab2-sec{
  542. height: 120rpx;
  543. padding: 30rpx;
  544. float: right;
  545. .tab-sec-edit{
  546. width: 156rpx;
  547. height: 60rpx;
  548. background: #FFFFFF;
  549. border-radius: 4px;
  550. border: 1px solid #2671E2;
  551. text-align: center;
  552. line-height: 60rpx;
  553. font-weight: 400;
  554. color: #2671E2;
  555. }
  556. }
  557. }
  558. }
  559. }
  560. .pon-foot{
  561. position: fixed;
  562. width: 750rpx;
  563. height: 100rpx;
  564. background: #FFFFFF;
  565. box-shadow: 0px -2rpx 8rpx 0rpx rgba(224, 224, 224, 0.5);
  566. bottom: 0;
  567. display: flex;
  568. justify-content: space-around;
  569. align-items: center;
  570. // padding-top: 24rpx;
  571. box-sizing: border-box;
  572. // padding: ;
  573. .foot-tab{
  574. text-align: center;
  575. width: 270rpx;
  576. height: 70rpx;
  577. line-height: 70rpx;
  578. background: #2671E2;
  579. box-shadow: 0px -2rpx 8rpx 0px rgba(224, 224, 224, 0.5);
  580. border-radius: 6rpx;
  581. font-size: 30rpx;
  582. font-weight: 400;
  583. color: #FFFFFF;
  584. }
  585. }
  586. </style>