Compare commits

..

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

  1. 11
      src/components/mock/api_block.vue
  2. 16
      src/layout/components/PageAside.vue
  3. 2
      src/layout/index.vue
  4. 14
      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,
Setting,
} from '@element-plus/icons-vue'
import {useRoute} from "vue-router";
const route = useRoute()
</script>
<template>
<el-row class="tac">
<el-col :span="25">
<el-col :span="15">
<h5 class="mb-2">鼎新工具集</h5>
<el-menu
default-active="1"
router
class="el-menu-vertical-demo"
>
<el-menu-item index="update">
<el-menu-item index="1">
<el-icon>
<icon-menu/>
</el-icon>
<span>影院列表</span>
</el-menu-item>
<el-menu-item index="mock">
<el-icon>
<icon-menu/>
</el-icon>
<span>专资接口模拟</span>
</el-menu-item>
</el-menu>
</el-col>
</el-row>

@ -16,7 +16,7 @@ import PageAside from "@/layout/components/PageAside.vue";
<PageHeader/>
</el-header>
<el-main>
<router-view/>
<Index/>
</el-main>
</el-container>
</el-container>

@ -3,21 +3,9 @@ import Layout from '@/layout/index.vue'
const routes = [
{
path: '/',
path: '/update',
name: 'Home',
component: Layout,
children: [
{
path: 'update',
name: 'Update',
component: () => import('@/views/update/index.vue')
},
{
path: 'mock',
name: 'Mock',
component: () => import('@/views/mock/index.vue')
}
]
}
]

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