提交 f47609fc authored 作者: wangjiahao's avatar wangjiahao

refactor: 移动端布局等待区域排列优化

上级 f90466bc
...@@ -4,13 +4,18 @@ ...@@ -4,13 +4,18 @@
{{ $t('panel.component_hidden') }} {{ $t('panel.component_hidden') }}
</el-row> </el-row>
<el-row class="component-wait-main"> <el-row class="component-wait-main">
<component-wait-item <el-col
:span="8"
v-for="(config, index) in pcComponentData" v-for="(config, index) in pcComponentData"
v-if="!config.mobileSelected" v-if="!config.mobileSelected"
:id="'wait' + config.id" :id="'wait' + config.id"
:key="index" :key="index"
:config="config" >
/> <component-wait-item
:config="config"
/>
</el-col>
</el-row> </el-row>
</el-row> </el-row>
...@@ -81,7 +86,7 @@ export default { ...@@ -81,7 +86,7 @@ export default {
.component-wait-main { .component-wait-main {
width: 100%; width: 100%;
height: calc(100% - 30px); height: calc(100% - 30px);
text-align: left; float: left;
overflow-y: auto; overflow-y: auto;
} }
.component-custom { .component-custom {
......
...@@ -69,9 +69,7 @@ export default { ...@@ -69,9 +69,7 @@ export default {
}, },
componentItemStyle() { componentItemStyle() {
return { return {
padding: '5px', padding: '5px'
float: 'left',
width: '33%'
} }
}, },
...mapState([ ...mapState([
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论