From 85cd9a9b9b529285034f6e649821c3889bf31a6d Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 11 Jun 2025 17:16:01 +0800
Subject: [PATCH] feat:倾斜航线加载通用1~5航线切换组件处理

---
 src/components/PlanarRouteLineList/PlanarRouteLineList.vue |   77 ++++++++++++++++++++++++++++++++++++++
 1 files changed, 77 insertions(+), 0 deletions(-)

diff --git a/src/components/PlanarRouteLineList/PlanarRouteLineList.vue b/src/components/PlanarRouteLineList/PlanarRouteLineList.vue
new file mode 100644
index 0000000..4872231
--- /dev/null
+++ b/src/components/PlanarRouteLineList/PlanarRouteLineList.vue
@@ -0,0 +1,77 @@
+<!--
+ * @Author       : yuan
+ * @Date         : 2025-06-10 15:34:31
+ * @LastEditors  : yuan
+ * @LastEditTime : 2025-06-10 15:53:47
+ * @FilePath     : \src\components\PlanarRouteLineList\PlanarRouteLineList.vue
+ * @Description  : 
+ * Copyright 2025 OBKoro1, All Rights Reserved. 
+ * 2025-06-10 15:34:31
+-->
+<template>
+	<div class="route-line-list" :class="customClass" v-show="props.curRouteLineData.templateType === 'mapping3d'">
+		<div :class="{ active: item.select }" v-for="(item, index) in props.curRouteLineData.data" :key="index"
+			@click="emit('routeLineListClick', item)">
+			{{ index + 1 }}
+		</div>
+	</div>
+</template>
+
+<script setup>
+const props = defineProps({
+	curRouteLineData: {
+		type: Object,
+		default: {
+			data: [],
+			polygonList: '',
+			templateType: '',
+			startPoint: '',
+			execute_height_mode: '',
+			auto_flight_speed: '',
+			wayline_type: '',
+		},
+	},
+
+	customClass: {
+		type: String,
+		value: '',
+	},
+})
+
+const emit = defineEmits(['routeLineListClick'])
+</script>
+
+<style lang="scss" scoped>
+.route-line-list {
+	position: absolute;
+	top: 50%;
+	left: 10px;
+	transform: translate(0, -50%);
+
+	display: flex;
+	flex-direction: column;
+
+	background: rgba(255, 255, 255, 1);
+	border-radius: 4px 4px 4px 4px;
+
+	div {
+		display: flex;
+		align-items: center;
+		justify-content: center;
+		width: 40px;
+		height: 40px;
+		color: #676767;
+		cursor: pointer;
+	}
+
+	div.active {
+		color: #fff;
+		background: #409EFF;
+		backdrop-filter: blur(4px);
+	}
+}
+
+.airline-list {
+	left: 440px;
+}
+</style>

--
Gitblit v1.9.3