Merge branch 'main' of https://gitlab.guxuan.icu/Leo_Ding/GPU_Web
This commit is contained in:
commit
b41021e698
@ -57,8 +57,8 @@ header {
|
|||||||
|
|
||||||
.main-content {
|
.main-content {
|
||||||
/* padding-top: 30px; */
|
/* padding-top: 30px; */
|
||||||
overflow: hidden;
|
/* overflow: hidden; */
|
||||||
height: 100vh;
|
/* height: 100vh; */
|
||||||
}
|
}
|
||||||
|
|
||||||
.x-search-bar .ant-form-item {
|
.x-search-bar .ant-form-item {
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
<!-- 左侧导航 -->
|
<!-- 左侧导航 -->
|
||||||
<nav class="nav-left">
|
<nav class="nav-left">
|
||||||
<a href="/" class="nav-item">首页</a>
|
<a href="/" class="nav-item">首页</a>
|
||||||
<a href="/compute" class="nav-item">算力中心</a>
|
<a href="/layout/market" class="nav-item">算力中心</a>
|
||||||
<a href="/cloud-server" class="nav-item">云主机</a>
|
<a href="/cloud-server" class="nav-item">云主机</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|||||||
@ -38,6 +38,7 @@ import Sidebar from './sidebar.vue'
|
|||||||
.main-content {
|
.main-content {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
min-height: 100vh;
|
||||||
background: #f5f5f5;
|
background: #f5f5f5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -87,6 +87,16 @@ const routes: RouteRecordRaw[] = [
|
|||||||
name: "LayoutHome",
|
name: "LayoutHome",
|
||||||
component: () => import("@/views/home/index.vue"),
|
component: () => import("@/views/home/index.vue"),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: "market",
|
||||||
|
name: "LayoutMarket",
|
||||||
|
component: () => import("@/views/market/index.vue"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "create",
|
||||||
|
name: "Create",
|
||||||
|
component: () => import("@/views/instanceCreate/index.vue"),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: "admin",
|
path: "admin",
|
||||||
name: "Admin",
|
name: "Admin",
|
||||||
|
|||||||
1250
src/views/instanceCreate/index.vue
Normal file
1250
src/views/instanceCreate/index.vue
Normal file
File diff suppressed because it is too large
Load Diff
@ -81,7 +81,7 @@ watch(() => route.path, () => {
|
|||||||
// 菜单数据(key 使用子路径,如 '/admin')
|
// 菜单数据(key 使用子路径,如 '/admin')
|
||||||
const leftRoutes = ref([
|
const leftRoutes = ref([
|
||||||
{ key: '/home', label: '首页' },
|
{ key: '/home', label: '首页' },
|
||||||
{ key: '/center', label: '算力中心' },
|
{ key: '/market', label: '算力中心' },
|
||||||
{ key: '/yunmain', label: '云主机' }
|
{ key: '/yunmain', label: '云主机' }
|
||||||
])
|
])
|
||||||
const rightRoutes = ref([
|
const rightRoutes = ref([
|
||||||
@ -157,7 +157,7 @@ const logout = () => {
|
|||||||
|
|
||||||
.gx_layout_content {
|
.gx_layout_content {
|
||||||
margin-top: 60px;
|
margin-top: 60px;
|
||||||
height: calc(100% - 60px);
|
min-height: calc(100% - 60px);
|
||||||
background-color: rgba(240, 240, 240, 1);
|
background-color: rgba(240, 240, 240, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
1555
src/views/market/index.vue
Normal file
1555
src/views/market/index.vue
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user