Browse Source

修改样式

See999 4 years ago
parent
commit
813eecb470

+ 5 - 0
package-lock.json View File

@@ -285,6 +285,11 @@
285 285
         }
286 286
       }
287 287
     },
288
+    "@types/better-scroll": {
289
+      "version": "1.12.1",
290
+      "resolved": "https://registry.npmjs.org/@types/better-scroll/-/better-scroll-1.12.1.tgz",
291
+      "integrity": "sha512-jI/nmYl6+RbGsVIhJpqpoh09hC5Kf/OZiwYKCcfmoihpxxTPkeuNdz9DyRhdXf09Wgl1l9n/bOXXo9ucwgp4Lg=="
292
+    },
288 293
     "@types/commander": {
289 294
       "version": "2.12.2",
290 295
       "resolved": "https://registry.npmjs.org/@types/commander/-/commander-2.12.2.tgz",

+ 8 - 4
src/pages/main/dialog/modify_order/modify_order_form.vue View File

@@ -110,7 +110,11 @@
110 110
 
111 111
             <div class="cell" v-show="order.parent_id == 0">
112 112
               <label>医嘱嘱托</label>
113
-              <input class="inputBox" style="width:100%" v-model="order.remark" />
113
+              <input
114
+                class="inputBox"
115
+                style="width:100%"
116
+                v-model="order.remark"
117
+              />
114 118
             </div>
115 119
             <!-- </div> -->
116 120
           </div>
@@ -394,6 +398,9 @@ export default {
394 398
 <style style="stylesheet/scss" lang="scss" scoped>
395 399
 .content {
396 400
   .cell {
401
+    @media only screen and (max-width: 415px) {
402
+      height: 2.4rem;
403
+    }
397 404
     float: left;
398 405
     width: 4.5rem;
399 406
 
@@ -446,9 +453,6 @@ export default {
446 453
 .content {
447 454
   .newContent {
448 455
     .cell {
449
-      @media only screen and (max-width: 415px) {
450
-        height: 2.4rem;
451
-      }
452 456
       .inputBox {
453 457
         @media only screen and (max-width: 767px) {
454 458
           padding: 10.6px 0 !important;

+ 19 - 6
src/pages/main/dialog/new_order/order_form.vue View File

@@ -20,7 +20,11 @@
20 20
               <label>药品规格</label>
21 21
               <!--<input class="inputBox" style="width:62.5%" v-model="order.advice_desc">-->
22 22
 
23
-              <input class="inputBox" style="width:60%" v-model="order.advice_desc" />
23
+              <input
24
+                class="inputBox"
25
+                style="width:60%"
26
+                v-model="order.advice_desc"
27
+              />
24 28
               <input
25 29
                 type="text"
26 30
                 placeholder="单位"
@@ -53,7 +57,12 @@
53 57
 
54 58
             <div class="cell">
55 59
               <label>单次用量</label>
56
-              <input type="number" class="inputBox" style="width:62.5%" v-model="order.single_dose" />
60
+              <input
61
+                type="number"
62
+                class="inputBox"
63
+                style="width:62.5%"
64
+                v-model="order.single_dose"
65
+              />
57 66
               <input
58 67
                 type="text"
59 68
                 placeholder="单位"
@@ -89,7 +98,11 @@
89 98
 
90 99
             <div class="cell" v-show="order.parent_id == 0">
91 100
               <label>医嘱嘱托</label>
92
-              <input class="inputBox" style="width:100%" v-model="order.remark" />
101
+              <input
102
+                class="inputBox"
103
+                style="width:100%"
104
+                v-model="order.remark"
105
+              />
93 106
             </div>
94 107
           </div>
95 108
         </div>
@@ -427,6 +440,9 @@ export default {
427 440
 <style style="stylesheet/scss" lang="scss" scoped>
428 441
 .content {
429 442
   .cell {
443
+    @media only screen and (max-width: 415px) {
444
+      height: 2.4rem;
445
+    }
430 446
     float: left;
431 447
     width: 4.5rem;
432 448
     margin: 0.35rem 0.3rem 0.1rem 0.4rem;
@@ -477,9 +493,6 @@ export default {
477 493
     overflow: hidden;
478 494
   }
479 495
   .cell {
480
-    @media only screen and (max-width: 415px) {
481
-      height: 2.4rem;
482
-    }
483 496
     .inputBox {
484 497
       @media only screen and (max-width: 767px) {
485 498
         padding: 0.34rem 0 !important;