41b882e1fe
Project CI / AI game creator shell Rust crates (pull_request) Successful in 1m50s
Project CI / Backend tests (pull_request) Failing after 15s
Project CI / AI game creator shell Rust smoke (pull_request) Successful in 2m26s
Project CI / Native shell tests (pull_request) Failing after 36s
Project CI / Repository checks (pull_request) Failing after 26s
Project CI / Frontend tests (pull_request) Successful in 2m35s
Project CI / AI game creator shell web tests (pull_request) Successful in 2m25s
Project CI / AI game creator shell Rust lane 2/2 (pull_request) Successful in 11m17s
Project CI / AI game creator shell Rust lane 1/2 (pull_request) Successful in 12m41s
- 主站「我的」页签常用功能宫格补回「邀请好友」,邀请码与邀请链接拆成两个复制动作 - 邀请弹层下沉到 packages/shared/src/components/PlatformProfileReferralModal,主站与客户端共用一份实现 - 邀请奖励说明不再写死次数与金额,每日上限由 todayInviterRewardCount 与 todayInviterRewardRemaining 推导 - 奖励说明从面板正文移入右上角帮助按钮,鼠标悬浮展开、触屏与键盘点击开合 - 帮助按钮复用平台 .platform-icon-button 配色,说明气泡复用 PlatformStatusMessage 的 warning token - AGC 客户端账号菜单新增「邀请码」与「玩家社区」两项,弹层标题与菜单入口文案保持一致 - 新增 Tauri 命令 read_profile_referral_invite_center,用登录 origin 补全 inviteLinkPath 后交给渲染层 - 客户端邀请中心按登录账号隔离,切号重置并作废在飞响应,不本地另存邀请码 - 新命令登记进 apps/ai-game-creator-shell/scripts/check-config.mjs 的 native-only 白名单门禁 - 微信群与 QQ 群二维码从 media/social-media-group 迁入共享组件 assets - 移除已下线文件的 Tailwind @source 与客户端专用弹层样式,原地删除旧邀请弹层实现 - 同步决策记录与产品基线文档中邀请奖励、跨端复用与文案口径
56 lines
1.4 KiB
CSS
56 lines
1.4 KiB
CSS
.platform-profile-referral-modal-backdrop {
|
|
background: rgba(0, 0, 0, 0.42);
|
|
}
|
|
|
|
.platform-profile-referral-modal {
|
|
border: 1px solid var(--platform-modal-border);
|
|
background: #fff;
|
|
color: #18181b;
|
|
box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
|
|
}
|
|
|
|
.platform-profile-referral-modal__close {
|
|
border: 0;
|
|
background: transparent;
|
|
color: #ff4056;
|
|
font-size: 20px;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.platform-profile-referral-modal__close:hover {
|
|
background: rgba(255, 64, 86, 0.08);
|
|
}
|
|
|
|
/*
|
|
* 帮助按钮复用平台通用图标按钮 `.platform-icon-button` 的配色(--platform-icon-*),
|
|
* 这里只把它收到和关闭按钮同高,避免弹层标题栏出现两种尺寸。
|
|
*/
|
|
.platform-icon-button.platform-profile-referral-modal__help {
|
|
width: 2rem;
|
|
height: 2rem;
|
|
}
|
|
|
|
.platform-profile-referral-modal__help-panel {
|
|
/* 悬浮层必须不透明:PlatformStatusMessage 的 warning 底是半透明色,
|
|
直接悬浮会透出下面的邀请码卡片。底色沿用弹层主体的白底,amber 边框 / 文字
|
|
继续走平台 warning token。 */
|
|
border-radius: 0.75rem;
|
|
background: #fff;
|
|
box-shadow: 0 12px 30px rgba(112, 57, 30, 0.16);
|
|
}
|
|
|
|
.platform-profile-referral-modal__avatar {
|
|
background: #ff4056;
|
|
color: #fff;
|
|
}
|
|
|
|
.platform-profile-referral-modal__link {
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.platform-profile-referral-modal__skeleton-item {
|
|
border-radius: 0.75rem;
|
|
background: rgba(228, 228, 231, 0.6);
|
|
}
|