|
@@ -267,7 +267,15 @@ const featureLists = ref([
|
|
|
colors: { 已批复: '#6eff25', 未批复: '#ffff00' },
|
|
|
},
|
|
|
{ label: '航路', type: 'hanglu', show: false, check: false, icon: 'hxian', children: [], color: '#c195ff' },
|
|
|
- { label: '起降场', type: 'plot', show: false, check: false, icon: 'qjchang', children: [], color: '#45dcb5' },
|
|
|
+ {
|
|
|
+ label: '起降场',
|
|
|
+ type: 'plot',
|
|
|
+ show: false,
|
|
|
+ check: false,
|
|
|
+ icon: 'qjchang',
|
|
|
+ children: [],
|
|
|
+ colors: { 已批复: '#6eff25', 未批复: '#ffff00' },
|
|
|
+ },
|
|
|
])
|
|
|
|
|
|
let resources
|
|
@@ -350,7 +358,13 @@ function handleCheck(item, type) {
|
|
|
}
|
|
|
break
|
|
|
case 'plot':
|
|
|
- color = hexToRgb(featureLists.value.find((i) => i.type === 'plot').color, 0.7)
|
|
|
+ const colorss = featureLists.value.find((i) => i.type === 'plot').colors
|
|
|
+ color = hexToRgb(
|
|
|
+ ['复旦第三教学楼', '互联宝地', '黄兴公园', '国正中心'].some((i) => item.name.includes(i))
|
|
|
+ ? colorss['已批复']
|
|
|
+ : colorss['未批复'],
|
|
|
+ 0.5
|
|
|
+ )
|
|
|
const { height, coneHeight, cylinderHeight } = shapeObj
|
|
|
additional = {
|
|
|
attributes: {
|