style(components-diy): 修正拼团头像边框的变量名和注释
更新了拼团头像边框的css变量名,将原pintuan-label-color改为pintuan-avatar-border,并补充注释说明改名原因,同时调整了对应注释描述。
This commit is contained in:
@@ -451,9 +451,10 @@ scroll-view ::-webkit-scrollbar {
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
border-radius: 50%;
|
||||
// P0: 拼团标签边框 → var(--pintuan-label-color)
|
||||
// P0: 拼团头像红边框 → var(--pintuan-avatar-border)
|
||||
// 兼容: 微信小程序 / 鸿蒙元服务 — border 接受 var() 无问题
|
||||
border: 2rpx solid var(--pintuan-label-color, #ff3d3d);
|
||||
// 注: 改名避免与现有 pintuan_label_color(白字)冲突
|
||||
border: 2rpx solid var(--pintuan-avatar-border, #ff3d3d);
|
||||
margin-left: -14rpx;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user