diff --git a/pages/zhjs/subnvue/index.nvue b/pages/zhjs/subnvue/index.nvue index c7e303c..a5c05c5 100644 --- a/pages/zhjs/subnvue/index.nvue +++ b/pages/zhjs/subnvue/index.nvue @@ -9,8 +9,11 @@ top: '-' + statusBarHeight + 'px' }" id="map" ref="map" :latitude="latitude" :longitude="longitude" :markers="marker" :show-location="true" scale="16.5" :enable-satellite="enableSatellite" theme="satellite" @markertap="markertap"> - - + + + + 图层 + @@ -26,19 +29,12 @@ { latitude: 31.4954, longitude: 114.7693, - iconPath: '/static/tabs/add.png', - width: "25", - height: "25", + iconPath: '/static/tabs/shenliu1.png', + width: "20", + height: "20", id:1, + title:"渗流监测" }, - { - latitude: 31.4951, - longitude: 114.767, - iconPath: '/static/tabs/add.png', - width: "25", - height: "25", - id:2, - } ], dingwei: '../../static/tabs/dingwei.png', map:null, @@ -73,18 +69,18 @@ if(item.id === e.detail.markerId){ item.height=55; item.width=55; - item.label={ - content:"测试", - color:"#57a7f0", - bgColor:"transparent" - } + // item.label={ + // content:"测试", + // color:"#57a7f0", + // bgColor:"transparent" + // } }else{ item.height=25; item.width=25; - item.label={ - content:" ", - bgColor:"transparent" - } + // item.label={ + // content:" ", + // bgColor:"transparent" + // } } })); console.log("newMarker",newMarker); @@ -104,9 +100,21 @@ position: absolute; width: 35px; height:35px; - bottom: 130px; + bottom: 50px; left:10px; background-color: #fff; padding: 5px; } + .tc-style{ + display: flex; + align-items: center; + position: absolute; + font-size: 12px; + padding: 5px; + top: 200px; + right:10px; + background-color: #fff; + + // padding: 5px; + } \ No newline at end of file diff --git a/static/tabs/shenliu1.png b/static/tabs/shenliu1.png new file mode 100644 index 0000000..9c036a8 Binary files /dev/null and b/static/tabs/shenliu1.png differ diff --git a/static/tabs/shenliu1.svg b/static/tabs/shenliu1.svg new file mode 100644 index 0000000..968452a --- /dev/null +++ b/static/tabs/shenliu1.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/static/tabs/shenliu2.svg b/static/tabs/shenliu2.svg new file mode 100644 index 0000000..7e69837 --- /dev/null +++ b/static/tabs/shenliu2.svg @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file