diff --git a/components-diy/diy-recommend-code.vue b/components-diy/diy-recommend-code.vue index 393712a..db62dc5 100644 --- a/components-diy/diy-recommend-code.vue +++ b/components-diy/diy-recommend-code.vue @@ -214,10 +214,14 @@ 复制推荐码 - - + + 📤 {{ nc.buttonText || '立即分享' }} + {{ formatShareLink }} @@ -368,7 +372,7 @@ export default { textColor: '#FFFFFF', titleColor: '#333333', codeColor: '#E4393C', - buttonBgColor: '#E4393C', + buttonBgColor: '', // 默认空:让 Card 风格的立即分享按钮走「白底红边框」分支,匹配设计参考图 buttonTextColor: '#FFFFFF', shareButtonBgColor: '#67C23A', titleFontSize: 14, @@ -395,6 +399,8 @@ export default { code: '', shareLink: '', qrcodeUrl: '', + /* H5 平台标识:用于在 H5 端用 view 替代 button,避免浏览器