This commit is contained in:
fuenmao
2026-09-22 15:03:13 +08:00
parent 426eaca97f
commit dec3dfdfe3
9 changed files with 3341 additions and 4 deletions
+200 -1
View File
@@ -11,7 +11,15 @@
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: #f2f0e9; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: #e8e6df; }
#app {
max-width: 480px;
margin: 0 auto;
min-height: 100vh;
position: relative;
background: #f2f0e9;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
}
button, input, textarea { font: inherit; }
button { cursor: pointer; }
@@ -772,3 +780,194 @@ button { cursor: pointer; }
.scene-actions { width: 100%; margin-top: 6px; }
.scene-actions button { flex: 1; }
}
.dashboard-page {
padding-bottom: 84px !important;
}
/* 评估未填提醒卡片 */
.assessment-guide-banner {
background: linear-gradient(135deg, #b37318, #92580c);
color: #fff;
border-radius: 18px;
padding: 16px;
margin-bottom: 14px;
box-shadow: 0 6px 18px rgba(179, 115, 24, 0.22);
cursor: pointer;
position: relative;
overflow: hidden;
}
.assessment-guide-banner::after {
content: "";
position: absolute;
right: -20px;
bottom: -20px;
width: 100px;
height: 100px;
background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
border-radius: 50%;
}
.guide-badge {
display: inline-block;
background: rgba(255, 255, 255, 0.22);
color: #fff;
font-size: 10px;
font-weight: 700;
padding: 2px 8px;
border-radius: 10px;
margin-bottom: 8px;
}
.guide-body {
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
}
.guide-text h3 {
margin: 0 0 4px;
font-size: 15px;
font-weight: 700;
}
.guide-text p {
margin: 0;
font-size: 12px;
color: rgba(255, 255, 255, 0.88);
line-height: 1.4;
}
.guide-btn {
white-space: nowrap;
padding: 8px 14px;
border-radius: 16px;
border: 0;
background: #ffffff;
color: #92580c;
font-size: 12px;
font-weight: 700;
cursor: pointer;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
/* 个性化舒睡启动参数卡片 */
.personalized-startup-card {
background: #ffffff;
border: 1px solid rgba(12, 80, 69, 0.12);
border-radius: 20px;
padding: 16px;
margin-bottom: 14px;
box-shadow: 0 4px 16px rgba(18, 63, 55, 0.04);
}
.customized-tag {
font-size: 11px;
color: #0c5045;
background: #eef6f3;
padding: 2px 8px;
border-radius: 8px;
font-weight: 600;
}
.startup-card-desc {
margin: 4px 0 12px;
font-size: 12px;
color: #6b7d76;
line-height: 1.5;
}
.startup-params-tags {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
margin-bottom: 14px;
}
.startup-param-badge {
background: #f7f6f2;
border: 1px solid rgba(18, 63, 55, 0.08);
border-radius: 10px;
padding: 8px 10px;
}
.startup-param-badge .lbl {
display: block;
font-size: 10px;
color: #849690;
margin-bottom: 2px;
}
.startup-param-badge strong {
font-size: 12px;
color: #173d36;
}
.detail-entry-bar {
display: flex;
align-items: center;
justify-content: space-between;
background: #f8f7f2;
border: 1px solid rgba(18, 63, 55, 0.08);
border-radius: 12px;
padding: 10px 12px;
margin-top: 12px;
cursor: pointer;
transition: all 0.2s;
}
.detail-entry-bar:active {
background: #f0eee7;
}
.entry-left {
display: flex;
align-items: center;
gap: 10px;
}
.entry-left .icon {
font-size: 18px;
}
.entry-left strong {
display: block;
font-size: 12px;
color: #173d36;
}
.entry-left small {
display: block;
font-size: 11px;
color: #82928c;
}
.detail-entry-bar .arrow {
color: #a0ada7;
font-size: 14px;
}
/* 7 台设备入口条 */
.all-control-banner {
display: flex;
align-items: center;
justify-content: space-between;
background: linear-gradient(135deg, #edf6f3, #e5f0ec);
border: 1px solid rgba(12, 80, 69, 0.16);
border-radius: 14px;
padding: 12px 14px;
margin-top: 14px;
cursor: pointer;
transition: all 0.2s;
}
.all-control-banner:active {
background: #dbeef7;
}
.ac-text {
display: flex;
align-items: center;
gap: 10px;
}
.ac-icon {
font-size: 20px;
}
.ac-text strong {
display: block;
font-size: 13px;
color: #0c5045;
font-weight: 700;
}
.ac-text small {
display: block;
font-size: 11px;
color: #55756d;
margin-top: 2px;
}
.ac-arrow {
font-size: 16px;
color: #0c5045;
font-weight: 700;
}