forked from github/dataease
refactor: 移动端布局组件等待区域靠左排列
This commit is contained in:
parent
9485610a77
commit
0c8454323a
@ -75,6 +75,7 @@ export default {
|
|||||||
padding-left: 1px;
|
padding-left: 1px;
|
||||||
padding-right: 1px;
|
padding-right: 1px;
|
||||||
cursor:pointer!important;
|
cursor:pointer!important;
|
||||||
|
text-align: center;
|
||||||
background-color: #0a7be0;
|
background-color: #0a7be0;
|
||||||
}
|
}
|
||||||
.bar-main i{
|
.bar-main i{
|
||||||
|
@ -156,7 +156,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
editBarViewShowFlag() {
|
editBarViewShowFlag() {
|
||||||
return this.active && this.inTab
|
return this.active && this.inTab && !this.mobileLayoutStatus
|
||||||
},
|
},
|
||||||
charViewShowFlag() {
|
charViewShowFlag() {
|
||||||
return this.httpRequest.status && this.chart.type && !this.chart.type.includes('table') && !this.chart.type.includes('text') && this.renderComponent() === 'echarts'
|
return this.httpRequest.status && this.chart.type && !this.chart.type.includes('table') && !this.chart.type.includes('text') && this.renderComponent() === 'echarts'
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
<span slot="label">
|
<span slot="label">
|
||||||
<span>{{ item.title }}</span>
|
<span>{{ item.title }}</span>
|
||||||
|
|
||||||
<el-dropdown v-if="isEdit" slot="label" class="de-tab-drop" trigger="click" @command="handleCommand">
|
<el-dropdown v-if="dropdownShow" slot="label" class="de-tab-drop" trigger="click" @command="handleCommand">
|
||||||
<span class="el-dropdown-link">
|
<span class="el-dropdown-link">
|
||||||
|
|
||||||
<!-- <span>{{ item.title }}</span> -->
|
<!-- <span>{{ item.title }}</span> -->
|
||||||
@ -135,8 +135,12 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
dropdownShow() {
|
||||||
|
return this.isEdit && !this.mobileLayoutStatus
|
||||||
|
},
|
||||||
...mapState([
|
...mapState([
|
||||||
'curComponent'
|
'curComponent',
|
||||||
|
'mobileLayoutStatus'
|
||||||
])
|
])
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
@ -81,6 +81,7 @@ export default {
|
|||||||
.component-wait-main {
|
.component-wait-main {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: calc(100% - 30px);
|
height: calc(100% - 30px);
|
||||||
|
text-align: left;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
.component-custom {
|
.component-custom {
|
||||||
|
Loading…
Reference in New Issue
Block a user