更新记录
1.0.0(2025-06-30) 下载此版本
开箱即用,替换流式接口即可,可根据实际情况更改传值
平台兼容性
uni-app(4.24)
Vue2 | Vue3 | Chrome | Safari | app-vue | app-nvue | Android | iOS | 鸿蒙 |
---|---|---|---|---|---|---|---|---|
- | √ | √ | - | √ | - | - | - | - |
微信小程序 | 支付宝小程序 | 抖音小程序 | 百度小程序 | 快手小程序 | 京东小程序 | 鸿蒙元服务 | QQ小程序 | 飞书小程序 | 快应用-华为 | 快应用-联盟 |
---|---|---|---|---|---|---|---|---|---|---|
√ | - | - | - | - | - | - | - | - | - | - |
uni-app x(4.24)
Chrome | Safari | Android | iOS | 鸿蒙 | 微信小程序 |
---|---|---|---|---|---|
- | - | - | - | - | - |
使用方式-deepseek
如果你接入的是deepseek,在interfaceStr里输入你的真实流式接口地址,即可使用
let interfaceStr = '你的流式接口地址'
其他大模型
1.找到以下代码块,更改 item.content
和 item.reasoning_content
<view class="message-content">
<view v-if="item.role === 'user'" class="user-message">{{ item.content }}</view>
<view v-else class="assistant-message">
<view v-if="item.reasoning_content" class="thinking">{{ item.reasoning_content }}</view>
<view v-else class="loading">
<view class="loading-flower">
<view class="petal" v-for="n in 6" :key="n" :class="`petal-${n}`"></view>
<view class="center"></view>
</view>
</view>
<rich-text :nodes="formatContent(item.content)"></rich-text>
</view>
</view>