diff --git a/src/views/sponeScreen/evaluationKH/chanChuJiXiao.vue b/src/views/sponeScreen/evaluationKH/chanChuJiXiao.vue index 8ac6d45..66b6399 100644 --- a/src/views/sponeScreen/evaluationKH/chanChuJiXiao.vue +++ b/src/views/sponeScreen/evaluationKH/chanChuJiXiao.vue @@ -248,7 +248,7 @@ newfiberMapBoxVectorLayer.addGeojsonPolygon('builtCity', kaifengPSFQ1); //建成区图层渲染 addModuleLayer(moduleGeojson, 'moduleFlood', '#DFA8FF'); addModuleBoundary(moduleBoundaryGeojson, 'moduleFloodBoundary'); - addGeojsonLable(modulelabelGeojson, 'moduleFloodlabel', '#ffffff'); + addGeojsonLable(modulelabelGeojson, 'moduleFloodlabel', 'rgba(255, 255, 255, 1)'); } } //添加模型法地图 @@ -287,7 +287,7 @@ source: layerName, paint: { 'text-color': geojson.features[0].properties.color ? ['get', 'color'] : color, - 'text-halo-color': 'rgba(0,0,0,1)', + 'text-halo-color': 'rgba(14, 139, 90, 1)', 'text-halo-width': 2, }, layout: {