diff --git a/CHANGELOG.md b/CHANGELOG.md index c12664bd..146c4f3d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ * 功能优化:聊天输入框会随着输入内容的增多自动调整高度 * Bug修复:修复移动端聊天页面模型切换不生效的Bug * 功能优化:给PC端扫码支付增加签名验证和有效期验证 +* Bug修复:修复支付码生成API权限控制的问题 ## v4.0.7 diff --git a/web/src/assets/css/chat-plus.styl b/web/src/assets/css/chat-plus.styl index 8c4cdc6e..6ff76758 100644 --- a/web/src/assets/css/chat-plus.styl +++ b/web/src/assets/css/chat-plus.styl @@ -135,6 +135,34 @@ $borderColor = #4676d0; background-color: var(--el-bg-color) color var(--el-text-color-primary) + .chat-config { + height 30px + padding 10px 30px + display flex + justify-content center + justify-items center + border-bottom 1px solid #d9d9e3 + + .role-select-label { + color #ffffff + } + + .el-select { + max-width 150px; + margin-right 10px; + } + + .role-select { + max-width 130px; + } + + .el-button { + .el-icon { + margin-right 5px; + } + } + } + #container { overflow: hidden; width: 100%; diff --git a/web/src/views/ChatPlus.vue b/web/src/views/ChatPlus.vue index e3b352c7..2ee12c8d 100644 --- a/web/src/views/ChatPlus.vue +++ b/web/src/views/ChatPlus.vue @@ -66,6 +66,41 @@
+
+ + +
+ + {{ item.name }} +
+
+
+ + + + {{ item.name }} + {{ + item.power + }}算力 + + + +
+
@@ -86,59 +121,6 @@
- - - - - - - - @@ -376,8 +358,8 @@ const getRoleById = function (rid) { } const resizeElement = function () { - chatBoxHeight.value = window.innerHeight - 50 - 82 - 38; - mainWinHeight.value = window.innerHeight - 50; + chatBoxHeight.value = window.innerHeight - 101 - 82 - 38; + mainWinHeight.value = window.innerHeight - 101; leftBoxHeight.value = window.innerHeight - 90 - 45 - 82; }; @@ -944,29 +926,4 @@ const insertURL = (url) => { } } } - -.chat-config { - display flex - flex-direction row - padding-top 10px; - - .role-select-label { - color #ffffff - } - - .el-select { - max-width 150px; - margin-right 10px; - } - - .role-select { - max-width 130px; - } - - .el-button { - .el-icon { - margin-right 5px; - } - } -} \ No newline at end of file