Browse Source

pref: 【客户管理】UI显示优化

double 2 years ago
parent
commit
ec6e2d4a95
1 changed files with 16 additions and 10 deletions
  1. 16 10
      src/pages/customerMan/details/index.vue

+ 16 - 10
src/pages/customerMan/details/index.vue

@@ -24,12 +24,15 @@
24
             </div>
24
             </div>
25
             <div class="skin-type">肤质:<span>{{userInfo.skin_type}}</span></div>
25
             <div class="skin-type">肤质:<span>{{userInfo.skin_type}}</span></div>
26
             <div class="skin-color">肤色:<span>{{userInfo.skin_color}}</span></div>
26
             <div class="skin-color">肤色:<span>{{userInfo.skin_color}}</span></div>
27
-            <div class="skin-color">上传报告时间:<span>{{userInfo.check_time}}</span></div>
28
           </div>
27
           </div>
29
         </div>
28
         </div>
30
       </div>
29
       </div>
31
 
30
 
32
       <div class="personage-data">
31
       <div class="personage-data">
32
+        <div class="skin-color">
33
+          上传报告时间:
34
+          <span>{{userInfo.check_time}}</span>
35
+        </div>
33
         <div class="myDataList">
36
         <div class="myDataList">
34
           出生日期:
37
           出生日期:
35
           <span>{{userInfo.birthday}}</span>
38
           <span>{{userInfo.birthday}}</span>
@@ -404,7 +407,7 @@ export default {
404
       .detail-info {
407
       .detail-info {
405
         display: flex;
408
         display: flex;
406
         .user-img {
409
         .user-img {
407
-          width: 96px;
410
+          width: 90px;
408
           img {
411
           img {
409
             width: 100%;
412
             width: 100%;
410
             display: block;
413
             display: block;
@@ -412,7 +415,7 @@ export default {
412
           }
415
           }
413
         }
416
         }
414
         .user-span {
417
         .user-span {
415
-          margin-left: 12px;
418
+          margin-left: 8px;
416
 
419
 
417
           span {
420
           span {
418
             color: #333333;
421
             color: #333333;
@@ -420,17 +423,24 @@ export default {
420
           .info {
423
           .info {
421
             display: flex;
424
             display: flex;
422
             justify-content: space-between;
425
             justify-content: space-between;
426
+            margin-bottom: 6px;
423
 
427
 
424
             .name {
428
             .name {
429
+              display: flex;
430
+              align-items: center;
425
               font-size: 16px;
431
               font-size: 16px;
426
             }
432
             }
427
             .sex {
433
             .sex {
434
+              display: flex;
435
+              align-items: center;
428
               img {
436
               img {
429
                 width: 24px;
437
                 width: 24px;
430
                 height: 24px;
438
                 height: 24px;
431
               }
439
               }
432
             }
440
             }
433
             .age {
441
             .age {
442
+              display: flex;
443
+              align-items: center;
434
               margin-left: 13px;
444
               margin-left: 13px;
435
               span:nth-child(1) {
445
               span:nth-child(1) {
436
                 font-size: 22px;
446
                 font-size: 22px;
@@ -445,18 +455,14 @@ export default {
445
             display: flex;
455
             display: flex;
446
             justify-content: space-between;
456
             justify-content: space-between;
447
             align-items: center;
457
             align-items: center;
448
-            .real-name-inp {
449
-              width: 35px !important;
450
-              height: 25px !important;
451
-            }
458
+            margin-bottom: 4px;
452
             .edit-name {
459
             .edit-name {
453
               width: 20px;
460
               width: 20px;
454
               height: 20px;
461
               height: 20px;
455
             }
462
             }
456
           }
463
           }
457
-          div:nth-child(2),
458
-          div:nth-child(3) {
459
-            margin-bottom: 8px;
464
+          .skin-type {
465
+            margin-bottom: 4px;
460
           }
466
           }
461
         }
467
         }
462
       }
468
       }