From 3008f0fcb87992077af811f9842793610fc52239 Mon Sep 17 00:00:00 2001 From: zuoxiao <zuoxiao> Date: 星期二, 29 四月 2025 16:07:00 +0800 Subject: [PATCH] 优化首页项目切换逻辑,添加确认弹窗以提升用户体验;更新样式以增强项目选择的可视化效果。 --- 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