feat: 自行开发设计 ui样式优化 超管端-控制台 相关的页面

This commit is contained in:
zhanjunhao
2026-11-09 21:45:37 +08:00
parent 6ad95e2baa
commit 5713d541b0
242 changed files with 9242 additions and 5043 deletions
@@ -282,21 +282,23 @@ const PromotionPosterModal = ({ visible, onClose }) => {
};
// 复制邀请链接
const handleCopyLink = () => {
const handleCopyLink = async () => {
if (!affLink) {
showError(t('邀请链接获取中,请稍后'));
return;
}
copy(affLink, t('邀请链接'));
if (await copy(affLink)) showSuccess(t('邀请链接已复制到剪切板'));
else showError(t('复制失败,请手动复制'));
};
// 复制邀请码
const handleCopyCode = () => {
const handleCopyCode = async () => {
if (!affCode) {
showError(t('邀请码获取中,请稍后'));
return;
}
copy(affCode, t('邀请码'));
if (await copy(affCode)) showSuccess(t('复制成功'));
else showError(t('复制失败,请手动复制'));
};
// 链接分享模式 - PC友好