This commit is contained in:
Leo_Ding 2025-12-02 14:17:54 +08:00
commit b41021e698
7 changed files with 2821 additions and 5 deletions

View File

@ -57,8 +57,8 @@ header {
.main-content {
/* padding-top: 30px; */
overflow: hidden;
height: 100vh;
/* overflow: hidden; */
/* height: 100vh; */
}
.x-search-bar .ant-form-item {

View File

@ -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>

View File

@ -38,6 +38,7 @@ import Sidebar from './sidebar.vue'
.main-content {
flex: 1;
min-width: 0;
min-height: 100vh;
background: #f5f5f5;
}

View File

@ -87,6 +87,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",

File diff suppressed because it is too large Load Diff

View File

@ -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);
}
}

1555
src/views/market/index.vue Normal file

File diff suppressed because it is too large Load Diff