Browse Source

修改样式问题

csx 5 years ago
parent
commit
f8e0131163

+ 3 - 0
src/pages/advice/AdvicePage.vue View File

122
   float: right;
122
   float: right;
123
   background-color: #ff7978;
123
   background-color: #ff7978;
124
   border: none;
124
   border: none;
125
+  @media only screen and (max-width: 812px) {
126
+  min-width: 60px !important;
127
+  }
125
 }
128
 }
126
 </style>
129
 </style>
127
 
130
 

+ 3 - 0
src/pages/main/DetailsPage.vue View File

172
   .Tab {
172
   .Tab {
173
     padding-top: 63px;
173
     padding-top: 63px;
174
     // padding-bottom: 0.25rem;
174
     // padding-bottom: 0.25rem;
175
+    @media only screen and (max-width: 812px) {
176
+    padding-top: 42px !important;
177
+    }
175
   }
178
   }
176
 }
179
 }
177
 </style>
180
 </style>

+ 3 - 0
src/pages/main/DialysisArea.vue View File

416
 .mint-datetime-action {
416
 .mint-datetime-action {
417
   line-height: 60px;
417
   line-height: 60px;
418
   font-size: 0.34rem;
418
   font-size: 0.34rem;
419
+  @media only screen and (max-width: 812px) {
420
+    line-height: 30px !important;
421
+  }
419
 }
422
 }
420
 </style>
423
 </style>
421
 
424
 

+ 5 - 2
src/pages/main/add_urgent_schedule.vue View File

35
           <van-col :span="9">
35
           <van-col :span="9">
36
             <span class="title">患者:</span>
36
             <span class="title">患者:</span>
37
             <div class="field_panel">
37
             <div class="field_panel">
38
-                <van-field ref="patient_field" @focus="selectPatientAction" :value="patient_name" class="field"
39
-                           left-icon="arrow-down"></van-field>
38
+              <van-field ref="patient_field" @focus="selectPatientAction" :value="patient_name" class="field"
39
+                         left-icon="arrow-down"></van-field>
40
             </div>
40
             </div>
41
           </van-col>
41
           </van-col>
42
 
42
 
497
   font-size: 18px;
497
   font-size: 18px;
498
   line-height: 45px;
498
   line-height: 45px;
499
   width: 180px;
499
   width: 180px;
500
+  @media only screen and (max-width: 812px) {
501
+  width: 100px;
502
+  }
500
   }
503
   }
501
   }
504
   }
502
 
505
 

File diff suppressed because it is too large
+ 1107 - 1087
src/pages/main/dialysis/AdviceTable.vue


+ 5 - 2
src/pages/main/dialysis/MissionTable.vue View File

53
         v-model="endTime">
53
         v-model="endTime">
54
       </mt-datetime-picker>
54
       </mt-datetime-picker>
55
 
55
 
56
-     
56
+
57
     </div>
57
     </div>
58
 </template>
58
 </template>
59
 
59
 
203
       @include text-align;
203
       @include text-align;
204
       @include justify-content-between;
204
       @include justify-content-between;
205
     padding: 0.3rem 0;
205
     padding: 0.3rem 0;
206
-      
206
+
207
       .iconfont {
207
       .iconfont {
208
         margin: 0 0.1rem;
208
         margin: 0 0.1rem;
209
+        @media only screen and (max-width: 812px) {
210
+        font-size: 12px !important;
211
+        }
209
       }
212
       }
210
       .line{
213
       .line{
211
         background: #a8b3ba;
214
         background: #a8b3ba;

+ 6 - 3
src/pages/main/dialysis/RecordTable.vue View File

32
                 <div class="popover-demo-content">
32
                 <div class="popover-demo-content">
33
                   <ul>
33
                   <ul>
34
                     <li  v-for="item in modeOptions" :key="item.id" @click="itemClick(item.id)"   :class="mode_id == item.id ? 'tick' : ''">{{item.name}}</li>
34
                     <li  v-for="item in modeOptions" :key="item.id" @click="itemClick(item.id)"   :class="mode_id == item.id ? 'tick' : ''">{{item.name}}</li>
35
-                  </ul> 
35
+                  </ul>
36
                 </div>
36
                 </div>
37
               </el-popover>
37
               </el-popover>
38
 
38
 
97
       :endDate="new Date()"
97
       :endDate="new Date()"
98
       v-model="endTime">
98
       v-model="endTime">
99
     </mt-datetime-picker>
99
     </mt-datetime-picker>
100
-  
100
+
101
   </div>
101
   </div>
102
 </template>
102
 </template>
103
 
103
 
425
       padding: 0.3rem 0;
425
       padding: 0.3rem 0;
426
       .iconfont {
426
       .iconfont {
427
         margin: 0 0.1rem;
427
         margin: 0 0.1rem;
428
+  @media only screen and (max-width: 812px) {
429
+  font-size: 12px !important;
430
+  }
428
       }
431
       }
429
       .line {
432
       .line {
430
         background: #a8b3ba;
433
         background: #a8b3ba;
437
   }
440
   }
438
 }
441
 }
