From 4df0471b7dff0494625ff09969b1a13b5359a26e Mon Sep 17 00:00:00 2001 From: XingChuan <m17600301067@163.com> Date: 星期一, 31 五月 2021 22:41:47 +0800 Subject: [PATCH] 统计表弹框UI优化;增加点击企业名称缩放至企业;二级表展示功能优化。 --- src/conf/layers/LayerPipeLines.js | 67 ++++++++++++++++++++++++++++----- 1 files changed, 56 insertions(+), 11 deletions(-) diff --git a/src/conf/layers/LayerPipeLines.js b/src/conf/layers/LayerPipeLines.js index ff746f1..5fd131f 100644 --- a/src/conf/layers/LayerPipeLines.js +++ b/src/conf/layers/LayerPipeLines.js @@ -16,7 +16,7 @@ { code: 'rainline', name: '闆ㄦ按绾�', - sname: '绠$綉', + sname: '闆ㄦ按', checked: true, type: SERVICE_TYPE.WMS, layerGroup: 'sewer:pipeline_group', @@ -30,7 +30,7 @@ FILL_COLOR: '#0070ff' }, filter: 'mediumtype = \'闆ㄦ按\'', - index: 1 + index: 20 }, { code: 'accidentline', @@ -40,9 +40,16 @@ type: SERVICE_TYPE.WMS, layerGroup: 'sewer:pipeline_group', typeName: 'sewer:pipeline', + icon: 'sewers/浜嬫晠姘�.png', minZoom: 13, + // color: 'rgb(230, 76, 0)', + color: '#E64C00', + styles: { + COLOR: '#E64C00', + FILL_COLOR: '#E64C00' + }, filter: 'mediumtype = \'浜嬫晠姘碶'', - index: 1 + index: 20 }, { code: 'oilline', @@ -52,6 +59,7 @@ type: SERVICE_TYPE.WMS, layerGroup: 'sewer:pipeline_group', typeName: 'sewer:pipeline', + icon: 'sewers/鍚补姹℃按.png', minZoom: 13, color: '#ffaa00', filter: 'mediumtype = \'鍚补姹℃按\'', @@ -59,7 +67,7 @@ COLOR: '#ffaa00', FILL_COLOR: '#ffaa00' }, - index: 1 + index: 20 }, { code: 'saltline', @@ -69,9 +77,15 @@ type: SERVICE_TYPE.WMS, layerGroup: 'sewer:pipeline_group', typeName: 'sewer:pipeline', + icon: 'sewers/鍚洂姹℃按.png', minZoom: 13, + color: '#FF7F7F', filter: 'mediumtype = \'鍚洂姹℃按\'', - index: 1 + styles: { + COLOR: '#FF7F7F', + FILL_COLOR: '#FF7F7F' + }, + index: 20 }, { code: 'alkaliline', @@ -81,9 +95,15 @@ type: SERVICE_TYPE.WMS, layerGroup: 'sewer:pipeline_group', typeName: 'sewer:pipeline', + icon: 'sewers/鍚⒈姹℃按.png', filter: 'mediumtype = \'鍚⒈姹℃按\'', minZoom: 10, - index: 1 + color: '#E8BEFF', + styles: { + COLOR: '#E8BEFF', + FILL_COLOR: '#E8BEFF' + }, + index: 20 }, { code: 'sulfurline', @@ -93,9 +113,15 @@ type: SERVICE_TYPE.WMS, layerGroup: 'sewer:pipeline_group', typeName: 'sewer:pipeline', + icon: 'sewers/鍚~姹℃按.png', filter: 'mediumtype = \'鍚~姹℃按\'', minZoom: 10, - index: 1 + color: '', + styles: { + COLOR: '', + FILL_COLOR: '' + }, + index: 20 }, { code: 'lifeline', @@ -105,9 +131,15 @@ type: SERVICE_TYPE.WMS, layerGroup: 'sewer:pipeline_group', typeName: 'sewer:pipeline', + icon: 'sewers/鐢熸椿姹℃按.png', filter: 'mediumtype = \'鐢熸椿姹℃按\'', minZoom: 13, - index: 1 + color: '#A8A800', + styles: { + COLOR: '#A8A800', + FILL_COLOR: '#A8A800' + }, + index: 20 }, { code: 'purifyline', @@ -117,9 +149,15 @@ type: SERVICE_TYPE.WMS, layerGroup: 'sewer:pipeline_group', typeName: 'sewer:pipeline', + icon: 'sewers/鍑�鍖栨按.png', filter: 'mediumtype = \'鍑�鍖栨按\'', minZoom: 13, - index: 1 + color: '#55FF00', + styles: { + COLOR: '#55FF00', + FILL_COLOR: '#55FF00' + }, + index: 20 }, { code: 'loopline', @@ -128,10 +166,16 @@ type: SERVICE_TYPE.WMS, layerGroup: 'sewer:pipeline_group', typeName: 'sewer:pipeline', + icon: 'sewers/寰幆姘�.png', filter: 'mediumtype = \'寰幆姘碶'', checked: false, minZoom: 13, - index: 1 + color: '#73FFDF', + styles: { + COLOR: '#73FFDF', + FILL_COLOR: '#73FFDF' + }, + index: 20 }, { code: 'buildline', @@ -141,6 +185,7 @@ type: SERVICE_TYPE.WMS, layerGroup: 'sewer:pipeline_group', typeName: 'sewer:pipeline', + icon: 'sewers/鐢熶骇姹℃按.png', filter: 'mediumtype = \'鐢熶骇姹℃按\'', minZoom: 13, color: '#a8a800', @@ -148,7 +193,7 @@ COLOR: '#a8a800', FILL_COLOR: '#a8a800' }, - index: 1 + index: 20 } ] } -- Gitblit v1.8.0