From c5df4a9e135ee96a8b9b0b9a9a4732fdb4f0d2af Mon Sep 17 00:00:00 2001 From: quanyawei <401863037@qq.com> Date: Mon, 09 Oct 2023 11:41:42 +0800 Subject: [PATCH] fix:无人机修改 --- src/views/UVA/index.vue | 70 +++++++++++++++++++++++------------ 1 files changed, 46 insertions(+), 24 deletions(-) diff --git a/src/views/UVA/index.vue b/src/views/UVA/index.vue index e572986..8e7865b 100644 --- a/src/views/UVA/index.vue +++ b/src/views/UVA/index.vue @@ -887,7 +887,10 @@ }, mounted() { - this.initStart() + this.$nextTick(() => { + this.initStart() + }) + // this.$refs.datePick.focus() // this.getDate() // this.flyData() @@ -1224,7 +1227,7 @@ const that = this if (!res) { that.map = new BMapGL.Map('map_container') - console.log('BMap', BMap) + console.log('BMapGL', BMapGL) console.log('BMapGL', BMapGL) console.log('window', window.BMapGL) that.map.enableScrollWheelZoom(true) // ������������������������������������������������������s @@ -2005,7 +2008,22 @@ } </script> -<style lang="scss" > +<style lang="scss" scoped> +.main-container { + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-orient: vertical; + -webkit-box-direction: normal; + -ms-flex-flow: column; + flex-flow: column; + min-height: 100%; + -webkit-transition: margin-left .28s; + transition: margin-left .28s; + margin-left: 210px; + position: relative; + height: 100%; +} /deep/.BMap_cpyCtrl { display: none; } @@ -2180,20 +2198,7 @@ /deep/.inputNum { width: 4% !important; } -.dateArrClass { - position: relative; -} -.dateArrClass > div ::after { - content: ''; - position: absolute; - right: 8px; - top: 23px; - width: 5px; - height: 5px; - border-radius: 50%; - z-index: 999; - background-color: #f40; -} + .numss { width: 700px; background-color: white; @@ -2240,13 +2245,7 @@ width: 20%; } } -.jlpMySelectPopper.el-picker-panel { - width: 280px; - height: 330px; -} -.jlpMySelectPopper.el-date-picker table { - width: 88%; -} + .BMap_cpyCtrl { display: none; } @@ -2265,3 +2264,26 @@ overflow-x: hidden; } </style> +<style > +.jlpMySelectPopper.el-picker-panel { + width: 280px; + height: 330px; +} +.jlpMySelectPopper.el-date-picker table { + width: 88%; +} +.dateArrClass { + position: relative; +} +.dateArrClass > div ::after { + content: ''; + position: absolute; + right: 8px; + top: 23px; + width: 5px; + height: 5px; + border-radius: 50%; + z-index: 999; + background-color: #f40; +} +</style> -- Gitblit v1.8.0