439
 .RecordTable{
442
 .RecordTable{
440
-  padding-top:0; 
443
+  padding-top:0;
441
   background: #fff;
444
   background: #fff;
442
   min-height: calc(100vh - 180px);
445
   min-height: calc(100vh - 180px);
443
 }
446
 }

+ 3 - 0
src/pages/monitoring/index.vue View File

354
   .iconfont {
354
   .iconfont {
355
     font-size: 0.4rem;
355
     font-size: 0.4rem;
356
     color: #a8b3ba;
356
     color: #a8b3ba;
357
+  @media only screen and (max-width: 812px) {
358
+  margin-right: 0 !important;
359
+  }
357
   }
360
   }
358
 }
361
 }
359
 .choice {
362
 .choice {

+ 65 - 0
src/styles/style.scss View File

551
   color: #fff;
551
   color: #fff;
552
   border-color: $main-color !important;
552
   border-color: $main-color !important;
553
   background-color: $main-color !important;
553
   background-color: $main-color !important;
554
+   @media only screen and (max-width: 812px) {
555
+      font-size: 14px !important;
556
+      line-height: 16px !important;
557
+      width: 16px !important;
558
+      height: 16px !important;
559
+    }
560
+}
561
+
562
+.van-checkbox__icon .van-icon {
563
+  @media only screen and (max-width: 812px) {
564
+    font-size: 14px !important;
565
+    line-height: 16px !important;
566
+    width: 16px !important;
567
+    height: 16px !important;
568
+  }
554
 }
569
 }
555
 
570
 
556
 .CheckBox .van-checkbox__label {
571
 .CheckBox .van-checkbox__label {
557
   width: 94%;
572
   width: 94%;
558
   font-size: 0.34rem;
573
   font-size: 0.34rem;
574
+   @media only screen and (max-width: 812px) {
575
+      width: 90%;
576
+    }
559
 }
577
 }
560
 
578
 
561
 .mint-datetime-action {
579
 .mint-datetime-action {
651
   color: $pgh-color!important;
669
   color: $pgh-color!important;
652
   height: 64px!important;
670
   height: 64px!important;
653
   line-height: 64px!important;
671
   line-height: 64px!important;
672
+   @media only screen and (max-width: 812px) {
673
+      font-size: 0.35rem !important;
674
+      color: $pgh-color !important;
675
+      height: 48px !important;
676
+      line-height: 48px !important;
677
+    }
654
 }
678
 }
655
 .el-collapse-item__arrow{
679
 .el-collapse-item__arrow{
656
   color: #a8b3ba!important;
680
   color: #a8b3ba!important;
657
   line-height: 64px!important;
681
   line-height: 64px!important;
682
+    @media only screen and (max-width: 812px) {
683
+      line-height: 48px !important;
684
+    }
658
 }
685
 }
659
 
686
 
660
 
687
 
664
   width: 4.2rem;
691
   width: 4.2rem;
665
   float: right;
692
   float: right;
666
   font-size: 0.34rem;
693
   font-size: 0.34rem;
694
+   .field {
695
+      @media only screen and (max-width: 812px) {
696
+        margin-top: 6px;
697
+      }
698
+    }
667
   .iconfont {
699
   .iconfont {
668
     color: #a8b3ba;
700
     color: #a8b3ba;
669
     font-size: 0.42rem;
701
     font-size: 0.42rem;
676
     align-items: center;
708
     align-items: center;
677
     height: 0.64rem!important;
709
     height: 0.64rem!important;
678
     line-height: 0.64rem!important;
710
     line-height: 0.64rem!important;
711
+    @media only screen and (max-width: 812px) {
712
+      padding: 0 0 0 4px;
713
+    }
714
+  }
715
+}
679
 
716
 
717
+.van-cell {
718
+  @media only screen and (max-width: 812px) {
719
+    font-size: 6px !important;
720
+  }
721
+}
722
+.van-field__left-icon {
723
+  @media only screen and (max-width: 812px) {
724
+    // margin-right: 0 !important;
725
+    margin-top: 1px;
726
+  }
727
+  .van-icon-arrow-down {
728
+    @media only screen and (max-width: 812px) {
729
+      font-size: 12px !important;
730
+    }
731
+  }
732
+}
733
+.van-field__button {
734
+  @media only screen and (max-width: 812px) {
735
+    padding-left: 0 !important;
736
+  }
737
+}
738
+.van-switch {
739
+  @media only screen and (max-width: 812px) {
740
+    font-size: 16px !important;
680
   }
741
   }
681
 }
742
 }
682
 
743
 
744
+
683
 // 返回
745
 // 返回
684
 .goBack {
746
 .goBack {
685
   cursor: pointer;
747
   cursor: pointer;
704
 
766
 
705
 .van-button--small{
767
 .van-button--small{
706
   font-size: 0.28rem!important;
768
   font-size: 0.28rem!important;
769
+  @media only screen and (max-width: 812px) {
770
+      min-width: 36px !important;
771
+    }
707
 }
772
 }
708
 
773
 
709
 .el-input{
774
 .el-input{