mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
[Doc] optimzie router & remove unused code (#640)
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
<h2 class="zanui-desc">{{ description }}</h2>
|
||||
<div class="mobile-navs">
|
||||
<div class="mobile-nav-item" v-for="(item, index) in navList" v-if="item.showInMobile" :key="index">
|
||||
<mobile-nav v-for="(group, index) in item.groups" :group="group" :base="base" :nav-key="index" :key="index" />
|
||||
<mobile-nav v-for="(group, index) in item.groups" :group="group" :base="$vantLang" :nav-key="index" :key="index" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -34,10 +34,6 @@ export default {
|
||||
},
|
||||
|
||||
computed: {
|
||||
base() {
|
||||
return `${this.$vantLang}/component`;
|
||||
},
|
||||
|
||||
navList() {
|
||||
return this.docConfig[this.$vantLang].nav || [];
|
||||
},
|
||||
@@ -64,8 +60,6 @@ export default {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 60px 15px 20px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
|
||||
.zanui-title,
|
||||
.zanui-desc {
|
||||
|
Reference in New Issue
Block a user