feat: add Multi-level menu

This commit is contained in:
xiaoxian521
2021-05-21 12:55:23 +08:00
parent cd872bea83
commit 010ba1a9e1
21 changed files with 501 additions and 326 deletions

View File

@@ -0,0 +1,12 @@
<template>
<div class="app-container">
<p>{{$t('message.hsmenu1')}}</p>
<router-view v-slot="{ Component }">
<transition>
<component :is="Component" />
</transition>
</router-view>
</div>
</template>

View File

@@ -0,0 +1,3 @@
<template>
<p style="text-indent:2em">{{$t('message.hsmenu1-1')}}</p>
</template>

View File

@@ -0,0 +1,10 @@
<template>
<div>
<p style="text-indent:2em">{{$t('message.hsmenu1-2')}}</p>
<router-view v-slot="{ Component }">
<keep-alive>
<component :is="Component" />
</keep-alive>
</router-view>
</div>
</template>

View File

@@ -0,0 +1,3 @@
<template>
<p style="text-indent:4em">{{$t('message.hsmenu1-2-1')}}</p>
</template>

View File

@@ -0,0 +1,3 @@
<template>
<p style="text-indent:4em">{{$t('message.hsmenu1-2-2')}}</p>
</template>

View File

@@ -0,0 +1,3 @@
<template>
<p style="text-indent:2em">{{$t('message.hsmenu1-3')}}</p>
</template>

View File

@@ -0,0 +1,3 @@
<template>
<p class="app-container">{{$t('message.hsmenu2')}}</p>
</template>