소스 검색

style(views): 调整多个视图的样式和布局配置

yz 4 주 전
부모
커밋
2adc867887

+ 4 - 0
src/views/announcement/index.scss

@@ -122,6 +122,10 @@
 }
 
 // 响应式设计
+::v-deep .el-col-md-8 { 
+  width: 24.33333%;
+}
+
 @media (max-width: 768px) {
   .detail-content {
     .detail-info {

+ 6 - 3
src/views/announcement/mixins/announcementIndex.js

@@ -172,10 +172,14 @@ export default {
                 height: 'auto',
                 calcHeight: 30,
                 dialogWidth: 1000,
+                menuWidth: 120,
                 labelWidth: 120,
                 tip: false,
                 searchShow: true,
-                searchMenuSpan: 6,
+                searchMenuSpan: 8,
+                searchIndex: 3,
+                searchIcon: true,
+                align: 'center',
                 border: true,
                 index: true,
                 viewBtn: false,
@@ -188,7 +192,6 @@ export default {
                     {
                         label: "公告标题",
                         prop: "title",
-                        span: 12,
                         search: true,
                         overHidden: true,
                         rules: [{
@@ -208,7 +211,6 @@ export default {
                         },
                         slot: true,
                         search: true,
-                        span: 12,
                         searchProp: "categoryId",
                         rules: [{
                             required: true,
@@ -276,6 +278,7 @@ export default {
                         type: "select",
                         dicData: STATUS_OPTIONS,
                         slot: true,
+                        search: true,
                         addDisplay: true,
                         editDisplay: true,
                         // width: 80

+ 2 - 1
src/views/claim/claimMixin.js

@@ -180,7 +180,8 @@ export default {
         calcHeight: 30,
         tip: false,
         searchShow: true,
-        searchMenuSpan: 6,
+        searchMenuSpan: 12,
+        searchIndex: 3,
         border: true,
         index: true,
         indexLabel: '序号',

+ 3 - 0
src/views/claim/index.vue

@@ -689,4 +689,7 @@ export default {
   }
 }
 
+::v-deep .el-col-md-8 { 
+  width: 24.33333%;
+}
 </style>

+ 2 - 1
src/views/complaint/complaintMixin.js

@@ -177,7 +177,8 @@ export default {
         calcHeight: 30,
         tip: false,
         searchShow: true,
-        searchMenuSpan: 6,
+        searchMenuSpan: 18,
+        searchIndex: 3,
         border: true,
         index: true,
         viewBtn: true,

+ 3 - 0
src/views/complaint/index.vue

@@ -450,4 +450,7 @@ export default {
     }
   }
 }
+::v-deep .el-col-md-8 { 
+  width: 24.33333%;
+}
 </style>