diff --git a/components/conversationList.vue b/components/conversationList.vue index cf9e6b8..ab79e4b 100644 --- a/components/conversationList.vue +++ b/components/conversationList.vue @@ -17,8 +17,8 @@
-
- {{ item.userinfo[0].name }} @{{ item.subtitle }} +
+ {{ item.userinfo[0].name }} @{{ item.subtitle }}
{{ item.time }} diff --git a/components/panel/messageCell.vue b/components/panel/messageCell.vue index a63b010..f5a3d79 100644 --- a/components/panel/messageCell.vue +++ b/components/panel/messageCell.vue @@ -53,7 +53,8 @@ export default { cdnBaseImg: this.G.store().cdnBaseImg, corpUserFlag: uni.getStorageSync("apply-userinfo").corpUserFlag, wyyxTabGroup: [], - randomTime: this.generateRandomTime(), // 生成随机时间 + randomTime: this.generateRandomTime(), // 生成随机时间, + appinfo:uni.getStorageSync("miniApp-info") }; }, mounted() { @@ -73,9 +74,9 @@ export default { let config = uni.getStorageSync("chat_config"); botArray = [ { - title: "大鹏", //config.name, - sub_title: "人海AI供应链智能助理", //config.description, - avatar: that.cdnBaseImg + "v3/add1.png", //config.icon_url, + title: that.appinfo.aiRobotName, //config.name, + sub_title: that.appinfo.appName + "平台智能助理", //config.description, + avatar: that.appinfo && that.appinfo.logo ? that.appinfo.logo : that.cdnBaseImg + "v3/add1.png", //config.icon_url, path: "/root/chat/index", tip: "rgpp", randomTime: that.generateRandomTime(), // 为机器人添加随机时间 diff --git a/pages/home/index.vue b/pages/home/index.vue index 85ca511..a35eb07 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -52,7 +52,7 @@ > - + --> - + diff --git a/root/person/pwdForget.vue b/root/person/pwdForget.vue index 6b78489..a7006f0 100644 --- a/root/person/pwdForget.vue +++ b/root/person/pwdForget.vue @@ -1,6 +1,6 @@