Browse Source

修改样式

See999 4 years ago
parent
commit
af9b5542ad
5 changed files with 12 additions and 4 deletions
  1. 1 1
      .postcssrc.js
  2. 1 1
      src/main.js
  3. 1 1
      src/pages/homeIndex/index.vue
  4. 8 0
      src/pages/main/RecordPage.vue
  5. 1 1
      src/pages/main/index.vue

+ 1 - 1
.postcssrc.js View File

@@ -11,7 +11,7 @@ module.exports = {
11 11
       rootValue: 16, // 对应16px 适配移动端750px宽度
12 12
       unitPrecision: 5,
13 13
       propList: ["*"],
14
-      selectorBlackList: [],
14
+      selectorBlackList: [".el"],
15 15
       replace: true,
16 16
       mediaQuery: false,
17 17
       minPixelValue: 0,

+ 1 - 1
src/main.js View File

@@ -19,7 +19,7 @@ import "@/styles/variables.scss";
19 19
 // import "vant/lib/index.css";
20 20
 // import "vant/lib/icon/local.css";
21 21
 // import '@/styles/vant-css/index.css'
22
-import "@/styles/media.scss";
22
+// import "@/styles/media.scss";
23 23
 import ElementUI from "element-ui";
24 24
 import "element-ui/lib/theme-chalk/index.css";
25 25
 import pinyin from "js-pinyin";

+ 1 - 1
src/pages/homeIndex/index.vue View File

@@ -258,7 +258,7 @@ export default {
258 258
         return;
259 259
       }
260 260
       if (app.open_status == 0) {
261
-        Toast("敬请期待");
261
+        Toast("近期发布");
262 262
 
263 263
         return;
264 264
       }

+ 8 - 0
src/pages/main/RecordPage.vue View File

@@ -458,6 +458,9 @@ export default {
458 458
     @media only screen and (min-width: 768px) {
459 459
       padding-left: 0.9rem !important;
460 460
     }
461
+    @media only screen and (min-width: 416px) and (max-width: 767px) {
462
+      padding-left: 1.2rem !important;
463
+    }
461 464
   }
462 465
   .el-input__icon {
463 466
     line-height: 0.95rem;
@@ -469,6 +472,11 @@ export default {
469 472
       font-size: 24px;
470 473
       width: 0;
471 474
     }
475
+     @media only screen and (min-width: 416px) and (max-width: 767px) {
476
+      margin-top: 1px;
477
+      font-size: 24px;
478
+      width: 0;
479
+    }
472 480
   }
473 481
   .el-input__prefix {
474 482
     // left:1px;

+ 1 - 1
src/pages/main/index.vue View File

@@ -15,7 +15,7 @@
15 15
 
16 16
 <script>
17 17
 import "@/styles/style.scss";
18
-// import "@/styles/media.scss";
18
+import "@/styles/media.scss";
19 19
 import RecordPage from "./RecordPage";
20 20
 import SideBar from "@/pages/layout/SideBar";
21 21
 import { getDialysisScheduals, getWaitingScheduals } from "@/api/dialysis";