mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-09-20 18:26:37 +08:00
优化聊天配置对话框样式
This commit is contained in:
parent
02a1912bba
commit
5acd0290fa
@ -2,7 +2,9 @@
|
||||
<el-dialog
|
||||
v-model="$props.show"
|
||||
:close-on-click-modal="false"
|
||||
:show-close="false"
|
||||
:show-close="true"
|
||||
:before-close="close"
|
||||
:top="top"
|
||||
title="聊天配置"
|
||||
>
|
||||
<div class="user-info">
|
||||
@ -142,6 +144,15 @@ export default defineComponent({
|
||||
wechatCard: "https://img.r9it.com/chatgpt/wechat-card.jpeg"
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
top: function () {
|
||||
if (window.innerHeight < 1000) {
|
||||
return '1vh';
|
||||
} else {
|
||||
return '15vh';
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
// 获取用户信息
|
||||
const data = getLoginUser();
|
||||
|
Loading…
Reference in New Issue
Block a user