From ac41dd3a9b8632c9cbda389012a85de87135ed47 Mon Sep 17 00:00:00 2001 From: 徐旺旺 <11530253@qq.com> Date: 星期四, 22 四月 2021 14:56:42 +0800 Subject: [PATCH] Merge branch 'develop' of http://xearth.cn:6600/r/wuyushui/SewerAndRainNetwork into develop --- src/components/LayerController/modules/LcServiceLayer.vue | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/LayerController/modules/LcServiceLayer.vue b/src/components/LayerController/modules/LcServiceLayer.vue index 961561c..71df312 100644 --- a/src/components/LayerController/modules/LcServiceLayer.vue +++ b/src/components/LayerController/modules/LcServiceLayer.vue @@ -6,7 +6,7 @@ <div v-for="item in serviceLayers" :key="item.code" class="layerbox"> <i class="downUp el-icon-caret-bottom" @click="item.isShow=!item.isShow" :class="item.isShow?'':'active'" ></i><!-- el-icon-arrow-down --> <!-- 涓�绾у浘灞傞亶鍘� --> - <div style="padding-left:25px;padding-top:10px;color:#fff"> + <div style="padding-left:25px;padding-top:10px;color:#fff;font-size: 16px;"> <input type="checkbox" :name="'wmsLayer_'+item.code" :checked="item.checked" :value="item.code" @change="swAllLayers(item,'')"/>{{ item.name }} </div> <div class="layerbox-item" v-show="item.isShow"> @@ -94,8 +94,9 @@ .wms-panel { .wms-panel-scrollbar{ - height: 457px; - width: 2.5rem; + height: 600px; + width: 285px; + //width: 2.5rem; font-size: 14px; } .layerbox { @@ -122,6 +123,10 @@ padding-top: 5px; .basemap-layer-item { margin-bottom: 5px; + input[type="checkbox"]{width:10px;height:10px;display: inline-block;text-align: center;vertical-align: middle; line-height: 10px;position: relative;} + input[type="checkbox"]::before{content: "";position: absolute;top: 0;left: 0;background: #fff;width: 100%;height: 100%;border: 1px solid #d9d9d9} + input[type="checkbox"]:checked::before{content: "\2713";background-color: @color-highlight;position: absolute;top: 0;left: 0;width:100%;border: 1px solid #fff700;color:@background-color;font-size: 10px;font-weight: bold;} + } } .layerbox-item-3{ -- Gitblit v1.8.0