@@ -100,6 +100,24 @@ const routes = [
isUseCache: false,
keepAlive: true
}
+ },
+ {
+ path: '/order', // 下单记录
+ name: 'Order',
+ component: _import('views/order/index'),
+ meta: {
+ isUseCache: false,
+ keepAlive: true
+ }
+ path: '/fans', // 粉丝
+ name: 'Fans',
+ component: _import('views/fans/index'),
]
@@ -0,0 +1,13 @@
+<template>
+ <div>粉丝</div>
+</template>
+
+<script>
+export default {
+ name: 'index'
+}
+</script>
+<style lang="scss" scoped>
+</style>
@@ -6,7 +6,7 @@
</div>
<ul>
- <li>
+ <li @click="$router.push({name: 'Order'})">
<p class="left">
<i class="label icon-order"></i>
<span class="label">下单记录</span>
@@ -25,7 +25,7 @@
<i class="arrow"></i>
</p>
</li>
+ <li @click="$router.push({name: 'Fans'})">
<i class="label icon-wallet"></i>
<span class="label">粉丝</span>