对话记录
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<div class="AppDialogue">
|
<div class="AppDialogue">
|
||||||
<u-navbar title="Copilot小助理" title-color="#000" title-width="300" title-size="32" :title-bold="true" :background="backgroundNavbar" :is-back="false"></u-navbar>
|
<u-navbar title="Copilot小助理" title-color="#000" title-width="300" title-size="32" :title-bold="true" :background="backgroundNavbar" :is-back="false"></u-navbar>
|
||||||
<!-- <scroll-view scroll-y="true" class="scroll-Y" @scroll="scroll"> -->
|
<!-- <scroll-view scroll-y="true" class="scroll-Y" @scroll="scroll"> -->
|
||||||
<!-- <div class="service-content" v-if="!messageList.length">
|
<div class="service-content" v-if="!messageList.length">
|
||||||
<div class="text-content">
|
<div class="text-content">
|
||||||
<div class="text-left">
|
<div class="text-left">
|
||||||
<div>嘿,你好呀!</div>
|
<div>嘿,你好呀!</div>
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<img src="https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/service.png" alt="" class="service-img">
|
<img src="https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/service.png" alt="" class="service-img">
|
||||||
</div>
|
</div>
|
||||||
</div> -->
|
</div>
|
||||||
<div class="list-bg"></div>
|
<div class="list-bg"></div>
|
||||||
<div class="list-content">
|
<div class="list-content">
|
||||||
<div v-for="(item, index) in messageList" :key="index">
|
<div v-for="(item, index) in messageList" :key="index">
|
||||||
|
|||||||
@@ -78,6 +78,9 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
...mapActions(['autoLogin']),
|
...mapActions(['autoLogin']),
|
||||||
getHistoryList() {
|
getHistoryList() {
|
||||||
|
if(this.token) {
|
||||||
|
return this.$u.toast("请在'个人中心'登录")
|
||||||
|
}
|
||||||
this.$loading()
|
this.$loading()
|
||||||
this.$instance.post(`/app/appaicopilotinfo/list?current=${this.current}&size=10&content=${this.searchVal}`).then(res => {
|
this.$instance.post(`/app/appaicopilotinfo/list?current=${this.current}&size=10&content=${this.searchVal}`).then(res => {
|
||||||
if(res.code == 0 && res.data.records.length) {
|
if(res.code == 0 && res.data.records.length) {
|
||||||
|
|||||||
Reference in New Issue
Block a user