Commit d7ed5cba by gyy

Merge branch 'trunk' into Gyy

# Conflicts:
#	layouts/default.vue
parents dc23d074 6603aed1
...@@ -13,12 +13,12 @@ ...@@ -13,12 +13,12 @@
<div class="y_default_start"> <div class="y_default_start">
<keep-alive> <keep-alive>
<div class="main_left" :style="{height: clientHeight + 'px'}"> <div class="main_left" :style="{height: clientHeight + 'px'}">
<el-menu router <el-menu
:default-active="item.name" :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">
<el-submenu :index="item.name" :default-openeds="[]"> <el-submenu :index="item.name">
<template slot="title"> <template slot="title">
<i class="el-icon-location"></i> <i class="el-icon-location"></i>
<span>{{item.name}}</span> <span>{{item.name}}</span>
...@@ -71,7 +71,8 @@ export default { ...@@ -71,7 +71,8 @@ export default {
visible: false, visible: false,
left: 0, left: 0,
selectedTag: {}, selectedTag: {},
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