chore:我的名片的快捷按钮样式

This commit is contained in:
2026-10-23 09:04:03 +08:00
parent 5f4a0ecea1
commit 41d07843e7

View File

@@ -312,12 +312,16 @@ export default {
return this.$util.objToStyle({ color: (this.card && this.card.theme_color) || CardTokens.color.primary }); return this.$util.objToStyle({ color: (this.card && this.card.theme_color) || CardTokens.color.primary });
}, },
actStyle() { actStyle() {
// 快捷芯片统一实心主题色(「打电话」同款); 尺寸/圆角由 .act-chip CSS 类控制 // 快捷芯片统一「发邮件」样式(2026-10-23 参考图定稿): 白底 + 主题色描边;
// 尺寸/圆角由 .act-chip CSS 类控制(内联只出底色+描边, 不锁死尺寸)
const theme = (this.card && this.card.theme_color) || CardTokens.color.primary; const theme = (this.card && this.card.theme_color) || CardTokens.color.primary;
return this.$util.objToStyle({ background: theme }); return this.$util.objToStyle({
background: '#FFFFFF',
border: '2rpx solid ' + theme,
});
}, },
actTextStyle() { actTextStyle() {
return this.$util.objToStyle({ color: '#FFFFFF' }); return this.$util.objToStyle({ color: (this.card && this.card.theme_color) || CardTokens.color.primary });
}, },
detailBtnStyle() { detailBtnStyle() {
// 发送名片大按钮: 纯色主题实心(2026-10-22 参考图定稿, 不再用渐变); // 发送名片大按钮: 纯色主题实心(2026-10-22 参考图定稿, 不再用渐变);