chore:后台可控hero 徽章
This commit is contained in:
@@ -440,7 +440,8 @@ export default {
|
||||
marginLeft: px2rpx(custom ? num(c.headMarginLeft, 0) : (this.headTheme ? -num(c.padding, CardTokens.space.lg) : 0)) + 'rpx',
|
||||
paddingTop: px2rpx(custom ? num(c.headPaddingTop, 16) : (this.headTheme ? 16 : 0)) + 'rpx',
|
||||
paddingRight: px2rpx(custom ? num(c.headPaddingRight, 16) : (this.headTheme ? num(c.padding, CardTokens.space.lg) : 0)) + 'rpx',
|
||||
paddingBottom: px2rpx(custom ? num(c.headPaddingBottom, 14) : (this.headTheme ? 14 : 0)) + 'rpx',
|
||||
// 独立成块上浮(区块上浮 -95rpx 压头部下沿)时预留底内边距(50px=100rpx), 既避让头像/姓名又不留大片蓝底
|
||||
paddingBottom: px2rpx(custom ? num(c.headPaddingBottom, 14) : (this.actsFloat ? 68 : (this.headTheme ? 14 : 0))) + 'rpx',
|
||||
paddingLeft: px2rpx(custom ? num(c.headPaddingLeft, 16) : (this.headTheme ? num(c.padding, CardTokens.space.lg) : 0)) + 'rpx',
|
||||
borderRadius: c.headRadiusMode === 'custom'
|
||||
? px2rpx(num(c.headRadius, 8)) + 'rpx'
|
||||
|
||||
Reference in New Issue
Block a user