From e19837b887448948af3a0cd080afabd4ab9689f0 Mon Sep 17 00:00:00 2001 From: jing <1683105490@qq.com> Date: Sat, 24 Oct 2026 16:38:56 +0800 Subject: [PATCH] =?UTF-8?q?chore=EF=BC=9A=E8=81=94=E7=B3=BB=E8=B5=84?= =?UTF-8?q?=E6=96=99=E7=9A=84=E5=A4=8D=E5=88=B6=E6=8C=89=E9=92=AE=E6=AD=A3?= =?UTF-8?q?=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components-diy/diy-card-mini.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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; }