tmp
This commit is contained in:
+11
-1
@@ -15,8 +15,18 @@
|
||||
</view>
|
||||
<view class="message-content">
|
||||
<view class="message-bubble {{item.type}}-bubble">
|
||||
<!-- subagent 消息:引用卡片样式,默认折叠 -->
|
||||
<block wx:if="{{item.source === 'subagent'}}">
|
||||
<view class="subagent-header" data-id="{{item.id}}" bindtap="toggleSubagent">
|
||||
<text class="subagent-label">思考中...</text>
|
||||
<text class="subagent-arrow {{expandedIds[item.id] ? 'expanded' : ''}}">▸</text>
|
||||
</view>
|
||||
<view class="subagent-body" wx:if="{{expandedIds[item.id]}}">
|
||||
<t-chat-markdown class="message-markdown" content="{{item.content}}" />
|
||||
</view>
|
||||
</block>
|
||||
<t-chat-markdown
|
||||
wx:if="{{item.contentType === 'text' && item.type === 'ai'}}"
|
||||
wx:elif="{{item.contentType === 'text' && item.type === 'ai'}}"
|
||||
class="message-markdown"
|
||||
content="{{item.content}}"
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user