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.
 
 
 

543 lines
11 KiB

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