From b3aaeffd19122233004b65a9d715baebfb278a72 Mon Sep 17 00:00:00 2001 From: zhangxiaoxu123 <819527061@qq.com> Date: 星期四, 06 七月 2023 16:04:43 +0800 Subject: [PATCH] bug修改 --- src/pages/show/showIndex/showIndex.vue | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/pages/show/showIndex/showIndex.vue b/src/pages/show/showIndex/showIndex.vue index e291947..70d8943 100644 --- a/src/pages/show/showIndex/showIndex.vue +++ b/src/pages/show/showIndex/showIndex.vue @@ -82,7 +82,10 @@ }, methods: { initMap() { - this.map = new window.BMap.Map("map"); + this.map = new window.BMap.Map("map",{ + minZoom : 2, + maxZoom : 11 + }); console.log(map,'map===') this.map.centerAndZoom(new BMap.Point(118.183450598,39.6505309225), 11) //map.enableScrollWheelZoom(true) //榧犳爣婊氬姩缂╂斁 @@ -272,8 +275,8 @@ .uploadBtn{ background: linear-gradient(to right,#0e0e25,#092749); } - .el-button.is-plain:focus, .el-button.is-plain:hover{ - background: transparent; + .el-button.is-plain:hover{ + background: linear-gradient(to right, #0e0e25, #092749)!important; } .el-button{ border:1px solid #1ee3f3!important; @@ -282,6 +285,7 @@ } } } + </style> <style lang="scss" scoped> -- Gitblit v1.9.1