|
@@ -6,7 +6,7 @@
|
|
|
</keep-alive>
|
|
|
<router-view v-else></router-view>
|
|
|
</div>
|
|
|
- <div class="layout-footer" v-if="false">
|
|
|
+ <div class="layout-footer" v-if="true">
|
|
|
<TabBar :data="tabbars" @change="handleChange" />
|
|
|
</div>
|
|
|
</div>
|
|
@@ -14,6 +14,7 @@
|
|
|
|
|
|
<script>
|
|
|
import TabBar from '@/components/TabBar'
|
|
|
+
|
|
|
export default {
|
|
|
name: 'AppLayout',
|
|
|
data() {
|
|
@@ -25,14 +26,15 @@ export default {
|
|
|
path: '/home'
|
|
|
},
|
|
|
icon: 'home-o'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '评测中心',
|
|
|
+ to: {
|
|
|
+ path: '/test'
|
|
|
+ },
|
|
|
+ activeIcon: require('../../assets/images/course/audio.png'),
|
|
|
+ normalIcon: require('../../assets/images/course/comment.png')
|
|
|
}
|
|
|
- // {
|
|
|
- // title: '关于我',
|
|
|
- // to: {
|
|
|
- // path: 'About'
|
|
|
- // },
|
|
|
- // icon: 'user-o'
|
|
|
- // }
|
|
|
]
|
|
|
}
|
|
|
},
|