deploy: auto commit repo-root changes 2026-07-05 12:33:57

This commit is contained in:
hajimi
2026-07-05 12:33:57 +08:00
parent 1954948445
commit f641276b9d
123 changed files with 1182 additions and 572 deletions
@@ -437,7 +437,13 @@ const vipInfo = computed(() => userStore.userInfo?.vip_info || {})
const isVipUser = computed(() => !!vipInfo.value.is_vip)
const vipLevelName = computed(() => vipInfo.value.vip_level_name || '会员')
const vipExpireDate = computed(() => vipInfo.value.vip_expire_time || '')
const freeRemain = computed(() => getAiFreeRemain(vipInfo.value))
const aiRemainOverride = ref<number | null>(null)
const freeRemain = computed(() => aiRemainOverride.value ?? getAiFreeRemain(vipInfo.value))
const syncAiRemain = (res: any) => {
if (res?.remain_count !== undefined) {
aiRemainOverride.value = Number(res.remain_count)
}
}
const showAiPopup = ref(false)
const aiLoading = ref(false)
@@ -473,6 +479,7 @@ const fetchAiPredict = async () => {
if (aiGameCode.value) params.code = aiGameCode.value
if (aiCategoryId.value) params.category_id = aiCategoryId.value
const data = await getLotteryAiPredict(params)
syncAiRemain(data)
aiData.value = data
} catch (e: any) {
aiError.value = e?.msg || 'AI分析失败,请稍后重试'