样式调整
This commit is contained in:
parent
cf63bf7ff2
commit
9f1e2ef988
@ -80,6 +80,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
const renderMenu = () => {
|
const renderMenu = () => {
|
||||||
return (
|
return (
|
||||||
|
<ElScrollbar>
|
||||||
<ElMenu
|
<ElMenu
|
||||||
defaultActive={unref(activeMenu)}
|
defaultActive={unref(activeMenu)}
|
||||||
mode={unref(menuMode)}
|
mode={unref(menuMode)}
|
||||||
@ -91,6 +92,7 @@ export default defineComponent({
|
|||||||
textColor="var(--left-menu-text-color)"
|
textColor="var(--left-menu-text-color)"
|
||||||
activeTextColor="var(--left-menu-text-active-color)"
|
activeTextColor="var(--left-menu-text-active-color)"
|
||||||
onSelect={menuSelect}
|
onSelect={menuSelect}
|
||||||
|
ellipsis={false}
|
||||||
>
|
>
|
||||||
{{
|
{{
|
||||||
default: () => {
|
default: () => {
|
||||||
@ -99,6 +101,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
</ElMenu>
|
</ElMenu>
|
||||||
|
</ElScrollbar>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ const getCaches = computed((): string[] => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div
|
<section
|
||||||
:class="[
|
:class="[
|
||||||
'w-[100%] bg-[var(--app-content-bg-color-new)] dark:bg-[var(--el-bg-color)] flex flex-col',
|
'w-[100%] bg-[var(--app-content-bg-color-new)] dark:bg-[var(--el-bg-color)] flex flex-col',
|
||||||
{
|
{
|
||||||
@ -48,6 +48,6 @@ const getCaches = computed((): string[] => {
|
|||||||
</KeepAlive>
|
</KeepAlive>
|
||||||
</template>
|
</template>
|
||||||
</RouterView>
|
</RouterView>
|
||||||
</div>
|
</section>
|
||||||
<Footer v-if="footer" />
|
<Footer v-if="footer" />
|
||||||
</template>
|
</template>
|
||||||
|
@ -11,4 +11,7 @@
|
|||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 解决element-plus 中的日期组件宽度无法设置100%的问题
|
||||||
|
.el-table__body tr.current-row>td.el-table__cell {
|
||||||
|
background-color: #a0cfff !important;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user