From d0f98ad8e1047e3161a458399ad3005404ed87b8 Mon Sep 17 00:00:00 2001
From: whychdw <496960745@qq.com>
Date: 星期五, 06 六月 2025 15:52:15 +0800
Subject: [PATCH] 标准参数管理

---
 src/views/dashboard/index.vue |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue
index a9541e4..682a42c 100644
--- a/src/views/dashboard/index.vue
+++ b/src/views/dashboard/index.vue
@@ -1,13 +1,22 @@
 <script setup name="Dashboard">
+import { ref } from "vue";
+import PwButton from "@/components/pwButton.vue";
 
+const acIdx = ref(0);
+function changeIdx(idx) {
+  acIdx.value = idx;
+}
 </script>
 
 <template>
   <div class="page-contain bg-footer">
-    棣栭〉
+    <pw-button :active="acIdx === 0" text="鍝佺墝" @click="changeIdx(0)"></pw-button>
+    <pw-button :active="acIdx === 1" @click="changeIdx(1)" style="margin-left: 4px;" text="鐢靛帇绛夌骇"></pw-button>
   </div>
 </template>
 
 <style scoped lang="less">
-
+.page-contain {
+  padding: 10px 28px;
+}
 </style>

--
Gitblit v1.9.1