mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 19:42:56 +08:00
style: 移动端布局样式优化
This commit is contained in:
parent
daa03411b2
commit
97d78aca86
@ -40,7 +40,6 @@
|
||||
|
||||
<!--手机视图详情-->
|
||||
<el-dialog
|
||||
:title="'['+showChartInfo.name+']'+$t('chart.chart_details')"
|
||||
:visible.sync="mobileChartDetailsVisible"
|
||||
:fullscreen="true"
|
||||
class="mobile-dialog-css"
|
||||
@ -163,7 +162,7 @@ export default {
|
||||
}
|
||||
if (this.backScreenShot) {
|
||||
style.height = this.mainHeight
|
||||
} else {
|
||||
} else if (this.terminal === 'pc') {
|
||||
style.padding = '5px'
|
||||
}
|
||||
return style
|
||||
@ -295,6 +294,7 @@ export default {
|
||||
openChartDetailsDialog(chartInfo) {
|
||||
this.showChartInfo = chartInfo.chart
|
||||
this.showChartTableInfo = chartInfo.tableChart
|
||||
// this.mobileChartDetailsVisible = true
|
||||
if (this.terminal === 'pc') {
|
||||
this.chartDetailsVisible = true
|
||||
} else {
|
||||
@ -372,5 +372,8 @@ export default {
|
||||
::v-deep .el-tabs__nav{
|
||||
z-index: 0;
|
||||
}
|
||||
.mobile-dialog-css ::v-deep .el-dialog__headerbtn{
|
||||
top: 5px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user