背投调整

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

View File

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