Browse Source

style:抽屉边距及关键词编辑样式

yangfeng 3 years ago
parent
commit
30882f52fd

+ 1 - 0
src/components/drawer/Drawer.vue

@@ -122,6 +122,7 @@ export default {
   .el-main{
     flex: 1;
     overflow-y: scroll;
+    padding: 0!important;
   }
   .el-footer {
     display: flex;

+ 1 - 1
src/components/push-list/MedicalList.vue

@@ -198,7 +198,7 @@ export default {
 
       if (query && Object.keys(query).length > 0) {
         for (const key in query) {
-          if (!query[key]) {
+          if (key !== 'sort' && !query[key]) {
             delete query[key]
           }
         }

+ 9 - 2
src/components/scope/components/Edit.vue

@@ -35,7 +35,7 @@
           </div>
         </div>
       </div>
-      <div class="item" v-if="showMatch">
+      <div class="item no-center" v-if="showMatch">
         <div class="item-label">匹配模式:</div>
         <div class="item-value">
           <el-radio-group v-model="cur.matchway" @change="chooseMatchWay($event)">
@@ -177,7 +177,6 @@ export default {
       }
     }
   },
-  mounted () {},
   methods: {
     // 关键词推荐数量查询
     keywordsInput () {
@@ -371,6 +370,9 @@ export default {
     align-items: center;
     justify-content: center;
     margin-bottom: 10px;
+    &.no-center{
+      align-items: unset;
+    }
   }
   .item-label{
     margin-right: 8px;
@@ -381,6 +383,11 @@ export default {
     line-height: 40px;
     text-align: right;
   }
+  .no-center{
+    .item-label{
+      line-height: 20px;
+    }
+  }
   .radio-item{
     margin-bottom: 16px;
   }

+ 9 - 1
src/components/subscribe-manager/components/Edit.vue

@@ -36,7 +36,7 @@
           </div>
         </div>
       </div>
-      <div class="item">
+      <div class="item no-center">
         <div class="item-label">匹配模式:</div>
         <div class="item-value">
           <el-radio-group v-model="cur.matchway" @change="chooseMatchWay($event)">
@@ -405,6 +405,9 @@ export default {
     align-items: center;
     justify-content: center;
     margin-bottom: 16px;
+    &.no-center{
+      align-items: unset;
+    }
   }
   .item-label{
     margin-right: 8px;
@@ -415,6 +418,11 @@ export default {
     line-height: 40px;
     text-align: right;
   }
+  .no-center{
+    .item-label{
+      line-height: 20px;
+    }
+  }
   .item-label-required:before{
     content: "*";
     color: #f56c6c;

+ 1 - 0
src/views/SubPush.vue

@@ -549,6 +549,7 @@ export default {
       font-size: 14px;
       white-space: nowrap;
       min-width: 98px;
+      color: #686868;
     }
     .label-width{
       min-width: 140px;