Compare commits
2 Commits
97ff6dad94
...
9123555341
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9123555341 | ||
|
|
1b01d5649c |
@ -57,8 +57,8 @@ header {
|
||||
|
||||
.main-content {
|
||||
/* padding-top: 30px; */
|
||||
overflow: hidden;
|
||||
height: 100vh;
|
||||
/* overflow: hidden; */
|
||||
/* height: 100vh; */
|
||||
}
|
||||
|
||||
.x-search-bar .ant-form-item {
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
<!-- 左侧导航 -->
|
||||
<nav class="nav-left">
|
||||
<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>
|
||||
</nav>
|
||||
|
||||
|
||||
@ -38,6 +38,7 @@ import Sidebar from './sidebar.vue'
|
||||
.main-content {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
min-height: 100vh;
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
|
||||
@ -82,6 +82,16 @@ const routes: RouteRecordRaw[] = [
|
||||
name: "LayoutHome",
|
||||
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",
|
||||
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')
|
||||
const leftRoutes = ref([
|
||||
{ key: '/home', label: '首页' },
|
||||
{ key: '/center', label: '算力中心' },
|
||||
{ key: '/market', label: '算力中心' },
|
||||
{ key: '/yunmain', label: '云主机' }
|
||||
])
|
||||
const rightRoutes = ref([
|
||||
@ -157,7 +157,7 @@ const logout = () => {
|
||||
|
||||
.gx_layout_content {
|
||||
margin-top: 60px;
|
||||
height: calc(100% - 60px);
|
||||
min-height: calc(100% - 60px);
|
||||
background-color: rgba(240, 240, 240, 1);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user