From b850ae82aee1ae5167d35702d7598a6e33c03c5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Thu, 8 May 2025 18:10:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E8=B7=A8=E5=BA=A6?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E5=88=97=E8=A1=A8=E5=8F=8A=E5=85=B6=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=EF=BC=8C=E6=9B=B4=E6=96=B0=E9=A2=91=E8=B0=B1=E4=BB=AA?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PinPuYi/CONST.ts | 7 + src/components/PinPuYi/PinPuYi.vue | 235 ++++++++++++++++++++++------- 2 files changed, 185 insertions(+), 57 deletions(-) diff --git a/src/components/PinPuYi/CONST.ts b/src/components/PinPuYi/CONST.ts index 65e19d6..cd8298e 100644 --- a/src/components/PinPuYi/CONST.ts +++ b/src/components/PinPuYi/CONST.ts @@ -1,6 +1,13 @@ export enum E_选项卡菜单 { 频率单位列表 = '频率单位列表', 频率菜单列表 = '频率菜单列表', + 跨度菜单列表 = '跨度菜单列表', +} + +export enum E_跨度菜单列表的项目 { + FullSpan = 'Full Span', + ZeroSpan = 'Zero Span', + LastSpan = 'Last Span', } /* 值是在屏幕上显示的值。 */ diff --git a/src/components/PinPuYi/PinPuYi.vue b/src/components/PinPuYi/PinPuYi.vue index a476405..494058d 100644 --- a/src/components/PinPuYi/PinPuYi.vue +++ b/src/components/PinPuYi/PinPuYi.vue @@ -2,13 +2,19 @@ @@ -274,32 +350,53 @@ watchEffect(() => {
频谱仪屏幕 + + +
+
+ Start + {{ state.频谱仪状态.start.value }} + {{ state.频谱仪状态.start.unit }} +
+
+ Stop + {{ state.频谱仪状态.stop.value }} + {{ state.频谱仪状态.stop.unit }} +
+
+
-
{{ state.频率状态.输入状态.选中的频率菜单列表的项目 }}
+
{{ state.频谱仪状态.频率输入状态.选中的频率菜单列表的项目 }}
-