update UI
This commit is contained in:
parent
3ab20611a2
commit
9bdae3e164
@ -39,7 +39,9 @@
|
|||||||
</a-menu>
|
</a-menu>
|
||||||
</template>
|
</template>
|
||||||
</a-dropdown>
|
</a-dropdown>
|
||||||
<div class="nav-btn text" @click="state.showPanel = !state.showPanel"><SettingOutlined /></div>
|
<div class="nav-btn text" @click="state.showPanel = !state.showPanel">
|
||||||
|
<component :is="state.showPanel ? SettingFilled : SettingOutlined" />
|
||||||
|
</div>
|
||||||
<div v-if="state.showPanel" class="my-panal" ref="panel">
|
<div v-if="state.showPanel" class="my-panal" ref="panel">
|
||||||
<div class="graphbase flex-center">
|
<div class="graphbase flex-center">
|
||||||
知识库
|
知识库
|
||||||
@ -133,6 +135,7 @@ import {
|
|||||||
CompassFilled,
|
CompassFilled,
|
||||||
GoldenFilled,
|
GoldenFilled,
|
||||||
SettingOutlined,
|
SettingOutlined,
|
||||||
|
SettingFilled,
|
||||||
} from '@ant-design/icons-vue'
|
} from '@ant-design/icons-vue'
|
||||||
import { marked } from 'marked';
|
import { marked } from 'marked';
|
||||||
|
|
||||||
|
|||||||
@ -145,6 +145,7 @@ onMounted(() => {
|
|||||||
border-right: 1px solid #EDF4F5;
|
border-right: 1px solid #EDF4F5;
|
||||||
min-width: var(--min-sider-width);
|
min-width: var(--min-sider-width);
|
||||||
max-width: 200px;
|
max-width: 200px;
|
||||||
|
background-color: #FAFCFD;
|
||||||
|
|
||||||
& .actions {
|
& .actions {
|
||||||
height: var(--header-height);
|
height: var(--header-height);
|
||||||
@ -152,10 +153,10 @@ onMounted(() => {
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
margin-bottom: 16px;
|
// margin-bottom: 16px;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
top: 0;
|
top: 0;
|
||||||
background-color: white;
|
background-color: #FAFCFD;
|
||||||
z-index: 9;
|
z-index: 9;
|
||||||
|
|
||||||
.action {
|
.action {
|
||||||
@ -180,7 +181,7 @@ onMounted(() => {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 16px;
|
padding: 12px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user