From 8c728223a1aae91ff37a5326d961ad45823ba865 Mon Sep 17 00:00:00 2001
From: zuoxiao <zuoxiao>
Date: 星期五, 08 八月 2025 15:27:19 +0800
Subject: [PATCH] 添加综合站监测功能,更新首页逻辑以支持登录检查并跳转至监测页面;在app.json中添加新页面和插件配置。
---
pages/home/home.wxss | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 53 insertions(+), 0 deletions(-)
diff --git a/pages/home/home.wxss b/pages/home/home.wxss
index 4f09e97..2be6c16 100644
--- a/pages/home/home.wxss
+++ b/pages/home/home.wxss
@@ -38,6 +38,7 @@
align-items: left;
justify-content: center;
margin-left: 15rpx;
+ margin-bottom: 70rpx;
}
.head-button-wrapper {
@@ -752,4 +753,56 @@
font-size: 32rpx;
color: #888;
}
+
+.current-project {
+ display: flex;
+ align-items: center;
+ margin-left: 20rpx;
+margin-top: 10rpx;
+
+}
+
+.current-project text {
+ color: #fff;
+ font-size: 32rpx;
+ margin-right: 10rpx;
+}
+
+.switch-project {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 40rpx;
+ height: 40rpx;
+ background-color: rgba(255, 255, 255, 0.2);
+ border-radius: 50%;
+ margin-left: 5rpx;
+}
+
+.switch-icon {
+ width: 24rpx;
+ height: 24rpx;
+}
+
+.avatar-project-container {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+}
+
+.current-project {
+ display: flex;
+ justify-content: center;
+ margin-bottom: 10rpx;
+}
+
+.current-project text {
+ font-size: 28rpx;
+ color: #ffffff;
+ font-weight: bold;
+ background-color: rgba(255, 255, 255, 0.2);
+ border-radius: 15rpx;
+ padding: 6rpx 14rpx;
+}
\ No newline at end of file
--
Gitblit v1.8.0