提交 97d78aca authored 作者: wangjiahao's avatar wangjiahao

style: 移动端布局样式优化

上级 daa03411
...@@ -40,7 +40,6 @@ ...@@ -40,7 +40,6 @@
<!--手机视图详情--> <!--手机视图详情-->
<el-dialog <el-dialog
:title="'['+showChartInfo.name+']'+$t('chart.chart_details')"
:visible.sync="mobileChartDetailsVisible" :visible.sync="mobileChartDetailsVisible"
:fullscreen="true" :fullscreen="true"
class="mobile-dialog-css" class="mobile-dialog-css"
...@@ -163,7 +162,7 @@ export default { ...@@ -163,7 +162,7 @@ export default {
} }
if (this.backScreenShot) { if (this.backScreenShot) {
style.height = this.mainHeight style.height = this.mainHeight
} else { } else if (this.terminal === 'pc') {
style.padding = '5px' style.padding = '5px'
} }
return style return style
...@@ -295,6 +294,7 @@ export default { ...@@ -295,6 +294,7 @@ export default {
openChartDetailsDialog(chartInfo) { openChartDetailsDialog(chartInfo) {
this.showChartInfo = chartInfo.chart this.showChartInfo = chartInfo.chart
this.showChartTableInfo = chartInfo.tableChart this.showChartTableInfo = chartInfo.tableChart
// this.mobileChartDetailsVisible = true
if (this.terminal === 'pc') { if (this.terminal === 'pc') {
this.chartDetailsVisible = true this.chartDetailsVisible = true
} else { } else {
...@@ -372,5 +372,8 @@ export default { ...@@ -372,5 +372,8 @@ export default {
::v-deep .el-tabs__nav{ ::v-deep .el-tabs__nav{
z-index: 0; z-index: 0;
} }
.mobile-dialog-css ::v-deep .el-dialog__headerbtn{
top: 5px;
}
</style> </style>
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论