mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-09-19 01:36:38 +08:00
refactor(ui): 调整
This commit is contained in:
parent
32368caf1b
commit
9d26a892d1
@ -18,14 +18,4 @@
|
|||||||
border-radius: 1px;
|
border-radius: 1px;
|
||||||
background: #fafafa;
|
background: #fafafa;
|
||||||
}
|
}
|
||||||
|
|
||||||
.public-bg {
|
|
||||||
display: flex;
|
|
||||||
width: 100vw;
|
|
||||||
height: 100vh;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
background: linear-gradient(133deg, #ffffff 0%, #dde8fe 100%);
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -49,11 +49,13 @@ const [visible, setVisible] = useState(false);
|
|||||||
</ADoption>
|
</ADoption>
|
||||||
</template>
|
</template>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<APopconfirm content="确认退出?" position="br" @ok="authStore.logout">
|
<APopconfirm content="确认退出?" position="bl" @ok="authStore.logout">
|
||||||
<ASpace align="center" class="logout-area">
|
<AButton status="warning" class="logout-area">
|
||||||
|
<ASpace align="center">
|
||||||
<IconExport size="16" />
|
<IconExport size="16" />
|
||||||
<span>退出</span>
|
<span>退出登录</span>
|
||||||
</ASpace>
|
</ASpace>
|
||||||
|
</AButton>
|
||||||
</APopconfirm>
|
</APopconfirm>
|
||||||
</template>
|
</template>
|
||||||
</ADropdown>
|
</ADropdown>
|
||||||
@ -125,7 +127,8 @@ const [visible, setVisible] = useState(false);
|
|||||||
.logout-area {
|
.logout-area {
|
||||||
padding: 8px 0;
|
padding: 8px 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 80px;
|
min-width: 80px;
|
||||||
|
width: 100%;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,7 @@ const menu = [
|
|||||||
component: () => import("@/views/User/UserContainer.vue"),
|
component: () => import("@/views/User/UserContainer.vue"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/Role",
|
path: "/role",
|
||||||
name: "Role",
|
name: "Role",
|
||||||
meta: {
|
meta: {
|
||||||
title: "角色管理",
|
title: "角色管理",
|
||||||
@ -43,7 +43,7 @@ const menu = [
|
|||||||
component: () => import("@/views/Role/RoleContainer.vue"),
|
component: () => import("@/views/Role/RoleContainer.vue"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/ChatModel",
|
path: "/chatModel",
|
||||||
name: "ChatModel",
|
name: "ChatModel",
|
||||||
meta: {
|
meta: {
|
||||||
title: "语言模型",
|
title: "语言模型",
|
||||||
@ -52,7 +52,7 @@ const menu = [
|
|||||||
component: () => import("@/views/ChatModel/ChatModelContainer.vue"),
|
component: () => import("@/views/ChatModel/ChatModelContainer.vue"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/Product",
|
path: "/product",
|
||||||
name: "Product",
|
name: "Product",
|
||||||
meta: {
|
meta: {
|
||||||
title: "充值产品",
|
title: "充值产品",
|
||||||
@ -61,7 +61,7 @@ const menu = [
|
|||||||
component: () => import("@/views/Product/ProductContainer.vue"),
|
component: () => import("@/views/Product/ProductContainer.vue"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/ApiKey",
|
path: "/apiKey",
|
||||||
name: "ApiKey",
|
name: "ApiKey",
|
||||||
meta: {
|
meta: {
|
||||||
title: "APIKEY",
|
title: "APIKEY",
|
||||||
|
@ -31,19 +31,5 @@ export default defineConfig(({ mode }) => {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
build: {
|
|
||||||
rollupOptions: {
|
|
||||||
output: {
|
|
||||||
manualChunks: (id) => {
|
|
||||||
if (id.includes("node_modules")) {
|
|
||||||
if (id.includes("echats")) return `echats`;
|
|
||||||
if (id.includes("arco")) return `arco`;
|
|
||||||
if (id.includes("vue") && !id.includes("arco")) return `vue`;
|
|
||||||
return `vendor`;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user