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
+1 -1
View File
@@ -174,7 +174,7 @@
<script lang="ts" setup>
import { ref, computed } from 'vue'
import { onLoad } from '@dcloudio/uni-app'
import { getLotteryDrawDetail, getLotteryAiPredict } from '@/api/lottery'
import { getLotteryDrawDetail } from '@/api/lottery'
const statusBarHeight = ref(0)
const loading = ref(true)
@@ -204,7 +204,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)
@@ -227,6 +233,7 @@ const fetchAiPredict = async () => {
aiError.value = ''
try {
const data = await getLotteryAiPredict({ code: gameCode.value })
syncAiRemain(data)
aiData.value = data
} catch (e: any) {
aiError.value = e?.msg || 'AI分析失败,请稍后重试'
+8 -1
View File
@@ -435,7 +435,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)
@@ -471,6 +477,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分析失败,请稍后重试'