背投调整

This commit is contained in:
fan 2021-05-17 16:14:00 +08:00
parent 5c5a1db13d
commit 02eaa33fec
2 changed files with 16 additions and 12 deletions

View File

@ -30,9 +30,7 @@ export default {
mapDevice: {},
routeData: [],
mapData: null,
autoReentryData: [],
width: 1920,
height: 960
autoReentryData: []
};
},
computed: {
@ -41,7 +39,13 @@ export default {
},
...mapGetters('map', [
'bigScreenConfig'
])
]),
width() {
return this.$store.state.app.width - 40;
},
height() {
return this.$store.state.app.height - 60;
}
},
watch: {
'$store.state.config.canvasSizeCount': function (val) {

View File

@ -1,14 +1,14 @@
<template>
<el-dialog
v-dialogDrag
class="haerbin-01__systerm stand-stop-time"
class="haerbin-01__systerm"
:title="title"
:visible.sync="show"
:fullscreen="true"
:before-close="doClose"
:z-index="2000"
>
<map-visual ref="map" style="width: 100%;height: 100%;" />
<map-visual ref="map" />
</el-dialog>
</template>
@ -81,12 +81,12 @@ export default {
};
</script>
<style scoped>
.haerbin-01__systerm .el-dialog .base-label {
background: rgba(0, 0, 0, x);
/deep/ .el-dialog {
background: rgba(100, 100, 100, 1);
position: relative;
left: -5px;
top: -18px;
padding: 0 5px;
background-color: #F0F0F0;
border: 2px solid rgb(144, 144, 144, 0.8);
border-radius: 6px;
color: #000;
font-size: 14px;
}
</style>