fix(chat): use weekly limit for message quota

This commit is contained in:
2026-06-29 18:40:44 +08:00
parent a821d01834
commit cee63e8658
8 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ export function ChatScreen() {
// 消息数量限制由后端统一返回 lockDetail,前端不再处理本地额度。
const showMessageLimitBanner =
state.upgradePromptVisible && state.upgradeReason === "daily_limit";
state.upgradePromptVisible && state.upgradeReason === "weekly_limit";
const messageLimitTitle = "The limit for free chat times\nhas been reached";
const externalBrowserPromptShownRef = useRef(false);
@@ -3,7 +3,7 @@
* ChatQuotaExhaustedBanner 游客配额耗尽横幅
*
* 何时显示:
* - 后端返回 lockDetail.reason="daily_limit" 且 showUpgrade=true
* - 后端返回 lockDetail.reason="weekly_limit" 且 showUpgrade=true
*
* 视觉规格(与设计稿对齐):
* - 粉→品红渐变背景(与 splash 渐变一致)