瀏覽代碼

修改样式

See999 5 年之前
父節點
當前提交
8827ee4916

+ 10 - 7
src/pages/main/DetailsPage.vue 查看文件

174
     @include justify-content-between;
174
     @include justify-content-between;
175
     padding: 0.3rem 0.36rem;
175
     padding: 0.3rem 0.36rem;
176
     // border-bottom: 1px #e5e5e5 solid;
176
     // border-bottom: 1px #e5e5e5 solid;
177
-    position: sticky;
177
+    position: fixed;
178
     top: 0;
178
     top: 0;
179
     left: 0;
179
     left: 0;
180
     right: 0;
180
     right: 0;
181
-    z-index: 100 !important;
181
+    z-index: 100;
182
     background: #258ffc;
182
     background: #258ffc;
183
     @media only screen and (max-width: 320px) {
183
     @media only screen and (max-width: 320px) {
184
       display: -webkit-box;
184
       display: -webkit-box;
191
       @media only screen and (min-width: 376px) and (max-width: 415px) {
191
       @media only screen and (min-width: 376px) and (max-width: 415px) {
192
         margin-right: 3.6rem;
192
         margin-right: 3.6rem;
193
       }
193
       }
194
+      @media only screen and (min-width: 415px) and (max-width: 737px) {
195
+        margin-right: 6rem;
196
+      }
194
       @media only screen and (min-width: 768px) {
197
       @media only screen and (min-width: 768px) {
195
         margin-right: 4rem;
198
         margin-right: 4rem;
196
       }
199
       }
222
     }
225
     }
223
   }
226
   }
224
   .Tab {
227
   .Tab {
225
-    // padding-top: 63px;
226
-    // // padding-bottom: 0.25rem;
227
-    // @media only screen and (max-width: 812px) {
228
-    //   padding-top: 42px !important;
229
-    // }
228
+    padding-top: 63px;
229
+    // padding-bottom: 0.25rem;
230
+    @media only screen and (max-width: 812px) {
231
+      padding-top: 42px !important;
232
+    }
230
   }
233
   }
231
 }
234
 }
232
 .add {
235
 .add {

+ 18 - 2
src/pages/main/DialysisArea.vue 查看文件

61
             <span class="iconfont">&#xe74a;</span>
61
             <span class="iconfont">&#xe74a;</span>
62
           </li>
62
           </li>
63
 
63
 
64
-          <li @click="mypatient()">
64
+          <li @click="mypatient()" :class="newMypatient == 1 ? 'active' : ''">
65
             我的病人
65
             我的病人
66
-            <span class="iconfont">&#xe74a;</span>
67
           </li>
66
           </li>
68
         </ul>
67
         </ul>
69
       </div>
68
       </div>
123
 import { parseTime } from "@/utils/index";
122
 import { parseTime } from "@/utils/index";
124
 import { getDialysisScheduals } from "@/api/dialysis";
123
 import { getDialysisScheduals } from "@/api/dialysis";
125
 import { Toast } from "vant";
124
 import { Toast } from "vant";
125
+import $ from "jquery";
126
 
126
 
127
 export default {
127
 export default {
128
   name: "DialysisArea",
128
   name: "DialysisArea",
373
         schedule_date: this.selected_date,
373
         schedule_date: this.selected_date,
374
         ismypatient: this.ismypatient
374
         ismypatient: this.ismypatient
375
       });
375
       });
376
+      this.newMypatient = 1;
376
     },
377
     },
377
     reloads: function() {
378
     reloads: function() {
378
       this.reload();
379
       this.reload();
402
         schedule_date: this.selected_date,
403
         schedule_date: this.selected_date,
403
         ismypatient: this.ismypatient
404
         ismypatient: this.ismypatient
404
       });
405
       });
406
+      this.newMypatient = 0;
405
     },
407
     },
406
     handleScheduleDateChange: function(date) {
408
     handleScheduleDateChange: function(date) {
407
       if (!this.ismypatient) {
409
       if (!this.ismypatient) {
505
     },
507
     },
506
     openPicker() {
508
     openPicker() {
507
       this.$refs.picker.open();
509
       this.$refs.picker.open();
510
+      this.newMypatient = 0;
508
     }
511
     }
509
     // getMyPatient () {
512
     // getMyPatient () {
510
     //   console.log('这是啥', this.zone_options_visible)
513
     //   console.log('这是啥', this.zone_options_visible)
552
         // }
555
         // }
553
       }
556
       }
554
     }
557
     }
558
+    .active {
559
+      position: relative;
560
+      &::before {
561
+        position: absolute;
562
+        bottom: 0;
563
+        left: 0;
564
+        width: 100%;
565
+        height: 2px;
566
+        background: $main-color;
567
+        // border-bottom: 0.04rem $main-color solid;
568
+        content: "";
569
+      }
570
+    }
555
   }
571
   }
556
 }
572
 }
