feat: 修改首页左侧功能栏

pull/1/head
lizijiee 1 year ago
parent dbc055d4ac
commit 93ac4e33ac

@ -36,7 +36,7 @@ function getSvgName(item: MenuMixedOption) {
class="icon-button" :class="{ 'icon-button--selected': isSelect(item) }" class="icon-button" :class="{ 'icon-button--selected': isSelect(item) }"
@click="handleClick(item)" @click="handleClick(item)"
> >
<SvgIcon :size="item.svgsize as number" :name="getSvgName(item)" /> <SvgIcon color="#666666" :size="item.svgsize as number" :name="getSvgName(item)" />
</button> </button>
</template> </template>
<span>{{ item.title }}</span> <span>{{ item.title }}</span>

@ -18,7 +18,7 @@ const routes: Array<RouteRecordRaw> = [
redirect: '/home', redirect: '/home',
component: Layout, component: Layout,
meta: { meta: {
title: 'AI查重', title: 'AI一键查重',
svgname: 'ai-main', svgname: 'ai-main',
svgsize: 60, svgsize: 60,
permissions: ['home_main'], permissions: ['home_main'],
@ -29,7 +29,7 @@ const routes: Array<RouteRecordRaw> = [
path: 'home', path: 'home',
name: `home_main`, name: `home_main`,
meta: { meta: {
title: 'AI查重', title: 'AI一键查重',
permissions: ['home_main'], permissions: ['home_main'],
affix: true, affix: true,
}, },

@ -30,6 +30,7 @@ const options = ref([])
const configStore = useDictionary() const configStore = useDictionary()
const labStyle = { const labStyle = {
fontWeight: 'bold', fontWeight: 'bold',
color: '#333333'
} }
onBeforeMount(async () => { onBeforeMount(async () => {

@ -35,4 +35,7 @@ function onChange(value: string[]) {
.wrapper { .wrapper {
padding: 10px; padding: 10px;
} }
::v-deep(.n-collapse-item-arrow){
color: #999999 !important;;
}
</style> </style>

@ -32,4 +32,7 @@ function onChange(value: string) {
.wrapper { .wrapper {
padding: 10px; padding: 10px;
} }
::v-deep(.n-collapse-item-arrow){
color: #999999 !important;;
}
</style> </style>

@ -39,4 +39,7 @@ function onChange(value: number & number[]) {
.wrapper { .wrapper {
padding: 10px; padding: 10px;
} }
::v-deep(.n-collapse-item-arrow){
color: #999999 !important;;
}
</style> </style>

@ -33,4 +33,7 @@ function onChange(value: [number, number]) {
.wrapper { .wrapper {
padding: 10px; padding: 10px;
} }
::v-deep(.n-collapse-item-arrow){
color: #999999 !important;;
}
</style> </style>

Loading…
Cancel
Save