Browse Source

Merge branch 'new_pad_branch' of http://git.shengws.com/zhangbj/xt_pad into new_pad_branch

csx 4 years ago
parent
commit
1b2888eaec
2 changed files with 19 additions and 15 deletions
  1. 16 13
      src/pages/main/DetailsPage.vue
  2. 3 2
      src/pages/main/dialog/PrescriptionDialog.vue

+ 16 - 13
src/pages/main/DetailsPage.vue View File

@@ -2,7 +2,7 @@
2 2
   <div class="mainBox">
3 3
     <div class="mainContent">
4 4
       <div class="navigation">
5
-        <div class="goBack">
5
+        <div class="goBack newGoBack">
6 6
           <span class="back" @click="backAction()">
7 7
             <span class="iconfont">&#xe720;</span>返回
8 8
           </span>
@@ -10,7 +10,7 @@
10 10
             <li slot="reference" class="name">{{ patient_name }}</li>
11 11
           </el-popover>
12 12
         </div>
13
-        <div class="nav">
13
+        <div class="nav newNav1">
14 14
           <ul>
15 15
             <li
16 16
               v-for="(item, i) in ['病历', '透析', '今日']"
@@ -155,11 +155,11 @@ export default {
155 155
 .mainContent {
156 156
   position: relative;
157 157
   .navigation {
158
-    @include display-flex;
159
-    @include align-items-center;
160
-    @include text-align;
161
-    @include box-sizing;
162
-    @include justify-content-between;
158
+    // @include display-flex;
159
+    // @include align-items-center;
160
+    // @include text-align;
161
+    // @include box-sizing;
162
+    // @include justify-content-between;
163 163
     padding: 0.3rem 0.36rem;
164 164
     // border-bottom: 1px #e5e5e5 solid;
165 165
     position: fixed;
@@ -168,22 +168,25 @@ export default {
168 168
     right: 0;
169 169
     z-index: 100;
170 170
     background: #258ffc;
171
-    @media only screen and (max-width: 320px) {
172
-      display: -webkit-box;
171
+    .newGoBack {
172
+      float: left;
173
+    }
174
+    .newNav1 {
175
+      float: left;
173 176
     }
174 177
     .name {
175 178
       color: #fff;
176 179
     }
177 180
     .nav {
178
-      margin-right: 2.4rem;
181
+      margin-left: 0.4rem;
179 182
       @media only screen and (min-width: 376px) and (max-width: 415px) {
180
-        margin-right: 3.6rem;
183
+        margin-left: 1rem;
181 184
       }
182 185
       @media only screen and (min-width: 415px) and (max-width: 767px) {
183
-        margin-right: 3.6rem;
186
+        margin-left: 1.6rem;
184 187
       }
185 188
       @media only screen and (min-width: 768px) {
186
-        margin-right: 4rem;
189
+        margin-left: 2rem;
187 190
       }
188 191
       ul {
189 192
         li {

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

@@ -830,7 +830,7 @@
830 830
       lastInputFocus: function (event) {
831 831
         var input = event.target
832 832
         event.currentTarget.select();
833
-   
833
+
834 834
         setTimeout(function () {
835 835
           input.style.marginBottom = '2rem'
836 836
           input.parentNode.scrollIntoView()
@@ -1288,7 +1288,8 @@
1288 1288
             }else{
1289 1289
               this.zhiShow = true
1290 1290
               this.totalShow = true
1291
-              this.huShow  = true 
1291
+              this.huShow  = true
1292
+              console.log("aa")
1292 1293
             }
1293 1294
           }
1294 1295
         }