# -*- coding: utf-8 -*- """board-customer.html 各维度精细调整 v2""" import pathlib, re TARGET = pathlib.Path(__file__).resolve().parents[2] / "docs/h5_ui/pages/board-customer.html" html = TARGET.read_text(encoding="utf-8") # ── 通用:跟/弃 badge 向下偏移 ── # 在 CSS 中把 assistant-badge 的 transform 改为向下多移一点 html = html.replace( "transform: translateY(-0.5px);", "transform: translateY(1.5px);" ) def avatar(cf, ct, ch): return f'''
¥4,800
近30天消费
8次
月均到店
¥15,000
余额
¥3,500
近30天消费
5次
月均到店
¥6,800
余额