Refactor(云灵AI):换一换动态效果实现

This commit is contained in:
lifizer
2026-04-27 15:42:01 +08:00
parent 0d1dfae3bd
commit 3b935811e3
4 changed files with 92 additions and 29 deletions
+13 -7
View File
@@ -320,12 +320,17 @@
"
class="change-btn"
>
<image
:src="webUrl + '/aiChat/icon-change.png'"
class="icon"
mode="widthFix"
@click="analyzeKeywordsChangeHandle(item.conversationId, item)"
/>
<view class="change-btn-content" @click="analyzeKeywordsChangeHandle(item.conversationId, item)">
<image
:src="webUrl + '/aiChat/icon-53.png'"
:class="{
'rotate': item.changeIsRotate
}"
class="icon"
mode="widthFix"
/>
换一换
</view>
</view>
</view>
<!-- 建议提问 -->
@@ -489,7 +494,8 @@ export default {
type: -2,
showMoreInfo: {},
currentSwiperIndex: 0,
showChangeBtn: false
showChangeBtn: false,
changeIsRotate: false
}
if (item.cardData) {
const { contentType, finish, items = [] } = item.cardData