Feat(AI):关键词搜索匹配抽奖模块

This commit is contained in:
lifizer
2025-05-15 16:29:27 +08:00
parent ec794b4d79
commit e9aae5e8ae
4 changed files with 43 additions and 2 deletions
+3
View File
@@ -309,6 +309,9 @@ export const chatMixins = {
}
})
},
prizeItemClickHandle() {
this.$yrouter.push({ path: '/pkg-video/views/lottery' })
},
chatErrorSetContent() {
this.chatMessageList[this.chatMessageListLength - 1].isError = true
this.chatMessageList[this.chatMessageListLength - 1].content = this.errorMsg
+15 -1
View File
@@ -192,7 +192,21 @@
</view>
</view>
</view>
<view class="change-btn">
<view v-if="item.showMoreInfo.showType === '优惠活动'" class="list-wrap prize-list-wrap">
<view
v-for="(prize, prizeIndex) in item.showMoreInfo.resultItems"
:key="prizeIndex"
class="prize-item"
@click="prizeItemClickHandle(prize)"
>
<image
:src="prize.img"
class="img"
mode="widthFix"
/>
</view>
</view>
<view v-if="item.showMoreInfo.showType !== '优惠活动'" class="change-btn">
<image
:src="webUrl + '/aiChat/icon-change.png'"
class="icon"
+15 -1
View File
@@ -262,7 +262,21 @@
</view>
</view>
</view>
<view class="change-btn">
<view v-if="item.showMoreInfo.showType === '优惠活动'" class="list-wrap prize-list-wrap">
<view
v-for="(prize, prizeIndex) in item.showMoreInfo.resultItems"
:key="prizeIndex"
class="prize-item"
@click="prizeItemClickHandle(prize)"
>
<image
:src="prize.img"
class="img"
mode="widthFix"
/>
</view>
</view>
<view v-if="item.showMoreInfo.showType !== '优惠活动'" class="change-btn">
<image
:src="webUrl + '/aiChat/icon-change.png'"
class="icon"