Compare commits

..

No commits in common. '7ca0344f781dabaaf82bcca098a580f67209fab1' and '2c482d279661ca0d188b0b068dfc8cfb0187f850' have entirely different histories.

  1. 11
      src/components/mock/api_block.vue
  2. 18
      src/layout/components/PageAside.vue
  3. 4
      src/layout/index.vue
  4. 16
      src/router/index.js
  5. 12
      src/views/mock/index.vue

@ -1,11 +0,0 @@
<script setup>
</script>
<template>
</template>
<style scoped>
</style>

@ -5,34 +5,22 @@ import {
Location, Location,
Setting, Setting,
} from '@element-plus/icons-vue' } from '@element-plus/icons-vue'
import {useRoute} from "vue-router";
const route = useRoute()
</script> </script>
<template> <template>
<el-row class="tac"> <el-row class="tac">
<el-col :span="25"> <el-col :span="15">
<h5 class="mb-2">鼎新工具集</h5> <h5 class="mb-2">鼎新工具集</h5>
<el-menu <el-menu
default-active="1" default-active="1"
router
class="el-menu-vertical-demo" class="el-menu-vertical-demo"
> >
<el-menu-item index="update"> <el-menu-item index="1">
<el-icon> <el-icon>
<icon-menu/> <icon-menu/>
</el-icon> </el-icon>
<span>影院列表</span> <span>影院列表</span>
</el-menu-item> </el-menu-item>
<el-menu-item index="mock">
<el-icon>
<icon-menu/>
</el-icon>
<span>专资接口模拟</span>
</el-menu-item>
</el-menu> </el-menu>
</el-col> </el-col>
</el-row> </el-row>
@ -41,4 +29,4 @@ const route = useRoute()
<style scoped> <style scoped>
</style> </style>

@ -16,7 +16,7 @@ import PageAside from "@/layout/components/PageAside.vue";
<PageHeader/> <PageHeader/>
</el-header> </el-header>
<el-main> <el-main>
<router-view/> <Index/>
</el-main> </el-main>
</el-container> </el-container>
</el-container> </el-container>
@ -31,4 +31,4 @@ el-container {
margin: 0; margin: 0;
height: 100%; height: 100%;
} }
</style> </style>

@ -3,24 +3,12 @@ import Layout from '@/layout/index.vue'
const routes = [ const routes = [
{ {
path: '/', path: '/update',
name: 'Home', name: 'Home',
component: Layout, component: Layout,
children: [
{
path: 'update',
name: 'Update',
component: () => import('@/views/update/index.vue')
},
{
path: 'mock',
name: 'Mock',
component: () => import('@/views/mock/index.vue')
}
]
} }
] ]
const router = createRouter({history: createWebHashHistory(), routes}) const router = createRouter({history: createWebHashHistory(), routes})
export default router export default router

@ -1,12 +0,0 @@
<script setup>
</script>
<template>
<el-divider content-position="left">接口</el-divider>
</template>
<style scoped>
</style>
Loading…
Cancel
Save