fix: 前端页面架构重构优化
This commit is contained in:
@@ -153,7 +153,6 @@ function toggleSidebar() {
|
||||
<div
|
||||
v-else
|
||||
class="header-content-collapsed flex items-center justify-center hover:cursor-pointer"
|
||||
@click="handleLogoClick"
|
||||
>
|
||||
<el-icon size="20">
|
||||
<ChatLineSquare />
|
||||
@@ -188,7 +187,7 @@ function toggleSidebar() {
|
||||
class="creat-chat-btn"
|
||||
:class="{
|
||||
'creat-chat-btn-collapsed': isCollapsed,
|
||||
'is-disabled': isNewChatState
|
||||
'is-disabled': isNewChatState,
|
||||
}"
|
||||
@click="!isNewChatState && handleCreatChat()"
|
||||
>
|
||||
@@ -306,7 +305,7 @@ function toggleSidebar() {
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
background-color: var(--sidebar-background-color, #f9fafb);
|
||||
//background-color: var(--sidebar-background-color, #f9fafb);
|
||||
|
||||
// 展开状态 - 240px
|
||||
&:not(.aside-collapsed) {
|
||||
|
||||
Reference in New Issue
Block a user