默认提交
Showing
4 changed files
with
6 additions
and
7 deletions
| ... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ | 
| 4 | <van-tabbar route v-model="active" @change="onTabbarChange()"> | 4 | <van-tabbar route v-model="active" @change="onTabbarChange()"> | 
| 5 | <van-tabbar-item to="/" icon="wap-home-o">首页</van-tabbar-item> | 5 | <van-tabbar-item to="/" icon="wap-home-o">首页</van-tabbar-item> | 
| 6 | <van-tabbar-item icon="cluster-o">分类</van-tabbar-item> | 6 | <van-tabbar-item icon="cluster-o">分类</van-tabbar-item> | 
| 7 | <van-tabbar-item icon="balance-list-o">订单</van-tabbar-item> | 7 | <!-- <van-tabbar-item icon="balance-list-o">订单</van-tabbar-item> --> | 
| 8 | <van-tabbar-item to="/favorite" icon="manager-o">我的</van-tabbar-item> | 8 | <van-tabbar-item to="/favorite" icon="manager-o">我的</van-tabbar-item> | 
| 9 | </van-tabbar> | 9 | </van-tabbar> | 
| 10 | </div> | 10 | </div> | 
| ... | @@ -23,7 +23,7 @@ export default { | ... | @@ -23,7 +23,7 @@ export default { | 
| 23 | }, | 23 | }, | 
| 24 | methods: { | 24 | methods: { | 
| 25 | onTabbarChange() { | 25 | onTabbarChange() { | 
| 26 | if (this.active != 0 && this.active != 3) { | 26 | if (this.active != 0 && this.active != 2) { | 
| 27 | Toast("该场景暂未开放,敬请期待"); | 27 | Toast("该场景暂未开放,敬请期待"); | 
| 28 | } | 28 | } | 
| 29 | } | 29 | } | ... | ... | 
| ... | @@ -32,7 +32,7 @@ | ... | @@ -32,7 +32,7 @@ | 
| 32 | &-item { | 32 | &-item { | 
| 33 | @extend .fcc; | 33 | @extend .fcc; | 
| 34 | @extend .bb; | 34 | @extend .bb; | 
| 35 | padding: 0 14px; | 35 | padding: 0 20px; | 
| 36 | text-align: center; | 36 | text-align: center; | 
| 37 | margin: 0 22px; | 37 | margin: 0 22px; | 
| 38 | color: #ffffff; | 38 | color: #ffffff; | ... | ... | 
| ... | @@ -9,7 +9,7 @@ const routes = [{ | ... | @@ -9,7 +9,7 @@ const routes = [{ | 
| 9 | name: 'index', | 9 | name: 'index', | 
| 10 | component: Index, | 10 | component: Index, | 
| 11 | meta: { | 11 | meta: { | 
| 12 | title: '首页' | 12 | title: '' | 
| 13 | } | 13 | } | 
| 14 | }, | 14 | }, | 
| 15 | { | 15 | { | 
| ... | @@ -41,7 +41,7 @@ const routes = [{ | ... | @@ -41,7 +41,7 @@ const routes = [{ | 
| 41 | name: 'demo', | 41 | name: 'demo', | 
| 42 | component: () => import('./pages/demo/demo.vue'), | 42 | component: () => import('./pages/demo/demo.vue'), | 
| 43 | meta: { | 43 | meta: { | 
| 44 | title: '模板' | 44 | title: '' | 
| 45 | } | 45 | } | 
| 46 | }, | 46 | }, | 
| 47 | { | 47 | { | 
| ... | @@ -49,7 +49,7 @@ const routes = [{ | ... | @@ -49,7 +49,7 @@ const routes = [{ | 
| 49 | name: 'about', | 49 | name: 'about', | 
| 50 | component: () => import('./pages/About.vue'), | 50 | component: () => import('./pages/About.vue'), | 
| 51 | meta: { | 51 | meta: { | 
| 52 | title: '关于' | 52 | title: '' | 
| 53 | } | 53 | } | 
| 54 | } | 54 | } | 
| 55 | ] | 55 | ] | ... | ... | 
- 
Please register or sign in to post a comment