| | |
| | | } |
| | | |
| | | .tools-panel-content { |
| | | border: 1px solid @background-color-tools; |
| | | background: @background-color-tools; |
| | | //position: absolute; |
| | | //top: 60px; |
| | | //left: 55px; |
| | | background: @background-color; |
| | | border: 0.00521rem solid @color-shadow; |
| | | padding: 0; |
| | | //width: 90px; |
| | | display: flex; |
| | | flex-wrap: wrap; |
| | | justify-content: space-evenly; |
| | | margin-left: 55px; |
| | | |
| | | .el-button { |
| | | padding: 0; |
| | |
| | | } |
| | | } |
| | | |
| | | .el-popper[x-placement^=bottom] .popper__arrow::after { |
| | | border-bottom-color: @background-color-tools; |
| | | } |
| | | .leaflet-control-easyPrint .leaflet-bar .leaflet-control { |
| | | display: none; |
| | | } |
| | | |
| | | .popper__arrow { |
| | | display: none !important; |
| | | } |
| | |
| | | <img :src="itemT.iconChoose" :title="itemT.title" v-if="Selecd === indexT"/> |
| | | <img :src="itemT.icon" :title="itemT.title" v-else/> |
| | | </el-button> |
| | | <div class="base-map-inner-panel" v-show="!isShow&&item.index==='2'"> |
| | | <div class="base-map-inner-panel" v-show="item.index==='2'"> |
| | | <div v-for="item in basemapList" :key="item.code" class="basemap-layer-item"> |
| | | <img class="base-map-img" width="50" height="50" :src="item.conf.icon_actived" :title="item.name" |
| | | @click="changeBasemap(item)"/> |
| | |
| | | name: 'ToolBoxPanel', |
| | | data () { |
| | | return { |
| | | isShow: true, |
| | | isShow: false, |
| | | currentBaseMapCode: 'tianditu_img', |
| | | basemapList: [], |
| | | selectGroup: false, |
| | |
| | | this.basemapList = this.basemapHelper.getBasemapList() |
| | | }, |
| | | changeBasemap (itm) { |
| | | this.active = -1 |
| | | const code = itm.code |
| | | this.basemapList.forEach((item) => { |
| | | if (item.code === code) { |
| | |
| | | }, |
| | | choiceItem (itemT, indexT) { |
| | | this.Selecd = indexT |
| | | this.active = -1 |
| | | switch (itemT.label) { |
| | | case '点标绘': |
| | | var myIcon = this.L.icon({ |
| | |
| | | this.selectGroup = false |
| | | this.isShow = !this.isShow |
| | | this.active = -1 |
| | | this.checked = false |
| | | }, |
| | | changeSelectMouse () { |
| | | this.selectGroup = true |
| | |
| | | } |
| | | |
| | | .el-button-choice { |
| | | left: 500px; |
| | | z-index: 999; |
| | | padding: 0; |
| | | margin: 0 0.015rem; |
| | |
| | | display: block; |
| | | color: @color-shadow; |
| | | } |
| | | |
| | | .default-span { |
| | | display: block; |
| | | color: @color-over; |