派生自 wuyushui/SewerAndRainNetwork

chenyabin
2021-04-07 b9aa1e3bc9b70df68967b3a37ece51ae1729f5b2
src/components/LayerController/modules/LcServiceLayer.vue
@@ -20,7 +20,7 @@
                                   :value="itm.code"
                                   @change="swWmsLayer(itm)"/>{{ itm.name }}
                            <!-- 三级图层遍历 -->
                            <div style="width: 100%">
                            <div class="layerbox-item-3">
                                <div class="basemap-layer-item" v-for="layer in itm.layers" :key="layer.code">
                                    <input type="checkbox"
                                           :name="'wmsSublayers_'+item.code+'_'+layer.code"
@@ -105,10 +105,9 @@
<style scoped lang="less">
    .inner-panel {
        .title {
            color: #ffffff;
            font-size: 16px;
            font-weight: 600;
        .title{
            color: @color-title;
            font-size: 18px;
            margin: 10px;
            text-align: center;
        }
@@ -119,26 +118,27 @@
        }
        .wms-panel {
            width: 1.79167rem;
            .wms-panel-scrollbar {
            .wms-panel-scrollbar{
                height: 50vh;
                width: 100%;
            }
            .layerbox {
                width: 100%;
                .layerbox-item {
                    display: flex;
                    flex-flow: row wrap;
                    margin-left: 15px;
                    margin-top: 5px;
                    padding-left: 20px;
                    padding-top: 5px;
                    .basemap-layer-item {
                        width: 50%;
                        margin-bottom: 5px;
                    }
                }
                .layerbox-item-3{
                    padding-left: 20px;
                    padding-top: 5px;
                    display: flex;
                    flex-wrap: wrap;
                    .basemap-layer-item{width: 50%}
                }
            }
        }
    }