Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
icarusion committed Jun 4, 2018
1 parent 77ac77b commit 9b892ac
Show file tree
Hide file tree
Showing 103 changed files with 96 additions and 32,577 deletions.
11 changes: 0 additions & 11 deletions src/components/navigate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,13 @@
<div class="navigate-group">组件</div>
<Menu-group v-for="item in navigate.components" :key="item.type" :title="item.type">
<Menu-item v-for="component in item.list" :key="component.path" :name="component.path">
<i class="ivu-icon" :class="'ivu-icon-' + component.icon"></i>
<template>
{{ component.title.split(' ')[0] }}
<span class="navigate-group-span">{{ component.title.split(' ')[1] }}</span>
</template>
</Menu-item>
</Menu-group>
</Menu>
<Menu width="auto" :active-name="activeKey" @on-select="handleSelect" v-if="type === 'practice'">
<Menu-item v-for="item in navigate.practice" :key="item.path" :name="item.path">
{{ item.title }}
</Menu-item>
</Menu>
<Menu width="auto" :active-name="activeKey" @on-select="handleSelect" v-if="type === 'live'">
<Menu-item v-for="item in navigate.live" :key="item.path" :name="item.path">
{{ item.title }}
</Menu-item>
</Menu>
</div>
</template>
<script>
Expand Down
Loading

0 comments on commit 9b892ac

Please sign in to comment.