Forráskód Böngészése

功能修改20250327-05

zhiyuan-007 3 hete
szülő
commit
d5ddb0021c

+ 2 - 2
src/components/MapView.vue

@@ -27,8 +27,8 @@ export default {
 				id: 'i_map',
 				// url: 'http://localhost:5173/map-tool-widget/',
 				// url: 'https://cimweb.zjw.sh.cegn.cn:2007/map-tool-widget/#/',
-				// url: 'http://172.16.8.44:9250/map-tool-widget/#/jk_map',
-				url: 'http://10.1.80.67:5173/map-tool-widget/',
+				url: 'http://172.16.8.44:9250/map-tool-widget/#/jk_map',
+				//url: 'http://10.1.80.67:5173/map-tool-widget/',
 				onReady: function () {
 					console.log('地图创建完成')
 				},

+ 16 - 2
src/views/home/cpns/PanelSjwg.vue

@@ -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: {

+ 1 - 1
src/views/layout/cpns/Header.vue

@@ -9,7 +9,7 @@
 		</div>
 		<div class="h-title">
 			<img src="@/assets/images/layout/logo.png" alt="" @click="handleReset" />
-			<h1 class="title-text">上海市低空飞行综合监管服务平台</h1>
+			<h1 class="title-text">上海市低空飞行综合监管系统演示</h1>
 		</div>
 		<div class="h-right flex justify-end items-center shrink-0">
 			<img

+ 2 - 2
src/views/nav/Index.vue

@@ -95,8 +95,8 @@ const navList = ref([
 ])
 
 const sceneSubList = ref([
-	{ label: '复杂商圈城市配送', value: '' },
-	{ label: '无人机表演', value: '' },
+	// { label: '复杂商圈城市配送', value: '' },
+	// { label: '无人机表演', value: '' },
 
 	{ label: '个人消费飞行', value: '' },
 	{ label: '低空城市配送', value: '' },