From 3140ec8fc9ac7d7fce42ee2d3ef222323a1c05ff Mon Sep 17 00:00:00 2001
From: chenyabin <Chenab123!>
Date: 星期五, 23 四月 2021 11:19:04 +0800
Subject: [PATCH] 修改滚动条

---
 src/conf/layers/LayerSoilGroundWater.js |   15 ++++++++++++---
 1 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/src/conf/layers/LayerSoilGroundWater.js b/src/conf/layers/LayerSoilGroundWater.js
index b042c48..4177d22 100644
--- a/src/conf/layers/LayerSoilGroundWater.js
+++ b/src/conf/layers/LayerSoilGroundWater.js
@@ -7,12 +7,14 @@
   code: 'sewersSoilGroundWater',
   name: '鍦熷¥鍙婂湴涓嬫按',
   checked: false,
+  type: 0,
   layers: [
     {
       code: 'soil',
       name: '鍦熷¥',
       sname: '鍦熷¥', // 琛ㄥ悕
       checked: false, // 榛樿閫変腑鐘舵��
+      type: 0,
       url: WFS_URL + '?TYPENAME=鍏徃'
     },
     {
@@ -20,6 +22,7 @@
       name: '鍦颁笅姘�',
       sname: '鍦颁笅姘�',
       checked: false, // 榛樿閫変腑鐘舵��
+      type: 0,
       wfs: WFS_URL + '?TYPENAME=鐮佸ご'
     },
     {
@@ -27,21 +30,27 @@
       name: '涓�绾ч闄╁湴鍧�',
       sname: '涓�绾ч闄╁湴鍧�',
       checked: false, // 榛樿閫変腑鐘舵��
-      wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�'
+      type: 0,
+      wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�',
+      color: 'red'
     },
     {
       code: 'secondRiskBlock',
       name: '浜岀骇椋庨櫓鍦板潡',
       sname: '浜岀骇椋庨櫓鍦板潡',
       checked: false, // 榛樿閫変腑鐘舵��
-      wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�'
+      type: 0,
+      wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�',
+      color: 'yellow'
     },
     {
       code: 'threeRiskBlock',
       name: '涓夌骇椋庨櫓鍦板潡',
       sname: '涓夌骇椋庨櫓鍦板潡',
       checked: false, // 榛樿閫変腑鐘舵��
-      wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�'
+      type: 0,
+      wfs: WFS_URL + '?TYPENAME=瑁呯疆鍖�',
+      color: 'green'
     }
   ]
 }

--
Gitblit v1.8.0