h5链接替换33

This commit is contained in:
2026-01-27 15:16:14 +08:00
parent 044832a8f7
commit dc5327c8e4

View File

@@ -235,13 +235,14 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
gap: 40px; gap: 40px;
flex-wrap: wrap; flex-wrap: nowrap;
margin-top: 30px; margin-top: 30px;
} }
.donut-item { .donut-item {
text-align: center; text-align: center;
position: relative; position: relative;
flex-shrink: 1;
} }
.donut-ring { .donut-ring {
@@ -736,22 +737,19 @@
.section-title { font-size: 1.5em; } .section-title { font-size: 1.5em; }
.section-label { font-size: 0.8em; } .section-label { font-size: 0.8em; }
/* 领奖台适配 */ /* 领奖台小屏适配 */
.podium { flex-direction: column; align-items: center; gap: 15px; } .podium-avatar { width: 60px !important; height: 60px !important; }
.podium-item:nth-child(2) { order: -1; } .podium-item:nth-child(2) .podium-avatar { width: 80px !important; height: 80px !important; }
.podium-bar { height: 60px !important; width: 80px !important; } .podium-bar { height: 40px !important; font-size: 1em !important; }
.podium-item:nth-child(2) .podium-bar { height: 80px !important; width: 100px !important; } .podium-item:nth-child(2) .podium-bar { height: 60px !important; }
.podium-avatar { width: 60px; height: 60px; font-size: 1.5em; }
.podium-item:nth-child(2) .podium-avatar { width: 80px; height: 80px; font-size: 2em; }
.podium-name { font-size: 1em; }
.podium-value { font-size: 1.1em; }
/* 环形图适配 */ /* 环形图适配 - 保持一排显示 */
.donut-container { gap: 20px; } .donut-container { gap: 15px; flex-wrap: nowrap; justify-content: center; }
.donut-ring { width: 100px; height: 100px; } .donut-ring { width: 90px; height: 90px; }
.donut-value { font-size: 1.3em; } .donut-value { font-size: 1.2em; }
.donut-label { font-size: 0.9em; } .donut-label { font-size: 0.85em; }
.donut-count { font-size: 0.8em; } .donut-count { font-size: 0.75em; }
.donut-item { min-width: 0; }
/* 时间卡片适配 */ /* 时间卡片适配 */
.time-card { padding: 25px; max-width: 90%; } .time-card { padding: 25px; max-width: 90%; }
@@ -799,8 +797,12 @@
.cover-title { font-size: 1.2em; letter-spacing: 5px; } .cover-title { font-size: 1.2em; letter-spacing: 5px; }
.big-stat-number { font-size: 2.5em; } .big-stat-number { font-size: 2.5em; }
.section-title { font-size: 1.3em; } .section-title { font-size: 1.3em; }
.donut-ring { width: 85px; height: 85px; } /* 环形图 - 更小屏幕 */
.donut-value { font-size: 1.1em; } .donut-container { gap: 10px; }
.donut-ring { width: 75px; height: 75px; }
.donut-value { font-size: 1em; }
.donut-label { font-size: 0.75em; }
.donut-count { font-size: 0.7em; }
.time-value { font-size: 2em; } .time-value { font-size: 2em; }
.app-usage-value { font-size: 2.8em; } .app-usage-value { font-size: 2.8em; }
.app-usage-card { padding: 25px 30px; } .app-usage-card { padding: 25px 30px; }
@@ -1530,7 +1532,7 @@
} }
// 返回按钮功能 // 返回按钮功能
function goBack(){//h5返回APP function goBack() {
let data = {"action":"goBack","params":""} let data = {"action":"goBack","params":""}
var u = navigator.userAgent; var u = navigator.userAgent;
var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);