From d0a1c214886254edb6d7981d4936c074b3c78986 Mon Sep 17 00:00:00 2001
From: Kven <2955163637@qq.com>
Date: Wed, 29 Jan 2025 14:09:31 +0800
Subject: [PATCH] =?UTF-8?q?feat:=E4=B8=BA=E5=85=AC=E5=91=8A=E8=AF=A6?=
=?UTF-8?q?=E6=83=85=E3=80=81=E8=AE=BE=E5=A4=87=E8=AF=A6=E6=83=85=E5=92=8C?=
=?UTF-8?q?=E4=BA=A7=E5=93=81=E8=AF=A6=E6=83=85=E9=A1=B5=E9=9D=A2=E6=B7=BB?=
=?UTF-8?q?=E5=8A=A0=E8=BF=94=E5=9B=9E=E6=8C=89=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- 在公告详情页面(notification和user模块)添加返回按钮- 在设备详情和产品详情页面(iot模块)添加返回按钮- 优化面包屑导航文案- 统一返回按钮样式
---
.../iot/device/components/device-detail.vue | 16 +++++++++++++++-
.../iot/deviceCard/components/device-detail.vue | 14 +++++++++++++-
.../iot/product/components/product-detail.vue | 17 ++++++++++++++++-
.../notification/bulletin/components/detail.vue | 15 ++++++++++++++-
src/views/user/bulletins/components/detail.vue | 13 +++++++++++++
5 files changed, 71 insertions(+), 4 deletions(-)
diff --git a/src/views/iot/device/components/device-detail.vue b/src/views/iot/device/components/device-detail.vue
index 2dc6de9..3549770 100644
--- a/src/views/iot/device/components/device-detail.vue
+++ b/src/views/iot/device/components/device-detail.vue
@@ -3,7 +3,16 @@
- 设备详情
+ $router.go(-1)"
+ >
+
+
+ 设备详情
+
{{renderData.name }}
{{renderData.hardwareVersion }}
{{renderData.firmwareVersion }}
@@ -99,4 +108,9 @@
.attachments a:hover {
text-decoration: underline;
}
+ .nav-btn {
+ border-color: rgb(var(--gray-2));
+ color: rgb(var(--gray-8));
+ font-size: 16px;
+ }
diff --git a/src/views/iot/deviceCard/components/device-detail.vue b/src/views/iot/deviceCard/components/device-detail.vue
index e7ac284..a6c7ac2 100644
--- a/src/views/iot/deviceCard/components/device-detail.vue
+++ b/src/views/iot/deviceCard/components/device-detail.vue
@@ -3,7 +3,14 @@
- 设备详情
+ $router.go(-1)"
+ >
+
+ 设备详情
{{renderData.name }}
{{renderData.hardwareVersion }}
{{renderData.firmwareVersion }}
@@ -99,4 +106,9 @@
.attachments a:hover {
text-decoration: underline;
}
+ .nav-btn {
+ border-color: rgb(var(--gray-2));
+ color: rgb(var(--gray-8));
+ font-size: 16px;
+ }
diff --git a/src/views/iot/product/components/product-detail.vue b/src/views/iot/product/components/product-detail.vue
index 323d7f7..807da7f 100644
--- a/src/views/iot/product/components/product-detail.vue
+++ b/src/views/iot/product/components/product-detail.vue
@@ -3,7 +3,17 @@
- 产品详情
+
+ $router.go(-1)"
+ >
+
+
+ 产品详情
+
{{renderData.name }}
{{renderData.productType }}
{{renderData.model }}
@@ -99,4 +109,9 @@
.attachments a:hover {
text-decoration: underline;
}
+ .nav-btn {
+ border-color: rgb(var(--gray-2));
+ color: rgb(var(--gray-8));
+ font-size: 16px;
+ }
diff --git a/src/views/notification/bulletin/components/detail.vue b/src/views/notification/bulletin/components/detail.vue
index 529ce89..7b400f6 100644
--- a/src/views/notification/bulletin/components/detail.vue
+++ b/src/views/notification/bulletin/components/detail.vue
@@ -1,8 +1,16 @@
-
+
+
$router.go(-1)"
+ >
+
+