See999 5 år sedan
förälder
incheckning
cd4d91d2a3
2 ändrade filer med 41 tillägg och 35 borttagningar
  1. 1 1
      src/scrm_pages/members/cards.vue
  2. 40 34
      src/styles/index.scss

+ 1 - 1
src/scrm_pages/members/cards.vue Visa fil

@@ -2,7 +2,7 @@
2 2
   <div class="main-contain">
3 3
     <div class="position">
4 4
       <bread-crumb :crumbs='crumbs'></bread-crumb>
5
-      <el-col :span="5" style="text-align: right;">
5
+      <el-col :span="16" style="text-align: right;">
6 6
         <el-button type="primary" size="small" icon="el-icon-circle-plus-outline" @click="openCreate">添加会员卡</el-button>
7 7
         <el-button  type="primary" size="small" icon="el-icon-setting" @click="openRight">会员权益配置</el-button>
8 8
       </el-col>

+ 40 - 34
src/styles/index.scss Visa fil

@@ -1,16 +1,17 @@
1
-@import './variables.scss';
2
-@import './mixin.scss';
3
-@import './transition.scss';
4
-@import './element-ui.scss';
5
-@import './sidebar.scss';
6
-@import './btn.scss';
7
-@import './reset.scss';
1
+@import "./variables.scss";
2
+@import "./mixin.scss";
3
+@import "./transition.scss";
4
+@import "./element-ui.scss";
5
+@import "./sidebar.scss";
6
+@import "./btn.scss";
7
+@import "./reset.scss";
8 8
 body {
9 9
   height: 100%;
10 10
   -moz-osx-font-smoothing: grayscale;
11 11
   -webkit-font-smoothing: antialiased;
12 12
   text-rendering: optimizeLegibility;
13
-  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
13
+  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
14
+    Microsoft YaHei, Arial, sans-serif;
14 15
 }
15 16
 
16 17
 ul {
@@ -122,12 +123,12 @@ code {
122 123
 }
123 124
 
124 125
 .warn-content {
125
-  background: rgba(66, 185, 131, .1);
126
+  background: rgba(66, 185, 131, 0.1);
126 127
   border-radius: 2px;
127 128
   padding: 16px;
128 129
   padding: 1rem;
129 130
   line-height: 1.6rem;
130
-  word-spacing: .05rem;
131
+  word-spacing: 0.05rem;
131 132
   a {
132 133
     color: #42b983;
133 134
     font-weight: 600;
@@ -152,7 +153,7 @@ code {
152 153
 }
153 154
 
154 155
 .text-center {
155
-  text-align: center
156
+  text-align: center;
156 157
 }
157 158
 
158 159
 .sub-navbar {
@@ -163,7 +164,13 @@ code {
163 164
   text-align: right;
164 165
   padding-right: 20px;
165 166
   transition: 600ms ease position;
166
-  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
167
+  background: linear-gradient(
168
+    90deg,
169
+    rgba(32, 182, 249, 1) 0%,
170
+    rgba(32, 182, 249, 1) 0%,
171
+    rgba(33, 120, 241, 1) 100%,
172
+    rgba(33, 120, 241, 1) 100%
173
+  );
167 174
   .subtitle {
168 175
     font-size: 20px;
169 176
     color: #fff;
@@ -218,7 +225,7 @@ code {
218 225
     font-weight: 700;
219 226
     &::before,
220 227
     &::after {
221
-      content: '';
228
+      content: "";
222 229
       display: block;
223 230
       position: absolute;
224 231
       top: 23px;
@@ -350,15 +357,15 @@ code {
350 357
   .cell.clearfix {
351 358
     margin: 0px 0 12px 0;
352 359
     display: flex;
353
-    align-items:center;
360
+    align-items: center;
354 361
     justify-content: flex-start;
355 362
     box-sizing: border-box;
356 363
     color: #333;
357
-    .el-button--primary{
364
+    .el-button--primary {
358 365
       margin-left: 6px;
359 366
     }
360 367
     .title {
361
-      width: 80px;
368
+      min-width: 80px;
362 369
       display: inline-block;
363 370
       font-weight: normal;
364 371
       color: #909399;
@@ -425,7 +432,7 @@ code {
425 432
 .dataTitle {
426 433
   color: #303133;
427 434
   font-size: 14px;
428
-  border-bottom: 2px #E4E7ED solid;
435
+  border-bottom: 2px #e4e7ed solid;
429 436
   height: 36px;
430 437
   line-height: 36px;
431 438
   margin: 0 0 25px 0;
@@ -441,26 +448,25 @@ code {
441 448
   }
442 449
 }
443 450
 
444
-
445
-.el-dialog__wrapper{
451
+.el-dialog__wrapper {
446 452
   // z-index: 2012 !important;
447 453
 }
448 454
 
449
-.el-dialog{
455
+.el-dialog {
450 456
   left: 50% !important;
451 457
   position: fixed !important;
452 458
   top: 50% !important;
453
-  transform: translate(-50%,-50%) !important;
459
+  transform: translate(-50%, -50%) !important;
454 460
   margin-top: 0 !important;
455 461
 }
456 462
 
457
-.el-dialog__wrapper{
463
+.el-dialog__wrapper {
458 464
   // z-index: 9999!important;
459 465
 }
460
-.el-message{
461
-  z-index: 99999!important;
466
+.el-message {
467
+  z-index: 99999 !important;
462 468
 }
463
-.el-select-dropdown{
469
+.el-select-dropdown {
464 470
   // z-index: 2003!important;
465 471
 }
466 472
 // .patient-app-container {
@@ -473,16 +479,16 @@ code {
473 479
   margin-right: 0;
474 480
   background: #fff;
475 481
 }
476
-.patient-name{
482
+.patient-name {
477 483
   color: #606266;
478 484
   font-size: 14px;
479 485
   padding: 15px 0 15px 0;
480 486
   display: block;
481
-  border-bottom: 1px #E4E7ED solid;
487
+  border-bottom: 1px #e4e7ed solid;
482 488
   margin: 0 18px;
483 489
   flex: 1;
484 490
 }
485
-.el-button+.el-button{
491
+.el-button + .el-button {
486 492
   // margin-left: 0;
487 493
 }
488 494
 // 病人管理-病程管理
@@ -491,12 +497,12 @@ code {
491 497
   color: gray;
492 498
   margin-right: 6px;
493 499
 }
494
-.Total{
495
- margin:0 0 10px 0;
496
- float: right;
500
+.Total {
501
+  margin: 0 0 10px 0;
502
+  float: right;
497 503
 }
498
-.cellLine{
499
-  color: #C0C4CC;
504
+.cellLine {
505
+  color: #c0c4cc;
500 506
   padding: 0 3px;
501 507
 }
502 508
 
@@ -542,4 +548,4 @@ code {
542 548
       }
543 549
     }
544 550
   }
545
-}
551
+}