chore:联系资料的复制按钮正常

This commit is contained in:
2026-10-24 16:38:56 +08:00
parent 25e0e1cfad
commit e19837b887

View File

@@ -597,12 +597,11 @@ export default {
fontWeight: '600',
});
},
/** 复制按钮: 主题浅底 + 主题色字(hexToRgba 动态派生, WXSS 无 color-mix) */
/** 复制按钮(参考图): 浅灰底 + 灰字, 与主题色解耦 */
copyBtnStyle() {
const theme = (this.card && this.card.theme_color) || CardTokens.color.primary;
return this.$util.objToStyle({
background: hexToRgba(theme, 0.12) || '#F2F3F5',
color: theme,
background: CardTokens.color.skeleton,
color: CardTokens.color.textSub,
});
},
badgeStyle() {
@@ -1069,13 +1068,14 @@ export default {
}
}
/* 复制按钮(2.17): 浅底主题色小按钮(色内联), 不挤压资料值换行 */
/* 复制按钮(参考图): 浅灰底灰字, 胶囊圆角, 小尺寸, 垂直居中, 不挤压资料值换行 */
.row-copy {
flex-shrink: 0;
align-self: center;
margin-left: 16rpx;
padding: 4rpx 20rpx;
padding: 2rpx 16rpx;
border-radius: 999rpx;
font-size: 22rpx;
font-size: 20rpx;
line-height: 1.4;
}