小助理
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
</div>
|
||||
</AiTopFixed> -->
|
||||
<div class="search-content">
|
||||
<p>已切换至{{messageList[0].aiConfigName}}</p>
|
||||
<p>已切换至{{aiConfigName}}</p>
|
||||
<u-search v-model="searchVal" :clearabled="true" placeholder="请输入搜索关键词…" :show-action="false"
|
||||
bg-color="#F4F6FA" search-icon-color="#666" color="#666" height="72" @search="getSearchList" @clear="handerClear">
|
||||
</u-search>
|
||||
@@ -28,7 +28,7 @@
|
||||
<u-icon name="play-right-fill" color="#CCE2FF" size="20" v-if="item.userType != 1" class="u-icon-right"></u-icon>
|
||||
<u-icon name="play-left-fill" color="#F3F5F7" size="20" v-if="item.userType == 1" class="u-icon-left"></u-icon>
|
||||
<div class="voice-div" v-if="item.sdkFileUrl" @click="play(item.sdkFileUrl, index)">
|
||||
<span>8”</span>
|
||||
<!-- <span>8”</span> -->
|
||||
<img src="https://cdn.cunwuyun.cn/wechat/baiduAI/play-d.gif" alt="" v-if="item.isPlay">
|
||||
<img src="https://cdn.cunwuyun.cn/wechat/baiduAI/play-j.png" alt="" v-else>
|
||||
</div>
|
||||
@@ -67,7 +67,8 @@ export default {
|
||||
current: 1,
|
||||
pages: 2,
|
||||
aiConfigId: '',
|
||||
conversationId: ''
|
||||
conversationId: '',
|
||||
aiConfigName: ''
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -76,6 +77,7 @@ export default {
|
||||
onLoad(e) {
|
||||
this.aiConfigId = e.aiConfigId
|
||||
this.conversationId = e.conversationId
|
||||
this.aiConfigName = e.aiConfigName
|
||||
this.getHistoryList()
|
||||
},
|
||||
onShow() {
|
||||
|
||||
@@ -97,7 +97,7 @@ export default {
|
||||
this.getSearchList()
|
||||
},
|
||||
toDetail(e) {
|
||||
uni.navigateTo({url: `./Detail?aiConfigId=${e.aiConfigId}&conversationId=${e.conversationId}`})
|
||||
uni.navigateTo({url: `./Detail?aiConfigId=${e.aiConfigId}&conversationId=${e.conversationId}&aiConfigName=${e.aiConfigName}`})
|
||||
// this.$emit('toDetail', {aiConfigId: e.aiConfigId})
|
||||
},
|
||||
del(e) {
|
||||
|
||||
@@ -200,6 +200,7 @@ export default {
|
||||
if(!this.user.token) {
|
||||
return this.$u.toast("请先进行登录")
|
||||
}
|
||||
if(this.content === '') return
|
||||
// this.$loading()
|
||||
this.showLoad = true
|
||||
this.$http.post("/app/appaicopilotinfo/add", {content: this.content, appType: 0, areaId: this.areaId, aiConfigId: this.aiConfigId, supplementContent: this.latLng}).then(res => {
|
||||
|
||||
Reference in New Issue
Block a user