<view class="chat-container data-v-d335cb2c"><view class="chat-messages data-v-d335cb2c"><view wx:for="{{a}}" wx:for-item="message" wx:key="F" id="{{message.G}}" class="{{['message-item', 'data-v-d335cb2c', message.H]}}"><view wx:if="{{message.a}}" class="message-avatar data-v-d335cb2c"><image class="data-v-d335cb2c" src="/static/svg/ai_icon.svg" mode="aspectFit"/></view><view class="message-content-wrapper data-v-d335cb2c"><view class="message-content data-v-d335cb2c"><view wx:if="{{message.b}}" class="message-images data-v-d335cb2c"><view wx:for="{{message.c}}" wx:for-item="image" wx:key="c" class="{{['message-image-item', 'data-v-d335cb2c', message.e && 'single-image']}}"><image src="{{image.a}}" mode="{{message.d}}" class="message-image data-v-d335cb2c" bindtap="{{image.b}}"/></view></view><view wx:elif="{{message.f}}" class="message-images data-v-d335cb2c"><view wx:for="{{message.g}}" wx:for-item="image" wx:key="c" class="{{['message-image-item', 'data-v-d335cb2c', message.i && 'single-image']}}"><image src="{{image.a}}" mode="{{message.h}}" class="message-image data-v-d335cb2c" bindtap="{{image.b}}"/></view></view><view wx:elif="{{message.j}}" class="message-images data-v-d335cb2c"><view wx:for="{{message.k}}" wx:for-item="image" wx:key="c" class="{{['message-image-item', 'data-v-d335cb2c', message.m && 'single-image']}}"><image src="{{image.a}}" mode="{{message.l}}" class="message-image data-v-d335cb2c" bindtap="{{image.b}}"/></view></view><block wx:if="{{message.n}}"><view wx:for="{{message.o}}" wx:for-item="line" wx:key="b" class="message-text-line data-v-d335cb2c"><text class="data-v-d335cb2c">{{line.a}}</text></view></block></view><view wx:if="{{message.p}}" class="quick-questions data-v-d335cb2c"><view wx:for="{{message.q}}" wx:for-item="question" wx:key="b" class="question-btn data-v-d335cb2c" bindtap="{{question.c}}"><text class="data-v-d335cb2c">{{question.a}}</text></view></view><view wx:if="{{message.r}}" class="confirmation-buttons data-v-d335cb2c"><view class="{{['confirmation-btn', 'data-v-d335cb2c', message.s && 'selected', message.t && 'disabled']}}" bindtap="{{message.v}}"><text class="data-v-d335cb2c">是</text></view><view class="{{['confirmation-btn', 'data-v-d335cb2c', message.w && 'selected', message.x && 'disabled']}}" bindtap="{{message.y}}"><text class="data-v-d335cb2c">否</text></view></view><view wx:if="{{message.z}}" class="message-meta data-v-d335cb2c"><view wx:if="{{message.A}}" class="copy-button data-v-d335cb2c" bindtap="{{message.B}}"><image src="/static/svg/copy.svg" mode="aspectFit" class="copy-icon data-v-d335cb2c"/></view><text class="message-time data-v-d335cb2c">{{message.C}}</text><view wx:if="{{message.D}}" class="copy-button data-v-d335cb2c" bindtap="{{message.E}}"><image src="/static/svg/copy.svg" mode="aspectFit" class="copy-icon data-v-d335cb2c"/></view></view></view></view><view wx:if="{{b}}" class="message-item ai-message data-v-d335cb2c"><view class="message-avatar data-v-d335cb2c"><image class="data-v-d335cb2c" src="/static/svg/ai_icon.svg" mode="aspectFit"/></view><view class="message-content loading data-v-d335cb2c"><text class="data-v-d335cb2c">{{c}}</text></view></view></view><view class="chat-input-area data-v-d335cb2c"><view wx:if="{{d}}" class="image-preview-area data-v-d335cb2c"><view class="image-preview-list data-v-d335cb2c"><view wx:for="{{e}}" wx:for-item="image" wx:key="d" class="image-preview-item data-v-d335cb2c"><image src="{{image.a}}" mode="aspectFill" class="preview-image data-v-d335cb2c"/><view class="remove-image data-v-d335cb2c" bindtap="{{image.c}}"><uni-icons wx:if="{{f}}" class="data-v-d335cb2c" u-i="{{image.b}}" bind:__l="__l" u-p="{{f}}"/></view></view><view wx:if="{{g}}" class="image-preview-item add-more-button data-v-d335cb2c" bindtap="{{i}}"><uni-icons wx:if="{{h}}" class="data-v-d335cb2c" u-i="d335cb2c-1" bind:__l="__l" u-p="{{h}}"/><text class="add-more-text data-v-d335cb2c">添加图片</text></view></view></view><view class="input-container data-v-d335cb2c"><input class="message-input data-v-d335cb2c" placeholder="请输入您的问题..." confirm-type="{{'send'}}" bindfocus="{{j}}" bindblur="{{k}}" bindconfirm="{{l}}" value="{{m}}" bindinput="{{n}}"/><view wx:if="{{o}}" class="upload-button data-v-d335cb2c" bindtap="{{q}}"><uni-icons wx:if="{{p}}" class="data-v-d335cb2c" u-i="d335cb2c-2" bind:__l="__l" u-p="{{p}}"/></view><view wx:if="{{r}}" class="send-button data-v-d335cb2c" bindtap="{{t}}"><uni-icons wx:if="{{s}}" class="data-v-d335cb2c" u-i="d335cb2c-3" bind:__l="__l" u-p="{{s}}"/></view><view wx:if="{{v}}" class="send-button disabled data-v-d335cb2c"><uni-icons wx:if="{{w}}" class="data-v-d335cb2c" u-i="d335cb2c-4" bind:__l="__l" u-p="{{w}}"/></view></view></view></view>