Browse Source

通用样式移到App.vue

lighter 3 years ago
parent
commit
df03986302
2 changed files with 8 additions and 7 deletions
  1. 8 3
      src/App.vue
  2. 0 4
      src/views/medical-insurance/inpatient/Home.vue

+ 8 - 3
src/App.vue

@@ -5,9 +5,9 @@
 </template>
 
 <script>
-import {defineComponent} from 'vue'
+import { defineComponent } from 'vue'
 import locale from 'element-plus/lib/locale/lang/zh-cn'
-import {useStore} from 'vuex'
+import { useStore } from 'vuex'
 
 export default defineComponent({
   name: 'App',
@@ -34,7 +34,7 @@ export default defineComponent({
 function getWindowSize() {
   const w = window.innerWidth
   const h = window.innerHeight - 96
-  return {w, h}
+  return { w, h }
 }
 </script>
 
@@ -55,6 +55,11 @@ function getWindowSize() {
   overflow: hidden;
 }
 
+.sex-icon {
+  width: 15px;
+  height: 15px;
+}
+
 .el-table .cell {
   padding-left: 4px;
   padding-right: 4px;

+ 0 - 4
src/views/medical-insurance/inpatient/Home.vue

@@ -487,8 +487,4 @@ function downloadReadCard() {
 .router-parent {
   width: calc(100% - 8px);
 }
-.sex-icon {
-  width: 15px;
-  height: 15px;
-}
 </style>