Commit 6603aed1 by YoMon

项目文件夹建立

parent 1e5b7e12
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<keep-alive> <keep-alive>
<div class="main_left" :style="{height: clientHeight + 'px'}"> <div class="main_left" :style="{height: clientHeight + 'px'}">
<el-menu <el-menu
:default-active="$route.path" :default-active="$route.path" :router="isRoute"
class="el-menu-vertical-demo" class="el-menu-vertical-demo"
@open="handleOpen" @open="handleOpen"
@close="handleClose" v-for="(item, index) in leftMenuList"> @close="handleClose" v-for="(item, index) in leftMenuList">
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<i class="el-icon-location"></i> <i class="el-icon-location"></i>
<span>{{item.name}}</span> <span>{{item.name}}</span>
</template> </template>
<el-menu-item :index="sub.name" v-for="(sub, subIndex) in item.pageList">{{sub.name}}</el-menu-item> <el-menu-item :index="sub.path" v-for="(sub, subIndex) in item.pageList">{{sub.name}}</el-menu-item>
</el-submenu> </el-submenu>
</el-menu> </el-menu>
</div> </div>
...@@ -57,7 +57,8 @@ export default { ...@@ -57,7 +57,8 @@ export default {
orderList: [], orderList: [],
financeList: [], financeList: [],
clientHeight: 0, clientHeight: 0,
leftMenuList: [] leftMenuList: [],
isRoute: true
} }
}, },
computed: { computed: {
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
"koa-send": "^5.0.0", "koa-send": "^5.0.0",
"nuxt": "latest", "nuxt": "latest",
"source-map-support": "^0.4.15", "source-map-support": "^0.4.15",
"vue-i18n": "^7.3.2",
"webpack-merge": "^4.1.4" "webpack-merge": "^4.1.4"
}, },
"devDependencies": { "devDependencies": {
......
<template>
<div>
message
</div>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
<template>
<div>
security
</div>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
<template>
<div>
finance-detail
</div>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<div>
platform
</div>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
<template>
<div>
purchase
</div>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<div>
supply
</div>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<section class="container"> <section class="container">
<img src="../assets/img/logo.png" alt="Nuxt.js Logo" class="logo" /> <img src="../assets/img/logo.png" alt="Nuxt.js Logo" class="logo" />
<h1 class="title"> <h1 class="title">
Universal Vue.js Application Framework {{$route.name}}
</h1> </h1>
</section> </section>
</template> </template>
......
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<section class="container">
<h1 class="title">
{{$route.name}}
</h1>
</section>
</template>
<style scoped>
.title
{
margin: 50px 0;
}
</style>
<template>
<div>
order-important
</div>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
<template>
<div>
order-unpaid
</div>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
<template>
<div>
order
</div>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment