精修 WebUI 第九轮:overview 福袋卡迷你 sparkline
- 福袋处理卡片底部加入 22px 高 sparkline,合成 fudai_open_detail + fudai_attend_ok 两条序列为一条折线 - 渐变填充 + 折线双层;用 currentColor 保证主题切换自动跟随;数据少于 2 点时隐藏 - pollStats 触发渲染,与主时间轴同源数据 - cache-bust v11 → v12
This commit is contained in:
1 parent
d1f153b373
commit
0a2d67afb4
3 files changed
+75
-2
No files matched your search
@@ -602,6 +602,20 @@ svg {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.overviewSpark {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 22px;
|
||||
margin-top: 8px;
|
||||
color: var(--primary);
|
||||
opacity: 0;
|
||||
transition: opacity var(--motion);
|
||||
}
|
||||
|
||||
.overviewSpark.hasData {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.statusDot {
|
||||
position: relative;
|
||||
flex: 0 0 8px;
|
||||
|
||||
Reference in new issue
Block a user