feat: 今日实时新增团购单量/流水字段,E1002 改五列竖排版式
今日实时由三列(单量/流水/毛利)扩展为五列,新增团购单量与团购流水;小屏 仍只显三列(跳过 wide 列),宽版 E1002 从「值 F36+右侧叠放环比同比」改为 四行竖排(名/值/环比/同比),避免五列每列 157px 放不下的问题。 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -445,7 +445,7 @@ class DashboardRenderer:
|
||||
|
||||
# ---- C. 底部:橘喵·今日实时(三列,版式对齐主分支:标题+18=名/+34=值/+64=环比/+82=同比)----
|
||||
self._label(193, "橘喵·今日实时", right=f'上次更新 {mao["upd"]}')
|
||||
cols = mao["cols"]; n = len(cols)
|
||||
cols = [c for c in mao["cols"] if not c.get("wide")]; n = len(cols) # 仅宽版的列(团购)小屏放不下,跳过
|
||||
ax0, ax1 = 8, 392
|
||||
cw = (ax1 - ax0) / n
|
||||
for i in range(1, n):
|
||||
|
||||
Reference in New Issue
Block a user