Browse Source

修改样式

See999 5 years ago
parent
commit
93c322b999

+ 36 - 31
src/pages/main/DetailsPage.vue View File

@@ -1,42 +1,44 @@
1 1
 <template>
2 2
   <div class="mainBox">
3 3
     <div class="mainContent">
4
-      <div class="navigation">
5
-        <div class="goBack">
6
-          <span class="back" @click="backAction()">
7
-            <span class="iconfont">&#xe720;</span>返回
8
-          </span>
9
-          <el-popover placement="bottom" trigger="click" :disabled="true">
10
-            <li slot="reference" class="name">{{ patient_name }}</li>
11
-          </el-popover>
12
-        </div>
13
-        <div class="nav">
14
-          <ul>
15
-            <li
16
-              v-for="(item, i) in ['病历', '透析', '今日']"
17
-              :key="i"
18
-              :class="index == i ? 'active' : ''"
19
-              @click="ClickTab(i)"
20
-            >
21
-              {{ item }}
22
-            </li>
23
-          </ul>
24
-        </div>
4
+      <div class="newNavigation">
5
+        <div class="navigation">
6
+          <div class="goBack">
7
+            <span class="back" @click="backAction()">
8
+              <span class="iconfont">&#xe720;</span>返回
9
+            </span>
10
+            <el-popover placement="bottom" trigger="click" :disabled="true">
11
+              <li slot="reference" class="name">{{ patient_name }}</li>
12
+            </el-popover>
13
+          </div>
14
+          <div class="nav">
15
+            <ul>
16
+              <li
17
+                v-for="(item, i) in ['病历', '透析', '今日']"
18
+                :key="i"
19
+                :class="index == i ? 'active' : ''"
20
+                @click="ClickTab(i)"
21
+              >
22
+                {{ item }}
23
+              </li>
24
+            </ul>
25
+          </div>
25 26
 
26
-        <!-- <div @click="openPicker()" class="time">
27
+          <!-- <div @click="openPicker()" class="time">
27 28
                   {{pickerVisible}}<span class="iconfont">&#xe74a;</span>
28 29
         </div>-->
29
-        <!-- <div class="time" style="width:1.49rem;">
30
+          <!-- <div class="time" style="width:1.49rem;">
30 31
                   <span class="iconfont">2018-01-01&#xe74a;</span>
31 32
         </div>-->
32
-        <div class="print" style="float: right; display:none">
33
-          <el-button
34
-            size="mini"
35
-            type="primary"
36
-            @click="print"
37
-            icon="el-icon-printer"
38
-            >打印</el-button
39
-          >
33
+          <div class="print" style="float: right; display:none">
34
+            <el-button
35
+              size="mini"
36
+              type="primary"
37
+              @click="print"
38
+              icon="el-icon-printer"
39
+              >打印</el-button
40
+            >
41
+          </div>
40 42
         </div>
41 43
       </div>
42 44
       <div class="Tab">
@@ -165,6 +167,9 @@ export default {
165 167
 }
166 168
 .mainContent {
167 169
   position: relative;
170
+  .newNavigation {
171
+    overflow: hidden;
172
+  }
168 173
   .navigation {
169 174
     @include display-flex;
170 175
     @include align-items-center;

+ 2 - 2
src/pages/main/dialog/OrdersDialog.vue View File

@@ -42,8 +42,8 @@
42 42
           :class="{ forbid: current_group_index < 0 || currentAdvices.length <= 0 || (this.$store.getters.user.user.user_type == 3 && !isPremission) }"
43 43
         >删除</span>
44 44
 
45
-        <span :class="{ forbid:(this.$store.getters.user.user.user_type == 3 && !isPremission) }" v-if="currentSubAdvices.length > 0" @click="modifySubdviceAction">修改子医嘱</span>
46
-        <span :class="{ forbid:(this.$store.getters.user.user.user_type == 3 && !isPremission) }" v-if="currentSubAdvices.length > 0" @click="deleteSubAdviceAction">删除子医嘱</span>
45
+        <span id="fontSize" :class="{ forbid:(this.$store.getters.user.user.user_type == 3 && !isPremission) }" v-if="currentSubAdvices.length > 0" @click="modifySubdviceAction">修改子医嘱</span>
46
+        <span id="fontSize" :class="{ forbid:(this.$store.getters.user.user.user_type == 3 && !isPremission) }" v-if="currentSubAdvices.length > 0" @click="deleteSubAdviceAction">删除子医嘱</span>
47 47
       </div>
48 48
       <div class="DialogContent choose" id="dialogTop" style="height:6.5rem;">
49 49
 

+ 8 - 3
src/pages/main/dialog/modify_order/ModifyAdviceGroup.vue View File

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
   <div v-if="visibility" v-loading="loading">
3
-    <div class="Dialog" style="width: 16.8rem;" v-show="sub_dialog_key == 0">
3
+    <div class="Dialog" v-show="sub_dialog_key == 0">
4 4
       <div class="DialogTit">
5 5
         <div class="back" @click="backAction">
6 6
           <span class="iconfont">&#xe720;</span>返回
@@ -37,7 +37,9 @@
37 37
             </div>
38 38
             <div class="cell" style="margin-top: 0;">
39 39
               <label>开嘱医生</label>
40
-              <span>{{ $store.getters.user.user.user_name }}</span>
40
+              <span class="newdoctorName">{{
41
+                $store.getters.user.user.user_name
42
+              }}</span>
41 43
             </div>
42 44
           </div>
43 45
           <table class="table">
@@ -378,7 +380,10 @@ export default {
378 380
       height: 0.6rem;
379 381
       line-height: 0.6rem;
380 382
       color: $pgh-color;
381
-      font-size: 0.32rem;
383
+      font-size: 0.45rem;
384
+    }
385
+    .newdoctorName {
386
+      font-size: 0.45rem;
382 387
     }
383 388
     select {
384 389
       width: 100%;

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

@@ -396,7 +396,7 @@ export default {
396 396
   .cell {
397 397
     float: left;
398 398
     width: 4.5rem;
399
-    margin: 0.35rem 0.3rem 0.2rem 0.4rem;
399
+    margin: 0.35rem 0.3rem 0rem 0.4rem;
400 400
     overflow: hidden;
401 401
     label {
402 402
       display: block;
@@ -447,13 +447,13 @@ export default {
447 447
   .cell {
448 448
     .inputBox {
449 449
       @media only screen and (max-width: 767px) {
450
-        padding: 0.34rem 0 !important;
450
+        padding: 10.6px 0 !important;
451 451
         padding-left: 5px !important;
452 452
         font-size: 0.42rem !important;
453 453
       }
454 454
     }
455 455
     .el-input__inner {
456
-      font-size: 0.45rem;
456
+      font-size: 0.42rem;
457 457
     }
458 458
   }
459 459
 }

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

@@ -492,7 +492,7 @@ export default {
492 492
   .cell {
493 493
     .inputBox {
494 494
       @media only screen and (max-width: 767px) {
495
-        padding: 0.38rem 0 !important;
495
+        padding: 0.34rem 0 !important;
496 496
         padding-left: 5px !important;
497 497
         font-size: 0.42rem !important;
498 498
       }