Commit 1ea10144 by luyt

other:调整table search为5个一行

1 parent 1f58e39f
......@@ -134,7 +134,7 @@
<el-input size="small" v-model="input" placeholder="请输入内容"></el-input>
</GLSearchItem>
</GLSearch> -->
<GLCombiForm ref="showSearch" :rowNumber="2" :formObj="searchForm" :searchSelectObj="searchSelectObj" :formData="searchFormData" @handleOk="handleOkFn" @handleRest="handleRestFn"></GLCombiForm>
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :searchSelectObj="searchSelectObj" :formData="searchFormData" @handleOk="handleOkFn" @handleRest="handleRestFn"></GLCombiForm>
<hr />
......
......@@ -247,17 +247,17 @@ export default {
const clientWidth = window.innerWidth
if (clientWidth <= 1062) {
// 1个1行
this.hasExpand = this.ifHasExpand(1)
} else if (clientWidth <= 1440 && clientWidth > 1062) {
// 2个1行
this.hasExpand = this.ifHasExpand(2)
} else if (clientWidth <= 1720 && clientWidth > 1440) {
} else if (clientWidth <= 1440 && clientWidth > 1062) {
// 3个1行
this.hasExpand = this.ifHasExpand(3)
} else {
} else if (clientWidth <= 1720 && clientWidth > 1440) {
// 4个1行
this.hasExpand = this.ifHasExpand(4)
} else {
// 5个1行
this.hasExpand = this.ifHasExpand(5)
}
}, 100)
},
......@@ -310,7 +310,7 @@ export default {
} */
@media screen and (max-width: 1062px) {
.glsx-combi-form .el-form-item--small {
width: 100%;
width: 50%;
}
.glsx-combi-form .el-form-item--small .el-form-item__content {
width: 100%;
......@@ -321,7 +321,7 @@ export default {
}
@media screen and (min-width: 1062px) and (max-width: 1440px) {
.glsx-combi-form .el-form-item--small {
width: 50%;
width: 33.33%;
}
.glsx-combi-form .el-form-item--small .el-form-item__content {
width: 100%;
......@@ -332,7 +332,7 @@ export default {
}
@media screen and (min-width: 1440px) and (max-width: 1720px) {
.glsx-combi-form .el-form-item--small {
width: 33.33%;
width: 25%;
}
.glsx-combi-form .el-form-item--small .el-form-item__content {
width: 100%;
......@@ -343,7 +343,7 @@ export default {
}
@media screen and (min-width: 1720px) {
.glsx-combi-form .el-form-item--small {
width: 25%;
width: 20%;
}
.glsx-combi-form .el-form-item--small .el-form-item__content {
width: 100%;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!