diff --git a/components-diy/diy-card-mini.vue b/components-diy/diy-card-mini.vue index d271ea2..f87ded1 100644 --- a/components-diy/diy-card-mini.vue +++ b/components-diy/diy-card-mini.vue @@ -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; }