Przeglądaj źródła

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

csx 4 lat temu
rodzic
commit
1b2888eaec

+ 16 - 13
src/pages/main/DetailsPage.vue Wyświetl plik

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

+ 3 - 2
src/pages/main/dialog/PrescriptionDialog.vue Wyświetl plik

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