Browse Source

Merge branch 'master' of http://git.shengws.com/csx/Pad_New

XMLWAN 4 years ago
parent
commit
6f71020ddd

+ 2 - 1
.postcssrc.js View File

@@ -14,7 +14,8 @@ module.exports = {
14 14
       selectorBlackList: [],
15 15
       replace: true,
16 16
       mediaQuery: false,
17
-      minPixelValue: 0
17
+      minPixelValue: 0,
18
+      exclude: /src/
18 19
     }
19 20
   }
20 21
 };

+ 2 - 2
src/pages/advice/AdvicePage.vue View File

@@ -34,7 +34,7 @@
34 34
           </van-field>
35 35
         </div>
36 36
       </van-col>-->
37
-      <div class="newSearch">
37
+      <div class="newSearch1">
38 38
         <el-input
39 39
           prefix-icon="el-icon-search"
40 40
           v-model="search_input"
@@ -147,7 +147,7 @@ export default {
147 147
 </style>
148 148
 
149 149
 <style lang="scss">
150
-.newSearch {
150
+.newSearch1 {
151 151
   height: 1rem;
152 152
   width: 100%;
153 153
   background: #fff;

+ 10 - 8
src/pages/advice/DialysisAdviceTable.vue View File

@@ -1,9 +1,11 @@
1 1
 <template>
2 2
   <div class="mainBox">
3
+    <van-sticky>
3 4
     <div class="floatLeft">
4 5
       <i class="iconfont icon-zuojiantou jiantou" @click="$router.go(-1)"></i>
5 6
       <span class="titleName">透析医嘱</span>
6 7
     </div>
8
+    </van-sticky>
7 9
     <div class="choice">
8 10
       <ul>
9 11
         <el-popover placement="bottom" trigger="click" v-model="show_patient_type_selector">
@@ -547,7 +549,7 @@ export default {
547 549
 .choice {
548 550
   border-bottom: 1px #e5e5e5 solid;
549 551
   position: fixed;
550
-  top: 29px;
552
+  top: 28px;
551 553
   right: 0;
552 554
   z-index: 66;
553 555
   left: 0;
@@ -555,18 +557,18 @@ export default {
555 557
   // @media only screen and (max-width: 415px) {
556 558
   //   top: 38px !important;
557 559
   // }
558
-  // @media only screen and (min-width: 376px) and (max-width: 812px) {
559
-  //   top: 38px !important;
560
-  // }
561
-  // @media only screen and (min-width: 768px) {
562
-  //   top: 80px !important;
563
-  // }
560
+  @media only screen and (min-width: 416px) and (max-width: 767px) {
561
+    top: 38px !important;
562
+  }
563
+  @media only screen and (min-width: 768px) {
564
+    top: 48px !important;
565
+  }
564 566
   ul {
565 567
     @include display-flex;
566 568
     @include align-items-center;
567 569
     @include text-align;
568 570
     @include justify-content-between;
569
-    width: 90%;
571
+    width: 94%;
570 572
     margin: 0 auto;
571 573
     font-size: 0.32rem;
572 574
     // color: $pgh-color;

+ 4 - 2
src/pages/console/managementConsole/staff_role/staffManagement/index.vue View File

@@ -17,6 +17,7 @@
17 17
             v-for="(item,index) in admin_user"
18 18
             :key="index"
19 19
             v-if="admin_user.length > 0"
20
+            @click="goEditStaff(item.user_id)"
20 21
           >
21 22
             <img v-if="item.avatar.length > 0" :src="item.avatar" alt />
22 23
             <img
@@ -26,7 +27,7 @@
26 27
             />
27 28
             <p>
28 29
               <span>{{item.user_name}}</span>
29
-              <i @click="goEditStaff(item.user_id)" class="iconfont icon-bianji bianji"></i>
30
+              <i class="iconfont icon-bianji bianji"></i>
30 31
             </p>
31 32
           </div>
32 33
         </div>
@@ -42,6 +43,7 @@
42 43
             v-for="(item,index) in del_admin_user"
43 44
             :key="index"
44 45
             v-if="del_admin_user.length > 0"
46
+            @click="goEditStaff(item.user_id)"
45 47
           >
46 48
             <img v-if="item.avatar.length > 0" :src="item.avatar" alt />
47 49
             <img
@@ -51,7 +53,7 @@
51 53
             />
52 54
             <p>
53 55
               <span>{{item.user_name}}</span>
54
-              <i @click="goEditStaff(item.user_id)" class="iconfont icon-bianji bianji"></i>
56
+              <i class="iconfont icon-bianji bianji"></i>
55 57
             </p>
56 58
           </div>
57 59
         </div>

+ 5 - 3
src/pages/home/forgetPassword/index.vue View File

@@ -285,7 +285,7 @@ export default {
285 285
         float: left;
286 286
         color: #acacac;
287 287
         font-size: 1.5rem;
288
-        margin-left: 0.375rem;
288
+        // margin-left: 0.375rem;
289 289
         line-height: 3.375rem;
290 290
         width: 1.5rem;
291 291
       }
@@ -298,7 +298,7 @@ export default {
298 298
       float: left;
299 299
       color: #acacac;
300 300
       font-size: 1.5rem;
301
-      margin-left: 0.375rem;
301
+      // margin-left: 0.375rem;
302 302
       line-height: 3.375rem;
303 303
       width: 1.5rem;
304 304
     }
@@ -315,7 +315,7 @@ export default {
315 315
         float: left;
316 316
         color: #acacac;
317 317
         font-size: 1.5rem;
318
-        margin-left: 0.375rem;
318
+        // margin-left: 0.375rem;
319 319
       }
320 320
       .el-input {
321 321
         float: left;
@@ -416,6 +416,7 @@ export default {
416 416
     box-sizing: border-box;
417 417
     height: 3.375rem;
418 418
     line-height: 3.375rem;
419
+    color: #000;
419 420
   }
420 421
   .el-input__inner {
421 422
     border: none;
@@ -455,6 +456,7 @@ export default {
455 456
     margin-left: 2.5rem;
456 457
   }
457 458
   .dialog-footer {
459
+    font-size: 1rem;
458 460
     > span:nth-of-type(1) {
459 461
       color: #9b9b9b;
460 462
     }

+ 16 - 5
src/pages/home/login.vue View File

@@ -19,6 +19,7 @@
19 19
           </el-form-item>
20 20
           <el-form-item>
21 21
             <el-input
22
+             class="noRight"
22 23
               placeholder="请填写密码"
23 24
               prefix-icon="el-icon-lock"
24 25
               v-model="LoginForm.psd"
@@ -214,8 +215,8 @@ export default {
214 215
   .loginTop {
215 216
     width: 100%;
216 217
     img {
217
-      width: 7.75rem;
218
-      height: 2.5rem;
218
+      width: 10rem;
219
+      height: 4rem;
219 220
       border: none;
220 221
       margin: 6.25rem auto 3.75rem;
221 222
       display: block;
@@ -303,8 +304,13 @@ export default {
303 304
     margin-bottom: 0;
304 305
   }
305 306
   .ipts {
306
-    .el-icon-circle-close {
307
-      margin-right: 0.625rem;
307
+    // .el-icon-circle-close {
308
+    //   margin-right: 0.625rem;
309
+    // }
310
+    .noRight{
311
+      .el-icon-circle-close {
312
+        margin-right: 0.625rem;
313
+      }
308 314
     }
309 315
     .el-input {
310 316
       display: block;
@@ -312,7 +318,7 @@ export default {
312 318
       width: 19.0625rem;
313 319
       border-bottom: 1px solid #e6e6e6;
314 320
       color: rgba(155, 155, 155, 1);
315
-      padding-left: 0.75rem;
321
+      // padding-left: 0.75rem;
316 322
       box-sizing: border-box;
317 323
       height: 3.375rem;
318 324
       line-height: 3.375rem;
@@ -321,14 +327,19 @@ export default {
321 327
     .el-input__inner {
322 328
       border: none;
323 329
       font-size: 1rem;
330
+      color: #000 !important;
324 331
     }
325 332
     .el-input__prefix {
326 333
       font-size: 1.5rem;
334
+      left: 0;
327 335
     }
328 336
     .el-input__icon {
329 337
       font-size: 1.5rem;
330 338
       line-height: 3.375rem;
331 339
     }
340
+    .el-input__suffix{
341
+      right: 0;
342
+    }
332 343
   }
333 344
 }
334 345
 .page_login{

+ 13 - 10
src/pages/home/noPassword/index.vue View File

@@ -28,10 +28,8 @@
28 28
               placeholder="请填写验证码"
29 29
               v-on:input="watchNum"
30 30
             ></el-input>
31
-            <div>
32
-              <div class="getCode" @click="getVerifyCode()">
33
-                {{ code_btn_title }}
34
-              </div>
31
+            <div class="getCode" @click="getVerifyCode()">
32
+              {{ code_btn_title }}
35 33
             </div>
36 34
           </div>
37 35
         </el-form-item>
@@ -80,6 +78,7 @@
80 78
 import "@/styles/newStyle.scss";
81 79
 import { checkMobile } from "@/utils/tools";
82 80
 import { getCodeInit, getVerifyCode, loginByCode } from "@/api/login";
81
+import { setRem } from "@/libs/functionRem";
83 82
 export default {
84 83
   data() {
85 84
     var checkMobileRule = (rule, value, callback) => {
@@ -115,6 +114,7 @@ export default {
115 114
     };
116 115
   },
117 116
   created() {
117
+    setRem()
118 118
     this.GetCodeInit();
119 119
   },
120 120
   methods: {
@@ -304,7 +304,7 @@ export default {
304 304
         float: left;
305 305
         color: #acacac;
306 306
         font-size: 1.5rem;
307
-        margin-left: 0.375rem;
307
+        // margin-left: 0.375rem;
308 308
         line-height: 3.375rem;
309 309
         width: 1.5rem;
310 310
       }
@@ -321,7 +321,7 @@ export default {
321 321
         float: left;
322 322
         color: #acacac;
323 323
         font-size: 1.5rem;
324
-        margin-left: 0.375rem;
324
+        // margin-left: 0.375rem;
325 325
       }
326 326
       .el-input {
327 327
         float: left;
@@ -343,6 +343,7 @@ export default {
343 343
         background: #338afb;
344 344
         border-radius: 1.4375rem;
345 345
         font-size: 0.8125rem;
346
+        margin-left: 1.85rem;
346 347
       }
347 348
       .getCodetwo {
348 349
         // float: left;
@@ -421,11 +422,12 @@ export default {
421 422
   }
422 423
   .el-input {
423 424
     display: block;
424
-    margin: 0 auto;
425
+    // margin: 0 auto;
425 426
     // width: 19.0625rem;
426
-
427
-    color: rgba(155, 155, 155, 1);
428
-    padding-left: 0.75rem;
427
+    margin-left: 0.45rem;
428
+    color: #000;
429
+    // color: rgba(155, 155, 155, 1);
430
+    // padding-left: 0.45rem;
429 431
     box-sizing: border-box;
430 432
     height: 3.375rem;
431 433
     line-height: 3.375rem;
@@ -434,6 +436,7 @@ export default {
434 436
     border: none;
435 437
     font-size: 1rem;
436 438
     padding-left: 0;
439
+    color: #000;
437 440
   }
438 441
   .el-input__prefix {
439 442
     font-size: 1.5rem;

+ 11 - 7
src/pages/home/register/register.vue View File

@@ -311,7 +311,7 @@ export default {
311 311
         float: left;
312 312
         color: #acacac;
313 313
         font-size: 1.5rem;
314
-        margin-left: 0.375rem;
314
+        // margin-left: 0.375rem;
315 315
         line-height: 3.375rem;
316 316
         width: 1.5rem;
317 317
       }
@@ -323,7 +323,7 @@ export default {
323 323
       float: left;
324 324
       color: #acacac;
325 325
       font-size: 1.5rem;
326
-      margin-left: 0.375rem;
326
+      // margin-left: 0.375rem;
327 327
       line-height: 3.375rem;
328 328
       width: 1.5rem;
329 329
     }
@@ -340,7 +340,7 @@ export default {
340 340
         float: left;
341 341
         color: #acacac;
342 342
         font-size: 1.5rem;
343
-        margin-left: 0.375rem;
343
+        // margin-left: 0.375rem;
344 344
       }
345 345
       .el-input {
346 346
         float: left;
@@ -363,6 +363,7 @@ export default {
363 363
         border-radius: 1.4375rem;
364 364
         font-size: 0.8125rem;
365 365
         // margin-top: 0.9375rem;
366
+        margin-left: 1.85rem;
366 367
       }
367 368
 
368 369
       .getCodetwo {
@@ -446,9 +447,10 @@ export default {
446 447
   .el-input {
447 448
     display: flex;
448 449
     align-items: center;
449
-    margin: 0 auto;
450
-    color: rgba(155, 155, 155, 1);
451
-    padding-left: 0.75rem;
450
+    // margin: 0 auto;
451
+    margin-left: 0.75rem;
452
+    color: #000;
453
+    // padding-left: 0.75rem;
452 454
     box-sizing: border-box;
453 455
     height: 3.375rem;
454 456
     line-height: 3.375rem;
@@ -457,6 +459,7 @@ export default {
457 459
     border: none;
458 460
     font-size: 1rem;
459 461
     padding-left: 0;
462
+    color: #000;
460 463
   }
461 464
   .el-input__prefix {
462 465
     font-size: 1.5rem;
@@ -464,7 +467,7 @@ export default {
464 467
   }
465 468
 
466 469
   .phoneLine {
467
-    .el-input__clear {
470
+    .el-icon-circle-close {
468 471
       margin-right: 0.625rem;
469 472
     }
470 473
     .el-input__icon {
@@ -494,6 +497,7 @@ export default {
494 497
     //   display: flex;
495 498
     //   justify-content: space-around;
496 499
     //   align-items: center;
500
+    font-size: 1rem;
497 501
     > span:nth-of-type(1) {
498 502
       color: #9b9b9b;
499 503
     }

+ 2 - 0
src/pages/homeIndex/index.vue View File

@@ -530,6 +530,8 @@ export default {
530 530
 .page_homeIndex {
531 531
   .van-dropdown-menu__title {
532 532
     padding-left: 0;
533
+    color: #000;
534
+    font-size: 1rem;
533 535
   }
534 536
 }
535 537
 </style>

+ 14 - 8
src/pages/main/DialysisArea.vue View File

@@ -87,7 +87,7 @@
87 87
           v-if="!networkStates"
88 88
           style="display: block;text-align: center"
89 89
         >
90
-          <p style="margin-top: 100px;font-size: 18px">
90
+          <p>
91 91
             网络异常,请点击重新加载
92 92
           </p>
93 93
 
@@ -525,13 +525,13 @@ export default {
525 525
 .screening {
526 526
   border-bottom: 1px #e5e5e5 solid;
527 527
   position: fixed;
528
-  top: 100px;
529
-  @media only screen and (min-width: 768px) {
530
-    top: 163px;
531
-  }
532
-  @media only screen and (min-width: 415px) and (max-width: 767px) {
533
-    top: 134px;
534
-  }
528
+  top: 3.25rem;
529
+  // @media only screen and (min-width: 768px) {
530
+  //   top: 163px;
531
+  // }
532
+  // @media only screen and (min-width: 415px) and (max-width: 767px) {
533
+  //   top: 134px;
534
+  // }
535 535
   // @media only screen and (min-width: 813px) and (max-width: 1024px) {
536 536
   //   top: 130px;
537 537
   // }
@@ -612,4 +612,10 @@ export default {
612 612
     line-height: 40px !important;
613 613
   }
614 614
 }
615
+.NoData{
616
+  p{
617
+    margin-top: 100px;
618
+    font-size: 18px
619
+  }
620
+}
615 621
 </style>

+ 4 - 1
src/pages/main/RecordPage.vue View File

@@ -466,12 +466,15 @@ export default {
466 466
     padding-left: 0.1rem;
467 467
     @media only screen and (min-width: 768px) {
468 468
       margin-top: 1px;
469
+      font-size: 24px;
470
+      width: 0;
469 471
     }
470 472
   }
471 473
   .el-input__prefix {
472 474
     // left:1px;
473 475
     @media only screen and (min-width: 768px) {
474
-      left: 10px;
476
+      // left: 10px;
477
+      
475 478
     }
476 479
   }
477 480
 }

+ 4 - 4
src/pages/monitoring/index.vue View File

@@ -519,10 +519,10 @@ export default {
519 519
   /*top: 38px !important;*/
520 520
   /*}*/
521 521
   @media only screen and (min-width: 768px) {
522
-    top: 80px !important;
522
+    top: 114px !important;
523 523
   }
524 524
   @media only screen and (min-width: 415px) and (max-width: 767px) {
525
-    top: 64px;
525
+    top: 90px;
526 526
   }
527 527
   ul {
528 528
     @include display-flex;
@@ -572,10 +572,10 @@ export default {
572 572
     padding-top: 80px !important;
573 573
   }
574 574
   @media only screen and (min-width: 415px) and (max-width: 767px) {
575
-    padding-top: 96px;
575
+    padding-top: 126px;
576 576
   }
577 577
   @media only screen and (min-width: 768px) {
578
-    padding-top: 120px !important;
578
+    padding-top: 160px !important;
579 579
   }
580 580
 }
581 581
 .mainBox {

+ 5 - 4
src/pages/my/modifyPassword.vue View File

@@ -274,7 +274,7 @@ export default {
274 274
         float: left;
275 275
         color: #acacac;
276 276
         font-size: 1.5rem;
277
-        margin-left: 0.375rem;
277
+        // margin-left: 0.375rem;
278 278
         line-height: 3.375rem;
279 279
         width: 1.5rem;
280 280
       }
@@ -287,7 +287,7 @@ export default {
287 287
       float: left;
288 288
       color: #acacac;
289 289
       font-size: 1.5rem;
290
-      margin-left: 0.375rem;
290
+      // margin-left: 0.375rem;
291 291
       line-height: 3.375rem;
292 292
       width: 1.5rem;
293 293
     }
@@ -304,7 +304,7 @@ export default {
304 304
         float: left;
305 305
         color: #acacac;
306 306
         font-size: 1.5rem;
307
-        margin-left: 0.375rem;
307
+        // margin-left: 0.375rem;
308 308
       }
309 309
       .el-input {
310 310
         float: left;
@@ -418,7 +418,7 @@ export default {
418 418
 
419 419
   .phoneLine {
420 420
     .el-input__clear {
421
-      margin-right: 0.625rem;
421
+      // margin-right: 0.625rem;
422 422
     }
423 423
     .el-input__icon {
424 424
       line-height: 3.375rem;
@@ -444,6 +444,7 @@ export default {
444 444
     margin-left: 2.5rem;
445 445
   }
446 446
   .dialog-footer {
447
+    font-size:1rem;
447 448
     > span:nth-of-type(1) {
448 449
       color: #9b9b9b;
449 450
     }

+ 2 - 0
src/pages/shop/index.vue View File

@@ -1,9 +1,11 @@
1 1
 <template>
2 2
   <div class="page_shop">
3
+    <van-sticky>
3 4
     <div class="shopTitle">
4 5
       <i class="iconfont icon-zuojiantou jiantou" @click="$router.go(-1)"></i>
5 6
       <span class="titleName">商城</span>
6 7
     </div>
8
+    </van-sticky>
7 9
     <iframe
8 10
       src="http://shop.kuyicloud.com/app/index.php?i=2&c=entry&m=ewei_shopv2&do=mobile&wxref=mp.weixin.qq.com#wechat_redirect"
9 11
     ></iframe>

+ 7 - 7
src/router/index.js View File

@@ -62,15 +62,15 @@ export default new Router({
62 62
           name: 'newMy',
63 63
           component: () => import('@/pages/my/index')
64 64
         },
65
-        // 商城
66
-        {
67
-          path: '/shop',
68
-          name: 'shop',
69
-          component: () => import('@/pages/shop/index')
70
-        }
65
+        
71 66
       ]
72 67
     },
73
-
68
+    // 商城
69
+    {
70
+      path: '/shop',
71
+      name: 'shop',
72
+      component: () => import('@/pages/shop/index')
73
+    },
74 74
     {
75 75
       path: '/perfectOrg',
76 76
       component: () => import('@/pages/org'),

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

@@ -1,11 +1,11 @@
1 1
 @media only screen and (max-width: 767px) {
2 2
   html {
3
-    font-size: 30px;
3
+    font-size: 30px !important;
4 4
   }
5 5
 }
6 6
 @media only screen and (min-width: 415px) and (max-width: 767px) {
7 7
   html {
8
-    font-size: 40px;
8
+    font-size: 40px !important;
9 9
   }
10 10
 }
11 11
 

+ 7 - 30
src/styles/newStyle.scss View File

@@ -1,31 +1,8 @@
1
-// html,
2
-// body {
3
-//   height: 100%;
4
-//   background: #fff !important;
5
-//   color: #000 !important;
6
-// }
7
-
8
-@media only screen and (max-width: 415px) {
9
-  html,
10
-  body {
11
-    height: 100%;
12
-    font-size: 30px !important;
13
-    background: #fff !important;
14
-    color: #000 !important;
15
-  }
16
-}
17
-@media only screen and (min-width: 415px) and (max-width: 767px) {
18
-  html {
19
-    font-size: 40px !important;
20
-  }
21
-}
22
-@media only screen and (min-width: 768px) and (max-width: 1024px) {
23
-  html {
24
-    font-size: 50px !important;
25
-  }
26
-}
27
-@media only screen and (min-width: 768px) {
28
-  html {
29
-    font-size: 50px !important;
30
-  }
1
+html,
2
+body {
3
+  height: 100%;
4
+  background: #fff !important;
5
+  color: #000 !important;
31 6
 }
7
+
8
+

+ 1 - 1
src/styles/reset.scss View File

@@ -1,7 +1,7 @@
1 1
 html {
2 2
   -webkit-text-size-adjust: 100%;
3 3
   -ms-text-size-adjust: 100%;
4
-  font-size: 50px !important;
4
+  font-size: 50px;
5 5
 }
6 6
 
7 7
 input[type="submit"],

+ 4 - 0
src/styles/style.scss View File

@@ -1054,3 +1054,7 @@ body {
1054 1054
 #app {
1055 1055
   -webkit-overflow-scrolling: touch;
1056 1056
 }
1057
+
1058
+.van-checkbox__icon{
1059
+  font-size: 20px;
1060
+}

+ 24 - 0
src/styles/style2.scss View File

@@ -0,0 +1,24 @@
1
+@media only screen and (max-width: 415px) {
2
+    html,
3
+    body {
4
+      height: 100%;
5
+      font-size: 30px !important;
6
+      background: #fff !important;
7
+      color: #000 !important;
8
+    }
9
+  }
10
+  @media only screen and (min-width: 415px) and (max-width: 767px) {
11
+    html {
12
+      font-size: 40px !important;
13
+    }
14
+  }
15
+  @media only screen and (min-width: 768px) and (max-width: 1024px) {
16
+    html {
17
+      font-size: 50px !important;
18
+    }
19
+  }
20
+  @media only screen and (min-width: 768px) {
21
+    html {
22
+      font-size: 50px !important;
23
+    }
24
+  }