From a0f008e1b176ab0c844bc4721f282e12d18f855c Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Mon, 24 Feb 2025 18:20:11 +0800
Subject: [PATCH] 调整详情和修改地图渲染功能

---
 src/views/DronePilotList.vue |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/views/DronePilotList.vue b/src/views/DronePilotList.vue
index f677d5a..ed47927 100644
--- a/src/views/DronePilotList.vue
+++ b/src/views/DronePilotList.vue
@@ -1,5 +1,10 @@
 <template>
   <div class="drone-pilot-list-warp">
+    <van-nav-bar
+      title="机场/遥控器"
+      left-arrow
+      @click-left="onClickLogin"
+    />
     <div class="drone-pilot-list">
       <template v-if="droneOrPilotTxt == 'drone'">
       <div class="box-info" v-for="item in cardList" :key="item.sn">
@@ -103,6 +108,10 @@
   
 }
 
+const onClickLogin = () => {
+  history.back();
+}
+
 onMounted(() => {
   init()
   // 设置定时器,每隔 3 秒刷新一次数据
@@ -123,7 +132,7 @@
   background-color: #b8b3b338;
   // background-image: url('@/assets/images/newcon_box.png');
   .drone-pilot-list {
-    height: calc(100vh - 10%);
+    height: calc(100vh - 50px - 46px);
     overflow: auto;
     .box-info {
       background-color: #fff;

--
Gitblit v1.9.3