diff --git a/App.vue b/App.vue index 2d1d766..06344cc 100644 --- a/App.vue +++ b/App.vue @@ -230,9 +230,10 @@ export default { receiverId: data.ReceiverId, sendDate: data.SendDate, message: data.Message, - sendUserType: 2, + sendUserType: data.SendUserType, // 0 AI 1 学生 2 教师 3 提示 }; - const id = data.Id || data.id || Math.random().toString(36).substring(2); + const id = + data.Id || data.id || Math.random().toString(36).substring(2); const msg = { ...processData, messageType: 0, @@ -403,9 +404,10 @@ uni-page-body { body { margin: 0; - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", - "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", - "Microsoft Yahei", sans-serif; + font-family: + -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", + "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Microsoft Yahei", + sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; // max-width: 1536rpx; diff --git a/pages/home/index/index.vue b/pages/home/index/index.vue index 4d767c4..ceabb05 100644 --- a/pages/home/index/index.vue +++ b/pages/home/index/index.vue @@ -245,7 +245,7 @@ @@ -375,7 +375,7 @@