From b2c88b472b93586bdb52778f5051233adfa633a0 Mon Sep 17 00:00:00 2001 From: wangqi <magical1908@outlook.com> Date: 星期二, 16 三月 2021 19:36:21 +0800 Subject: [PATCH] 修改地图弹框宽度问题 --- src/conf/TDT.js | 2 +- src/components/panel/ToolBoxPanel.vue | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/panel/ToolBoxPanel.vue b/src/components/panel/ToolBoxPanel.vue index 84620a7..bb64c7d 100644 --- a/src/components/panel/ToolBoxPanel.vue +++ b/src/components/panel/ToolBoxPanel.vue @@ -8,10 +8,10 @@ <el-row v-show="selectGroup" class="specific-tools-group"> <el-popover placement="bottom" - width="100%" trigger="click" :popper-class="'tools-panel-content'" v-for="(item,index) in menuList" :key="index" + :width="item.index === '2'?230 : 150" > <el-button slot="reference" class="el-button" :class="active === index ? 'tools-panel-choose':''" @click="changeChoose(index)"> @@ -407,6 +407,7 @@ // width:220px!important; //} .base-map-inner-panel { + //width: 230px!important; display: flex; justify-content: center; align-items: center; diff --git a/src/conf/TDT.js b/src/conf/TDT.js index 6f0597f..12b285a 100644 --- a/src/conf/TDT.js +++ b/src/conf/TDT.js @@ -183,7 +183,7 @@ visible: false, layerType: 'cta_c', isLoadMapByToken: true, - url: TIANDITU_GIS_HOST + '/cta_c/wmts?layer=cva&style=default&tilematrixset=c' + + url: TIANDITU_GIS_HOST + '/cta_c/wmts?layer=cta&style=default&tilematrixset=c' + '&Service=WMTS&Request=GetTile&Version=1.0.0&Format=tiles&TileMatrix={z}&TileCol={x}&TileRow={y}' + '&tk=' + TIANDITU_GIS_TOKEN, option: { -- Gitblit v1.8.0