557
 .stateBox {
573
 .stateBox {

+ 3 - 0
src/pages/main/dialog/new_order/select_advice_template_dialog.vue 查看文件

261
   @media only screen and (max-width: 811px) {
261
   @media only screen and (max-width: 811px) {
262
     max-height: 11.8rem !important;
262
     max-height: 11.8rem !important;
263
   }
263
   }
264
+  @media only screen and (min-width: 415px) and (max-width: 737px) {
265
+    max-height: 14.8rem !important;
266
+  }
264
   ul {
267
   ul {
265
     li {
268
     li {
266
       height: 1rem;
269
       height: 1rem;

+ 7 - 1
src/pages/main/dialog/subMenu/checkBoxSubMenu.vue 查看文件

139
   @media only screen and (max-width: 768px) {
139
   @media only screen and (max-width: 768px) {
140
     max-height: 11.8rem !important;
140
     max-height: 11.8rem !important;
141
   }
141
   }
142
+  @media only screen and (min-width: 415px) and (max-width: 737px) {
143
+    max-height: 12.8rem !important;
144
+  }
142
   @media only screen and (min-width: 666px) and (max-width: 737px) {
145
   @media only screen and (min-width: 666px) and (max-width: 737px) {
143
     max-height: 8rem;
146
     max-height: 8rem;
144
     min-height: 7rem !important;
147
     min-height: 7rem !important;
155
     @media only screen and (max-width: 768px) {
158
     @media only screen and (max-width: 768px) {
156
       max-height: 11.8rem !important;
159
       max-height: 11.8rem !important;
157
     }
160
     }
161
+    @media only screen and (min-width: 415px) and (max-width: 737px) {
162
+      max-height: 12.8rem !important;
163
+    }
158
     li {
164
     li {
159
       height: 1.2rem;
165
       height: 1.2rem;
160
       line-height: 1.2rem;
166
       line-height: 1.2rem;
191
     min-height: 8rem !important;
197
     min-height: 8rem !important;
192
   }
198
   }
193
   @media only screen and (max-width: 767px) {
199
   @media only screen and (max-width: 767px) {
194
-    max-height: 16rem !important;
200
+    max-height: 15rem !important;
195
     min-height: 8rem !important;
201
     min-height: 8rem !important;
196
   }
202
   }
197
   @media only screen and (min-width: 768px) {
203
   @media only screen and (min-width: 768px) {

+ 4 - 0
src/pages/main/today/detailsInfo.vue 查看文件

220
             width: 0.8rem;
220
             width: 0.8rem;
221
             margin-left: 4px;
221
             margin-left: 4px;
222
           }
222
           }
223
+          @media only screen and (min-width: 415px) and (max-width: 737px) {
224
+            width: 0.8rem;
225
+            margin-left: 0.4rem;
226
+          }
223
           @media only screen and (min-width: 768px) {
227
           @media only screen and (min-width: 768px) {
224
             width: 1rem;
228
             width: 1rem;
225
             margin-left: 10px;
229
             margin-left: 10px;

+ 12 - 3
src/styles/style.scss 查看文件

98
         @media only screen and (min-width: 376px) and (max-width: 413px) {
98
         @media only screen and (min-width: 376px) and (max-width: 413px) {
99
           width: 4.2rem;
99
           width: 4.2rem;
100
         }
100
         }
101
+        @media only screen and (min-width: 415px) and (max-width: 737px) {
102
+          width: 7.6rem;
103
+        }
101
         @media only screen and (min-width: 768px) {
104
         @media only screen and (min-width: 768px) {
102
           width: 6.6rem;
105
           width: 6.6rem;
103
         }
106
         }
409
   .Dialog {
412
   .Dialog {
410
     font-size: 0.36rem;
413
     font-size: 0.36rem;
411
     width: 11.8rem;
414
     width: 11.8rem;
412
-    // @media only screen and (min-width: 376px) and (max-width: 737px) {
413
-    //   width: 16.8rem !important;
414
-    // }
415
+    @media only screen and (min-width: 415px) and (max-width: 737px) {
416
+      width: 12.8rem !important;
417
+    }
415
     @media only screen and (min-width: 376px) and (max-width: 415px) {
418
     @media only screen and (min-width: 376px) and (max-width: 415px) {
416
       width: 10.8rem !important;
419
       width: 10.8rem !important;
417
     }
420
     }
481
       @media only screen and (max-width: 415px) {
484
       @media only screen and (max-width: 415px) {
482
         height: 14.8rem !important;
485
         height: 14.8rem !important;
483
       }
486
       }
487
+      @media only screen and (min-width: 415px) and (max-width: 737px) {
488
+        height: 13.8rem !important;
489
+      }
484
       // @media only screen and (min-width: 666px) and (max-width: 737px) {
490
       // @media only screen and (min-width: 666px) and (max-width: 737px) {
485
       //   height: 8.8rem !important;
491
       //   height: 8.8rem !important;
486
       // }
492
       // }
490
       @media only screen and (min-width: 768px) {
496
       @media only screen and (min-width: 768px) {
491
         height: 11.8rem !important;
497
         height: 11.8rem !important;
492
       }
498
       }
499
+      @media only screen and (min-width: 768px) {
500
+        height: 11.8rem !important;
501
+      }
493
       .item {
502
       .item {
494
         padding: 0 0.32rem;
503
         padding: 0 0.32rem;
495
         border-bottom: 1px #e5e5e5 solid;
504
         border-bottom: 1px #e5e5e5 solid;