Selaa lähdekoodia

修改样式123

See999 5 vuotta sitten
vanhempi
commit
dcc10c6c96

+ 1 - 1
src/pages/advice/DialysisAdviceTable.vue Näytä tiedosto

@@ -615,7 +615,7 @@ export default {
615 615
   // @media only screen and (max-width: 812px) {
616 616
   //   padding-top: 70px !important;
617 617
   // }
618
-  @media only screen and (min-width: 500px) {
618
+  @media only screen and (min-width: 768px) {
619 619
     padding-top: 60px !important;
620 620
   }
621 621
   // @media only screen and (min-width: 813px) and (max-width: 1024px) {

+ 3 - 3
src/pages/layout/SideBar.vue Näytä tiedosto

@@ -86,7 +86,7 @@ export default {
86 86
   // position: fixed;
87 87
   height: 50px;
88 88
   z-index: 999;
89
-  @media only screen and (min-width: 500px) {
89
+  @media only screen and (min-width: 768px) {
90 90
     height: 70px;
91 91
   }
92 92
   .column {
@@ -115,7 +115,7 @@ export default {
115 115
       justify-content: space-around;
116 116
       height: 50px;
117 117
       padding: 0;
118
-      @media only screen and (min-width: 500px) {
118
+      @media only screen and (min-width: 768px) {
119 119
         height: 70px;
120 120
       }
121 121
       li {
@@ -128,7 +128,7 @@ export default {
128 128
           display: inline-block;
129 129
           padding: 0;
130 130
           margin: 0;
131
-          @media only screen and (min-width: 500px) {
131
+          @media only screen and (min-width: 768px) {
132 132
             display: flex;
133 133
             align-items: center;
134 134
             // margin-bottom: 20px;

+ 2 - 2
src/pages/main/DetailsPage.vue Näytä tiedosto

@@ -191,7 +191,7 @@ export default {
191 191
       @media only screen and (min-width: 376px) and (max-width: 415px) {
192 192
         margin-right: 3.6rem;
193 193
       }
194
-      @media only screen and (min-width: 500px) {
194
+      @media only screen and (min-width: 768px) {
195 195
         margin-right: 4rem;
196 196
       }
197 197
       ul {
@@ -252,7 +252,7 @@ export default {
252 252
     //   width: 40px !important;
253 253
     //   margin: 11px auto 0;
254 254
     // }
255
-    @media only screen and (min-width: 500px) {
255
+    @media only screen and (min-width: 768px) {
256 256
       width: 50px;
257 257
       margin: 17px auto 0;
258 258
     }

+ 1 - 1
src/pages/main/DialysisArea.vue Näytä tiedosto

@@ -519,7 +519,7 @@ export default {
519 519
   border-bottom: 1px #e5e5e5 solid;
520 520
   position: fixed;
521 521
   top: 100px;
522
-  @media only screen and (min-width: 500px) {
522
+  @media only screen and (min-width: 768px) {
523 523
     top: 163px;
524 524
   }
525 525
   // @media only screen and (min-width: 813px) and (max-width: 1024px) {

+ 3 - 3
src/pages/main/RecordPage.vue Näytä tiedosto

@@ -336,7 +336,7 @@ export default {
336 336
     box-sizing: border-box;
337 337
     padding-bottom: 0.05rem;
338 338
     vertical-align: middle;
339
-    @media only screen and (min-width: 500px) {
339
+    @media only screen and (min-width: 768px) {
340 340
       padding-left: 0.9rem !important;
341 341
     }
342 342
   }
@@ -345,12 +345,12 @@ export default {
345 345
     font-size: 0.45rem;
346 346
     margin-top: 0.02rem;
347 347
     padding-left: 0.1rem;
348
-    @media only screen and (min-width: 500px) {
348
+    @media only screen and (min-width: 768px) {
349 349
       margin-top: 1px;
350 350
     }
351 351
   }
352 352
   .el-input__prefix {
353
-    @media only screen and (min-width: 500px) {
353
+    @media only screen and (min-width: 768px) {
354 354
       left: 10px;
355 355
     }
356 356
   }

+ 1 - 1
src/pages/main/WaitingArea.vue Näytä tiedosto

@@ -663,7 +663,7 @@ export default {
663 663
   border-bottom: 1px #e5e5e5 solid;
664 664
   position: fixed;
665 665
   top: 100px;
666
-  @media only screen and (min-width: 500px) {
666
+  @media only screen and (min-width: 768px) {
667 667
     top: 163px;
668 668
   }
669 669
   right: 0;

+ 3 - 3
src/pages/main/add_urgent_schedule.vue Näytä tiedosto

@@ -547,7 +547,7 @@ export default {
547 547
     min-height: calc(100vh - 2px);
548 548
     padding-top: 55px;
549 549
     // padding-left: 20px;
550
-    @media only screen and (min-width: 500px) {
550
+    @media only screen and (min-width: 768px) {
551 551
       padding-top: 100px;
552 552
     }
553 553
     .row {
@@ -633,7 +633,7 @@ export default {
633 633
   .el-input__inner {
634 634
     border-radius: 30px;
635 635
     font-size: 0.4rem;
636
-    @media only screen and (min-width: 500px) {
636
+    @media only screen and (min-width: 768px) {
637 637
       height: 1.2rem;
638 638
       line-height: 1.2rem;
639 639
       border-radius: 50px;
@@ -641,7 +641,7 @@ export default {
641 641
   }
642 642
   .el-input__icon {
643 643
     font-size: 0.45rem;
644
-    @media only screen and (min-width: 500px) {
644
+    @media only screen and (min-width: 768px) {
645 645
       margin-top: 2px;
646 646
       margin-right: 8px;
647 647
     }

+ 3 - 3
src/pages/main/dialog/AcceptsDialog.vue Näytä tiedosto

@@ -475,14 +475,14 @@ export default {
475 475
   .el-radio {
476 476
     margin-right: 14px;
477 477
     width: 2.2rem;
478
-    @media only screen and (min-width: 500px) {
478
+    @media only screen and (min-width: 768px) {
479 479
       margin-bottom: 0.34rem;
480 480
     }
481 481
   }
482 482
   .el-radio__inner {
483 483
     width: 16px !important;
484 484
     height: 16px !important;
485
-    @media only screen and (min-width: 500px) {
485
+    @media only screen and (min-width: 768px) {
486 486
       width: 26px !important;
487 487
       height: 26px !important;
488 488
       margin-bottom: 4px !important;
@@ -493,7 +493,7 @@ export default {
493 493
 .illnessInput {
494 494
   .el-input__inner {
495 495
     font-size: 0.45rem;
496
-    @media only screen and (min-width: 500px) {
496
+    @media only screen and (min-width: 768px) {
497 497
       height: 60px;
498 498
       line-height: 60px;
499 499
       font-size: 0.45rem;

+ 2 - 2
src/pages/main/dialog/DoubleDialog.vue Näytä tiedosto

@@ -554,7 +554,7 @@ export default {
554 554
 <style lang="scss">
555 555
 .doubleForm {
556 556
   .el-radio__inner {
557
-    @media only screen and (min-width: 500px) {
557
+    @media only screen and (min-width: 768px) {
558 558
       width: 26px;
559 559
       height: 26px;
560 560
       margin-bottom: 4px;
@@ -563,7 +563,7 @@ export default {
563 563
 }
564 564
 
565 565
 .el-radio__input {
566
-  @media only screen and (min-width: 500px) {
566
+  @media only screen and (min-width: 768px) {
567 567
     margin-top: -6px;
568 568
   }
569 569
 }

+ 2 - 2
src/pages/main/dialog/MonitDialog.vue Näytä tiedosto

@@ -1099,7 +1099,7 @@ export default {
1099 1099
         padding: 0.18rem 0;
1100 1100
         padding-left: 5px;
1101 1101
         width: 100%;
1102
-        @media only screen and (min-width: 500px) {
1102
+        @media only screen and (min-width: 768px) {
1103 1103
           height: 60px;
1104 1104
           line-height: 60px;
1105 1105
           font-size: 0.45rem;
@@ -1110,7 +1110,7 @@ export default {
1110 1110
           line-height: 38px;
1111 1111
           font-size: 0.45rem;
1112 1112
           padding: 0 !important;
1113
-        @media only screen and (min-width: 500px) {
1113
+        @media only screen and (min-width: 768px) {
1114 1114
           height: 60px;
1115 1115
           line-height: 60px;
1116 1116
           font-size: 0.45rem;

+ 2 - 2
src/pages/main/dialog/new_order/AddNewOrders.vue Näytä tiedosto

@@ -541,7 +541,7 @@ export default {
541 541
   @media only screen and (max-width: 415px) {
542 542
     height: 8.8rem !important;
543 543
   }
544
-  @media only screen and (min-width: 500px) {
544
+  @media only screen and (min-width: 768px) {
545 545
     height: 7.8rem !important;
546 546
   }
547 547
 }
@@ -630,7 +630,7 @@ export default {
630 630
 }
631 631
 .typeInput {
632 632
   .el-input__inner {
633
-    @media only screen and (min-width: 500px) {
633
+    @media only screen and (min-width: 768px) {
634 634
       height: 60px;
635 635
       line-height: 60px;
636 636
     }

+ 1 - 1
src/pages/main/dialog/new_order/select_advice_template_dialog.vue Näytä tiedosto

@@ -326,7 +326,7 @@ export default {
326 326
         float: left;
327 327
         width: 8%;
328 328
         margin-top: 6px;
329
-        @media only screen and (min-width: 500px) {
329
+        @media only screen and (min-width: 768px) {
330 330
           margin-top: 10px;
331 331
         }
332 332
       }

+ 1 - 1
src/pages/main/dialog/subMenu/LongAdviceSubMenu.vue Näytä tiedosto

@@ -33,7 +33,7 @@
33 33
                 style="padding-bottom: 15px;padding-left: 10px"
34 34
                 v-if="advice.frequency_type == 1"
35 35
               >
36
-                推送频率 每必推
36
+                推送频率 每必推
37 37
               </div>
38 38
               <div
39 39
                 style="padding-bottom: 15px;padding-left: 10px"

+ 1 - 1
src/pages/main/dialog/subMenu/checkBoxSubMenu.vue Näytä tiedosto

@@ -194,7 +194,7 @@ export default {
194 194
     max-height: 16rem !important;
195 195
     min-height: 8rem !important;
196 196
   }
197
-  @media only screen and (min-width: 500px) {
197
+  @media only screen and (min-width: 768px) {
198 198
     max-height: 11.8rem !important;
199 199
     min-height: 8rem !important;
200 200
   }

+ 2 - 2
src/pages/main/dialysis/AdviceTable.vue Näytä tiedosto

@@ -1474,7 +1474,7 @@
1474 1474
   // @media only screen and (min-width: 813px) and (max-width: 1024px) {
1475 1475
   //   padding-top: 54px !important;
1476 1476
   // }
1477
-  @media only screen and (min-width: 500px) {
1477
+  @media only screen and (min-width: 768px) {
1478 1478
     padding-top: 82px !important;
1479 1479
   }
1480 1480
   // @media only screen and (min-width: 415px) and (max-width: 736px) {
@@ -1492,7 +1492,7 @@
1492 1492
       margin: 0 auto;
1493 1493
       font-size: 0.32rem;
1494 1494
       color: $pgh-color;
1495
-      @media only screen and (min-width: 500px) {
1495
+      @media only screen and (min-width: 768px) {
1496 1496
         width: 98%;
1497 1497
         font-size: 0.45rem;
1498 1498
       }

+ 1 - 1
src/pages/main/dialysis/CheckTab.vue Näytä tiedosto

@@ -112,7 +112,7 @@ export default {
112 112
   // @media only screen and (max-width: 767px) {
113 113
   //   top: 76px !important;
114 114
   // }
115
-  @media only screen and (min-width: 500px) {
115
+  @media only screen and (min-width: 768px) {
116 116
     top: 124px !important;
117 117
   }
118 118
   // @media only screen and (min-width: 813px) and (max-width: 1024px) {

+ 2 - 2
src/pages/main/dialysis/DialysisTab.vue Näytä tiedosto

@@ -64,7 +64,7 @@ export default {
64 64
   // @media only screen and (min-width: 376px) and (max-width: 737px) {
65 65
   //   padding-top: 46px;
66 66
   // }
67
-  @media only screen and (min-width: 500px) {
67
+  @media only screen and (min-width: 768px) {
68 68
     padding-top: 82px;
69 69
   }
70 70
   // @media only screen and (min-width: 813px) and (max-width: 1024px) {
@@ -74,7 +74,7 @@ export default {
74 74
     border-bottom: 1px #e5e5e5 solid;
75 75
     position: fixed;
76 76
     top: 40px;
77
-    @media only screen and (min-width: 500px) {
77
+    @media only screen and (min-width: 768px) {
78 78
       top: 63px;
79 79
     }
80 80
     // @media only screen and (min-width: 813px) and (max-width: 1024px) {

+ 1 - 1
src/pages/main/dialysis/InspectionItemTable.vue Näytä tiedosto

@@ -331,7 +331,7 @@ export default {
331 331
   // @media only screen and (max-width: 812px) {
332 332
   //   margin-top: 80px !important;
333 333
   // }
334
-  @media only screen and (min-width: 500px) {
334
+  @media only screen and (min-width: 768px) {
335 335
     margin-top: 140px !important;
336 336
   }
337 337
   // @media only screen and (min-width: 813px) and (max-width: 1023px) {

+ 1 - 1
src/pages/main/dialysis/RecordTable.vue Näytä tiedosto

@@ -535,7 +535,7 @@ export default {
535 535
     margin: 0 auto;
536 536
     font-size: 0.4rem;
537 537
     color: $pgh-color;
538
-    @media only screen and (min-width: 500px) {
538
+    @media only screen and (min-width: 768px) {
539 539
       width: 80%;
540 540
     }
541 541
     li {

+ 2 - 2
src/pages/main/today/TodayTab.vue Näytä tiedosto

@@ -1456,7 +1456,7 @@ import {parseTime} from '@/utils'
1456 1456
   padding: 0.1rem 0 0.25rem 0;
1457 1457
   margin: 0.2rem 0 0 0;
1458 1458
   background: #fff;
1459
-  @media only screen and (min-width: 500px) {
1459
+  @media only screen and (min-width: 768px) {
1460 1460
     margin: 0.5rem 0 0 0;
1461 1461
     padding: 0.1rem 0 0.45rem 0;
1462 1462
   }
@@ -1504,7 +1504,7 @@ import {parseTime} from '@/utils'
1504 1504
   border: 1px solid #fff;
1505 1505
   top: -8px;
1506 1506
   right: -8px;
1507
-  @media only screen and (min-width: 500px) {
1507
+  @media only screen and (min-width: 768px) {
1508 1508
   height: 30px;
1509 1509
   width: 30px;
1510 1510
   line-height: 28px;

+ 1 - 1
src/pages/main/today/detailsInfo.vue Näytä tiedosto

@@ -220,7 +220,7 @@ export default {
220 220
             width: 0.8rem;
221 221
             margin-left: 4px;
222 222
           }
223
-          @media only screen and (min-width: 500px) {
223
+          @media only screen and (min-width: 768px) {
224 224
             width: 1rem;
225 225
             margin-left: 10px;
226 226
           }

+ 5 - 5
src/pages/monitoring/index.vue Näytä tiedosto

@@ -532,7 +532,7 @@ export default {
532 532
   /*@media only screen and (min-width: 813px) and (max-width: 1024px) {*/
533 533
   /*top: 38px !important;*/
534 534
   /*}*/
535
-  @media only screen and (min-width: 500px) {
535
+  @media only screen and (min-width: 768px) {
536 536
     top: 80px !important;
537 537
   }
538 538
   ul {
@@ -568,7 +568,7 @@ export default {
568 568
 }
569 569
 .table {
570 570
   width: 1000px;
571
-  @media only screen and (min-width: 500px) {
571
+  @media only screen and (min-width: 768px) {
572 572
     width: 1600px;
573 573
   }
574 574
 }
@@ -579,7 +579,7 @@ export default {
579 579
   @media only screen and (min-width: 376px) and (max-width: 737px) {
580 580
     padding-top: 80px !important;
581 581
   }
582
-  @media only screen and (min-width: 500px) {
582
+  @media only screen and (min-width: 768px) {
583 583
     padding-top: 120px !important;
584 584
   }
585 585
 }
@@ -624,7 +624,7 @@ export default {
624 624
     border: none;
625 625
     font-size: 0.45rem;
626 626
     vertical-align: middle;
627
-    @media only screen and (min-width: 500px) {
627
+    @media only screen and (min-width: 768px) {
628 628
       padding-left: 0.9rem;
629 629
     }
630 630
   }
@@ -635,7 +635,7 @@ export default {
635 635
     padding-left: 0.1rem;
636 636
   }
637 637
   .el-input__prefix {
638
-    @media only screen and (min-width: 500px) {
638
+    @media only screen and (min-width: 768px) {
639 639
       left: 10px;
640 640
     }
641 641
   }

+ 2 - 2
src/pages/personal/ChangePassword.vue Näytä tiedosto

@@ -71,7 +71,7 @@
71 71
           color: $main-color;
72 72
           font-size: 0.5rem;
73 73
           margin-top: 1px;
74
-          @media only screen and (min-width: 500px) {
74
+          @media only screen and (min-width: 768px) {
75 75
             margin-top: 3px;
76 76
           }
77 77
         }
@@ -119,7 +119,7 @@
119 119
   .changeButton {
120 120
     font-size: 0.4rem !important;
121 121
     border-radius: 5px;
122
-    @media only screen and (min-width: 500px) {
122
+    @media only screen and (min-width: 768px) {
123 123
       height: 50px;
124 124
       line-height: 50px;
125 125
       border-radius: 5px;

+ 3 - 3
src/pages/personal/ElectronicSignature.vue Näytä tiedosto

@@ -412,7 +412,7 @@ export default {
412 412
         color: $main-color;
413 413
         font-size: 0.5rem;
414 414
         margin-top: 1px;
415
-        @media only screen and (min-width: 500px) {
415
+        @media only screen and (min-width: 768px) {
416 416
           margin-top: 3px;
417 417
         }
418 418
       }
@@ -483,7 +483,7 @@ export default {
483 483
   //   width: 100% !important;
484 484
   //   height: 400px !important;
485 485
   // }
486
-  @media only screen and (min-width: 500px) {
486
+  @media only screen and (min-width: 768px) {
487 487
     width: 100% !important;
488 488
     height: 400px !important;
489 489
   }
@@ -502,7 +502,7 @@ export default {
502 502
 <style lang="scss">
503 503
 .newStyle {
504 504
   .el-button {
505
-    @media only screen and (min-width: 500px) {
505
+    @media only screen and (min-width: 768px) {
506 506
       padding: 22px 42px;
507 507
       font-size: 0.45rem;
508 508
       // height: 0;

+ 1 - 1
src/styles/media.scss Näytä tiedosto

@@ -10,7 +10,7 @@
10 10
 // }
11 11
 
12 12
 /* Medium devices (landscape tablets, 768px and up) */
13
-@media only screen and (min-width: 500px) {
13
+@media only screen and (min-width: 768px) {
14 14
   html {
15 15
     font-size: 50px;
16 16
   }

+ 10 - 10
src/styles/style.scss Näytä tiedosto

@@ -98,7 +98,7 @@ body {
98 98
         @media only screen and (min-width: 376px) and (max-width: 413px) {
99 99
           width: 4.2rem;
100 100
         }
101
-        @media only screen and (min-width: 500px) {
101
+        @media only screen and (min-width: 768px) {
102 102
           width: 6.6rem;
103 103
         }
104 104
         .content {
@@ -375,7 +375,7 @@ body {
375 375
     height: 0 !important;
376 376
     background-color: transparent !important;
377 377
   }
378
-  @media only screen and (min-width: 500px) and (max-width: 1024px) {
378
+  @media only screen and (min-width: 768px) and (max-width: 1024px) {
379 379
     width: 0 !important;
380 380
   }
381 381
   @media only screen and (min-width: 1024px) {
@@ -487,7 +487,7 @@ body {
487 487
       // @media only screen and (min-width: 737px) and (max-width: 768px) {
488 488
       //   height: 14.8rem !important;
489 489
       // }
490
-      @media only screen and (min-width: 500px) {
490
+      @media only screen and (min-width: 768px) {
491 491
         height: 11.8rem !important;
492 492
       }
493 493
       .item {
@@ -614,7 +614,7 @@ body {
614 614
   color: #fff;
615 615
   border-color: $main-color !important;
616 616
   background-color: $main-color !important;
617
-  @media only screen and (min-width: 500px) {
617
+  @media only screen and (min-width: 768px) {
618 618
     font-size: 20px !important;
619 619
     line-height: 30px !important;
620 620
     width: 30px !important;
@@ -622,13 +622,13 @@ body {
622 622
   }
623 623
 }
624 624
 .van-checkbox__icon {
625
-  @media only screen and (min-width: 500px) {
625
+  @media only screen and (min-width: 768px) {
626 626
     line-height: 30px !important;
627 627
     height: 30px !important;
628 628
   }
629 629
 }
630 630
 .van-checkbox__icon .van-icon {
631
-  @media only screen and (min-width: 500px) {
631
+  @media only screen and (min-width: 768px) {
632 632
     font-size: 20px !important;
633 633
     line-height: 30px !important;
634 634
     width: 30px !important;
@@ -900,10 +900,10 @@ body {
900 900
   background: #fff;
901 901
   min-height: calc(100vh - 2px);
902 902
   padding-left: 0.45rem;
903
-  @media only screen and (min-width: 500px) {
903
+  @media only screen and (min-width: 768px) {
904 904
     padding-top: 232px;
905 905
   }
906 906
 }
907
-// #app {
908
-//   -webkit-overflow-scrolling: touch;
909
-// }
907
+#app {
908
+  -webkit-overflow-scrolling: touch;
909
+}