From 47e7a71310c89dffcb43a8b71e70b8d5a5123661 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A8=8B=E8=AF=9A?= <1009578407@qq.com>
Date: Tue, 20 Oct 2026 16:25:44 +0800
Subject: [PATCH 1/2] =?UTF-8?q?fix=EF=BC=9A1=E3=80=81=E6=88=91=E7=9A=84?=
=?UTF-8?q?=E5=AD=A6=E4=B9=A0=E5=A2=9E=E5=8A=A0=E8=BF=94=E5=9B=9E=E6=8C=89?=
=?UTF-8?q?=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../zhghh5/learning/myRecord/index.html | 22 +++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/src/main/resources/views/platform/zhghh5/learning/myRecord/index.html b/src/main/resources/views/platform/zhghh5/learning/myRecord/index.html
index 15e90312..f4723495 100644
--- a/src/main/resources/views/platform/zhghh5/learning/myRecord/index.html
+++ b/src/main/resources/views/platform/zhghh5/learning/myRecord/index.html
@@ -25,6 +25,25 @@ layout("/layouts/platform_h5.html"){
border-radius: 50%;
background: rgba(255, 255, 255, .08);
}
+ .my-study-back {
+ position: absolute;
+ top: 10px;
+ left: 8px;
+ z-index: 2;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 38px;
+ height: 38px;
+ border-radius: 50%;
+ padding: 0;
+ border: 0;
+ background: rgba(15, 23, 42, .22);
+ color: #ffffff;
+ font: inherit;
+ font-size: 24px;
+ cursor: pointer;
+ }
.my-study-status {
display: block;
position: relative;
@@ -234,6 +253,9 @@ layout("/layouts/platform_h5.html"){
+
累计学习时长
{{ summary.studyHour || 0 }} 小时
{{ summary.studyMinute || 0 }} 分钟
From 5671737c9e1ef1681c8b6ef9dbb13ce6b51ec260 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=A8=8B=E8=AF=9A?= <1009578407@qq.com>
Date: Wed, 21 Oct 2026 16:49:02 +0800
Subject: [PATCH 2/2] =?UTF-8?q?feat:web=E9=A6=96=E9=A1=B5=E4=BC=98?=
=?UTF-8?q?=E5=8C=96=EF=BC=8C=E7=94=A8=E6=88=B7=E5=85=B3=E8=81=94=E8=A7=92?=
=?UTF-8?q?=E8=89=B2=E8=BF=87=E5=A4=9A=E4=BC=9A=E6=92=91=E9=AB=98=E4=B8=8A?=
=?UTF-8?q?=E6=96=B9=E4=BF=A1=E6=81=AF=E5=8C=BA=E5=9F=9F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/main/resources/views/layouts/v4/home/user.js | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/views/layouts/v4/home/user.js b/src/main/resources/views/layouts/v4/home/user.js
index 2190499b..5189ad73 100644
--- a/src/main/resources/views/layouts/v4/home/user.js
+++ b/src/main/resources/views/layouts/v4/home/user.js
@@ -41,7 +41,7 @@ const user = {
角色
-
{{ role }}—
+
{{ role }}—
@@ -318,7 +318,10 @@ const user = {
#v4-home-app .portal-member .meta-label { margin: 0; color: #8995a5; font-size: 12px; line-height: 20px; }
#v4-home-app .portal-member .meta-value { color: #283c54; font-size: 12px; font-weight: 400; line-height: 20px; overflow-wrap: anywhere; }
#v4-home-app .portal-member .meta-row-roles > div { display: block; }
- #v4-home-app .portal-member-roles { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
+ /* 角色最多占用三行标签的高度,超出时内部滚动,避免撑高首页横幅。 */
+ #v4-home-app .portal-member-roles { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 5px; margin-top: 5px; max-height: 88px; overflow-y: auto; overflow-x: hidden; scrollbar-width: thin; scrollbar-color: #c5d9ee transparent; }
+ #v4-home-app .portal-member-roles::-webkit-scrollbar { width: 4px; }
+ #v4-home-app .portal-member-roles::-webkit-scrollbar-thumb { background: #c5d9ee; border-radius: 4px; }
#v4-home-app .portal-member-role { max-width: 100%; display: inline-block; padding: 3px 8px; border: 1px solid #e1ebf7; border-radius: 5px; background: #f3f7fc; color: #46617f; font-size: 12px; line-height: 18px; overflow-wrap: anywhere; }
#v4-home-app .portal-member .weather-section { margin-top: auto; padding: 8px 10px; border-radius: 8px; background: #f0f7ff; color: #527494; }
#v4-home-app .portal-member .weather-header { gap: 6px; }