See999 před 5 roky
rodič
revize
dd0e2dc178

+ 1 - 1
src/pages/advice/DialysisAdviceTable.vue Zobrazit soubor

@@ -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: 768px) {
618
+  @media only screen and (min-width: 500px) {
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 Zobrazit soubor

@@ -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: 768px) {
89
+  @media only screen and (min-width: 500px) {
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: 768px) {
118
+      @media only screen and (min-width: 500px) {
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: 768px) {
131
+          @media only screen and (min-width: 500px) {
132 132
             display: flex;
133 133
             align-items: center;
134 134
             // margin-bottom: 20px;

+ 4 - 8
src/pages/main/DetailsPage.vue Zobrazit soubor

@@ -180,10 +180,6 @@ export default {
180 180
     right: 0;
181 181
     z-index: 100;
182 182
     background: #258ffc;
183
-    -webkit-transform: translateZ(1px);
184
-    -moz-transform: translateZ(1px);
185
-    -o-transform: translateZ(1px);
186
-    transform: translateZ(1px);
187 183
     @media only screen and (max-width: 320px) {
188 184
       display: -webkit-box;
189 185
     }
@@ -192,10 +188,10 @@ export default {
192 188
     }
193 189
     .nav {
194 190
       margin-right: 2.4rem;
195
-      @media only screen and (min-width: 416px) {
196
-        margin-right: 4rem;
191
+      @media only screen and (min-width: 376px) and (max-width: 415px) {
192
+        margin-right: 3.6rem;
197 193
       }
198
-      @media only screen and (min-width: 768px) {
194
+      @media only screen and (min-width: 500px) {
199 195
         margin-right: 4rem;
200 196
       }
201 197
       ul {
@@ -256,7 +252,7 @@ export default {
256 252
     //   width: 40px !important;
257 253
     //   margin: 11px auto 0;
258 254
     // }
259
-    @media only screen and (min-width: 768px) {
255
+    @media only screen and (min-width: 500px) {
260 256
       width: 50px;
261 257
       margin: 17px auto 0;
262 258
     }

+ 1 - 1
src/pages/main/DialysisArea.vue Zobrazit soubor

@@ -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: 768px) {
522
+  @media only screen and (min-width: 500px) {
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 Zobrazit soubor

@@ -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: 768px) {
339
+    @media only screen and (min-width: 500px) {
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: 768px) {
348
+    @media only screen and (min-width: 500px) {
349 349
       margin-top: 1px;
350 350
     }
351 351
   }
352 352
   .el-input__prefix {
353
-    @media only screen and (min-width: 768px) {
353
+    @media only screen and (min-width: 500px) {
354 354
       left: 10px;
355 355
     }
356 356
   }

+ 1 - 1
src/pages/main/WaitingArea.vue Zobrazit soubor

@@ -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: 768px) {
666
+  @media only screen and (min-width: 500px) {
667 667
     top: 163px;
668 668
   }
669 669
   right: 0;

+ 3 - 3
src/pages/main/add_urgent_schedule.vue Zobrazit soubor

@@ -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: 768px) {
550
+    @media only screen and (min-width: 500px) {
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: 768px) {
636
+    @media only screen and (min-width: 500px) {
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: 768px) {
644
+    @media only screen and (min-width: 500px) {
645 645
       margin-top: 2px;
646 646
       margin-right: 8px;
647 647
     }

+ 3 - 3
src/pages/main/dialog/AcceptsDialog.vue Zobrazit soubor

@@ -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: 768px) {
478
+    @media only screen and (min-width: 500px) {
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: 768px) {
485
+    @media only screen and (min-width: 500px) {
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: 768px) {
496
+    @media only screen and (min-width: 500px) {
497 497
       height: 60px;
498 498
       line-height: 60px;
499 499
       font-size: 0.45rem;

+ 2 - 2
src/pages/main/dialog/DoubleDialog.vue Zobrazit soubor

@@ -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: 768px) {
557
+    @media only screen and (min-width: 500px) {
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: 768px) {
566
+  @media only screen and (min-width: 500px) {
567 567
     margin-top: -6px;
568 568
   }
569 569
 }

+ 2 - 2
src/pages/main/dialog/MonitDialog.vue Zobrazit soubor

@@ -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: 768px) {
1102
+        @media only screen and (min-width: 500px) {
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: 768px) {
1113
+        @media only screen and (min-width: 500px) {
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 Zobrazit soubor

@@ -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: 768px) {
544
+  @media only screen and (min-width: 500px) {
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: 768px) {
633
+    @media only screen and (min-width: 500px) {
634 634
       height: 60px;
635 635
       line-height: 60px;
636 636
     }

+ 1 - 1
src/pages/main/dialog/new_order/select_advice_template_dialog.vue Zobrazit soubor

@@ -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: 768px) {
329
+        @media only screen and (min-width: 500px) {
330 330
           margin-top: 10px;
331 331
         }
332 332
       }

+ 1 - 1
src/pages/main/dialog/subMenu/checkBoxSubMenu.vue Zobrazit soubor

@@ -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: 768px) {
197
+  @media only screen and (min-width: 500px) {
198 198
     max-height: 11.8rem !important;
199 199
     min-height: 8rem !important;
200 200
   }

+ 2 - 2
src/pages/main/dialysis/AdviceTable.vue Zobrazit soubor

@@ -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: 768px) {
1477
+  @media only screen and (min-width: 500px) {
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: 768px) {
1495
+      @media only screen and (min-width: 500px) {
1496 1496
         width: 98%;
1497 1497
         font-size: 0.45rem;
1498 1498
       }

+ 6 - 2
src/pages/main/dialysis/CheckTab.vue Zobrazit soubor

@@ -10,7 +10,11 @@
10 10
         >{{item.project_name}}</li>
11 11
       </ul>-->
12 12
       <van-tabs v-model="active" @change="onClick">
13
-        <van-tab v-for="(item, i) in inspectionDate" :key="i" :title="item.project_name"></van-tab>
13
+        <van-tab
14
+          v-for="(item, i) in inspectionDate"
15
+          :key="i"
16
+          :title="item.project_name"
17
+        ></van-tab>
14 18
       </van-tabs>
15 19
       <!-- <van-tabs v-model="active" ref="one">
16 20
         <van-tab title="标签 1">内容 1</van-tab>
@@ -108,7 +112,7 @@ export default {
108 112
   // @media only screen and (max-width: 767px) {
109 113
   //   top: 76px !important;
110 114
   // }
111
-  @media only screen and (min-width: 768px) {
115
+  @media only screen and (min-width: 500px) {
112 116
     top: 124px !important;
113 117
   }
114 118
   // @media only screen and (min-width: 813px) and (max-width: 1024px) {

+ 2 - 2
src/pages/main/dialysis/DialysisTab.vue Zobrazit soubor

@@ -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: 768px) {
67
+  @media only screen and (min-width: 500px) {
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: 768px) {
77
+    @media only screen and (min-width: 500px) {
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 Zobrazit soubor

@@ -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: 768px) {
334
+  @media only screen and (min-width: 500px) {
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 Zobrazit soubor

@@ -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: 768px) {
538
+    @media only screen and (min-width: 500px) {
539 539
       width: 80%;
540 540
     }
541 541
     li {

+ 2 - 2
src/pages/main/today/TodayTab.vue Zobrazit soubor

@@ -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: 768px) {
1459
+  @media only screen and (min-width: 500px) {
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: 768px) {
1507
+  @media only screen and (min-width: 500px) {
1508 1508
   height: 30px;
1509 1509
   width: 30px;
1510 1510
   line-height: 28px;

+ 1 - 1
src/pages/main/today/detailsInfo.vue Zobrazit soubor

@@ -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: 768px) {
223
+          @media only screen and (min-width: 500px) {
224 224
             width: 1rem;
225 225
             margin-left: 10px;
226 226
           }

+ 5 - 5
src/pages/monitoring/index.vue Zobrazit soubor

@@ -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: 768px) {
535
+  @media only screen and (min-width: 500px) {
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: 768px) {
571
+  @media only screen and (min-width: 500px) {
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: 768px) {
582
+  @media only screen and (min-width: 500px) {
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: 768px) {
627
+    @media only screen and (min-width: 500px) {
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: 768px) {
638
+    @media only screen and (min-width: 500px) {
639 639
       left: 10px;
640 640
     }
641 641
   }

+ 2 - 2
src/pages/personal/ChangePassword.vue Zobrazit soubor

@@ -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: 768px) {
74
+          @media only screen and (min-width: 500px) {
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: 768px) {
122
+    @media only screen and (min-width: 500px) {
123 123
       height: 50px;
124 124
       line-height: 50px;
125 125
       border-radius: 5px;

+ 3 - 3
src/pages/personal/ElectronicSignature.vue Zobrazit soubor

@@ -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: 768px) {
415
+        @media only screen and (min-width: 500px) {
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: 768px) {
486
+  @media only screen and (min-width: 500px) {
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: 768px) {
505
+    @media only screen and (min-width: 500px) {
506 506
       padding: 22px 42px;
507 507
       font-size: 0.45rem;
508 508
       // height: 0;

+ 14 - 14
src/styles/media.scss Zobrazit soubor

@@ -1,4 +1,4 @@
1
-@media only screen and (max-width: 767px) {
1
+@media only screen and (max-width: 415px) {
2 2
   html {
3 3
     font-size: 30px;
4 4
   }
@@ -10,17 +10,17 @@
10 10
 // }
11 11
 
12 12
 /* Medium devices (landscape tablets, 768px and up) */
13
-// @media only screen and (min-width: 800px) {
14
-//   html {
15
-//     font-size: 50px;
16
-//   }
17
-// }
18
-
19
-@media screen and (orientation: portrait) and (max-width: 640px) {
20
-  // .mainBox {
21
-  //   -webkit-transform: rotate(-90deg);
22
-  //   -moz-transform: rotate(-90deg);
23
-  //   -ms-transform: rotate(-90deg);
24
-  //   transform: rotate(-90deg);
25
-  // }
13
+@media only screen and (min-width: 500px) {
14
+  html {
15
+    font-size: 50px;
16
+  }
26 17
 }
18
+
19
+// @media screen and (orientation: portrait) and (max-width: 640px) {
20
+// .mainBox {
21
+//   -webkit-transform: rotate(-90deg);
22
+//   -moz-transform: rotate(-90deg);
23
+//   -ms-transform: rotate(-90deg);
24
+//   transform: rotate(-90deg);
25
+// }
26
+// }

+ 10 - 10
src/styles/style.scss Zobrazit soubor

@@ -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: 768px) {
101
+        @media only screen and (min-width: 500px) {
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: 768px) and (max-width: 1024px) {
378
+  @media only screen and (min-width: 500px) 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: 768px) {
490
+      @media only screen and (min-width: 500px) {
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: 768px) {
617
+  @media only screen and (min-width: 500px) {
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: 768px) {
625
+  @media only screen and (min-width: 500px) {
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: 768px) {
631
+  @media only screen and (min-width: 500px) {
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: 768px) {
903
+  @media only screen and (min-width: 500px) {
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
+// }