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