Browse Source

修改样式

See999 5 years ago
parent
commit
ca187b3371

+ 3 - 2
src/App.vue View File

@@ -31,9 +31,10 @@ export default {
31 31
       document.body.scrollTop = 0;
32 32
       document.documentElement.scrollTop = 0;
33 33
     }
34
-  },created(){
35
-    console.log("111111")
36 34
   },
35
+  created() {
36
+    console.log("111111");
37
+  }
37 38
 };
38 39
 </script>
39 40
 

+ 5 - 5
src/pages/patientManagement/index.vue View File

@@ -179,11 +179,11 @@ export default {
179 179
       }
180 180
     }
181 181
   }
182
-  .van-popup {
183
-    border-radius: 0 !important;
184
-    top: 0 !important;
185
-    transform: translate3d(0, 0, 0) !important;
186
-  }
182
+  // .van-popup {
183
+  //   border-radius: 0 !important;
184
+  //   top: 0 !important;
185
+  //   transform: translate3d(0, 0, 0) !important;
186
+  // }
187 187
 }
188 188
 ::-webkit-scrollbar {
189 189
   width: 0;

+ 4 - 1
src/pages/patientManagement/patientManagement.vue View File

@@ -2,7 +2,7 @@
2 2
   <div class="page_patientManagement">
3 3
     <van-sticky>
4 4
       <div class="patientManagementTitle">
5
-        <i class="iconfont icon-zuojiantou jiantou"></i>
5
+        <i class="iconfont icon-zuojiantou jiantou" @click="toback"></i>
6 6
         <span class="titleName">患者管理</span>
7 7
         <div class="iconBox" @click="addPatient">
8 8
           <van-icon class="iconOne add" name="add-o" />
@@ -151,6 +151,9 @@ export default {
151 151
     },
152 152
     toPatientDetail(id) {
153 153
       this.$router.push("/patientdetail?patientid=" + id);
154
+    },
155
+    toback() {
156
+      this.$router.push("/homeIndex");
154 157
     }
155 158
   },
156 159
   created() {

+ 8 - 1
src/pages/patients/editPatient.vue View File

@@ -612,7 +612,7 @@ export default {
612 612
 };
613 613
 </script>
614 614
 
615
-<style lang="scss">
615
+<style lang="scss" scoped>
616 616
 .page_editPatients {
617 617
   overflow-y: auto;
618 618
   height: 100%;
@@ -679,6 +679,13 @@ export default {
679 679
   .van-button--info {
680 680
     border-radius: 0.9375rem;
681 681
   }
682
+  .van-button--small {
683
+    min-width: 60px !important;
684
+    height: 30px;
685
+    padding: 0 8px;
686
+    font-size: 12px !important;
687
+    line-height: 28px;
688
+  }
682 689
   .moreInfo {
683 690
     text-align: center;
684 691
     font-size: 0.75rem;

+ 2 - 2
src/styles/newStyle.scss View File

@@ -1,6 +1,6 @@
1 1
 html,
2 2
 body {
3 3
   height: 100%;
4
-  background: #fff;
5
-  color: #000;
4
+  background: #fff !important;
5
+  color: #000 !important;
6 6
 }