From 1885a91994ddd6368a76a65b8e7bd91206bf3d07 Mon Sep 17 00:00:00 2001
From: Ironsp <1522278303@qq.com>
Date: Wed, 2 Sep 2026 14:19:25 +0800
Subject: [PATCH] =?UTF-8?q?feat=20=E7=94=B5=E5=8F=B0=E8=AE=BE=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components.d.ts | 2 +
src/components/settings/radioConfig.vue | 9 --
src/components/settings/radioSettings.vue | 13 +-
src/components/settings/sensor.vue | 17 ++-
src/components/settings/sensorConfig.vue | 159 ++++++++++++++++++++++
5 files changed, 185 insertions(+), 15 deletions(-)
create mode 100644 src/components/settings/sensorConfig.vue
diff --git a/src/components.d.ts b/src/components.d.ts
index 17c09e3..54dccc9 100644
--- a/src/components.d.ts
+++ b/src/components.d.ts
@@ -23,8 +23,10 @@ declare module 'vue' {
MessageList: typeof import('./components/message/list.vue')['default']
SettingsProjectForm: typeof import('./components/settings/projectForm.vue')['default']
SettingsProjectSettings: typeof import('./components/settings/projectSettings.vue')['default']
+ SettingsRadioConfig: typeof import('./components/settings/radioConfig.vue')['default']
SettingsRadioSettings: typeof import('./components/settings/radioSettings.vue')['default']
SettingsSensor: typeof import('./components/settings/sensor.vue')['default']
+ SettingsSensorConfig: typeof import('./components/settings/sensorConfig.vue')['default']
SettingsWifiNetwork: typeof import('./components/settings/wifiNetwork.vue')['default']
SettingsWifiSettings: typeof import('./components/settings/wifiSettings.vue')['default']
}
diff --git a/src/components/settings/radioConfig.vue b/src/components/settings/radioConfig.vue
index d9cc25a..a54d1eb 100644
--- a/src/components/settings/radioConfig.vue
+++ b/src/components/settings/radioConfig.vue
@@ -164,13 +164,4 @@ const dataTransType = ref('TCP')
display: flex;
gap: 16px;
}
-
-/* 给 wd-input 添加 1px 边框 */
-wd-input {
- border: 1px solid #d9d9d9;
- border-radius: 6px;
- padding: 6px 8px;
- box-sizing: border-box;
- display: inline-block;
-}
diff --git a/src/components/settings/radioSettings.vue b/src/components/settings/radioSettings.vue
index 3527b70..e9c34d1 100644
--- a/src/components/settings/radioSettings.vue
+++ b/src/components/settings/radioSettings.vue
@@ -3,12 +3,21 @@
- 电台设置内容
+
+
+
+
+
+
+
+
diff --git a/src/components/settings/sensor.vue b/src/components/settings/sensor.vue
index 28cb187..57c4463 100644
--- a/src/components/settings/sensor.vue
+++ b/src/components/settings/sensor.vue
@@ -2,13 +2,22 @@
-
- 传感器内容
+
+
+
+
+
+
+
+
+
diff --git a/src/components/settings/sensorConfig.vue b/src/components/settings/sensorConfig.vue
new file mode 100644
index 0000000..81daca4
--- /dev/null
+++ b/src/components/settings/sensorConfig.vue
@@ -0,0 +1,159 @@
+
+
+
+
+
+ 传感器
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ sensor.id }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+