Feat(云灵AI):首页送礼重构&交互使用模拟数据书写对应逻辑

This commit is contained in:
lifizer
2026-05-28 18:03:38 +08:00
parent 9c6aa2351b
commit 4e0972f38a
5 changed files with 483 additions and 39 deletions
+18
View File
@@ -572,6 +572,24 @@ export default {
createNewHandle() {
uni.setStorageSync('addNewChat', '1')
uni.navigateBack()
},
bottomToolClickHandle(item) {
if (item.giftCardEnabled === 1) {
uni.setStorageSync('addNewChat', '2')
uni.navigateBack()
return
}
if (item.navType === 'prompt') {
this.streamReq({
prompt: item.promptContent,
init: 0
})
}
if (item.navType === 'url') {
uni.navigateTo({
url: item.url
})
}
}
}
}