隐藏首页以及分类

parent f7ce6605
...@@ -10,22 +10,14 @@ declare module 'vue' { ...@@ -10,22 +10,14 @@ declare module 'vue' {
RouterLink: typeof import('vue-router')['RouterLink'] RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView'] RouterView: typeof import('vue-router')['RouterView']
VanButton: typeof import('vant/es')['Button'] VanButton: typeof import('vant/es')['Button']
VanCalendar: typeof import('vant/es')['Calendar']
VanCascader: typeof import('vant/es')['Cascader'] VanCascader: typeof import('vant/es')['Cascader']
VanEmpty: typeof import('vant/es')['Empty'] VanEmpty: typeof import('vant/es')['Empty']
VanField: typeof import('vant/es')['Field'] VanField: typeof import('vant/es')['Field']
VanForm: typeof import('vant/es')['Form'] VanForm: typeof import('vant/es')['Form']
VanIcon: typeof import('vant/es')['Icon'] VanIcon: typeof import('vant/es')['Icon']
VanList: typeof import('vant/es')['List'] VanList: typeof import('vant/es')['List']
VanNavBar: typeof import('vant/es')['NavBar']
VanNoticeBar: typeof import('vant/es')['NoticeBar']
VanPopup: typeof import('vant/es')['Popup'] VanPopup: typeof import('vant/es')['Popup']
VanProgress: typeof import('vant/es')['Progress']
VanPullRefresh: typeof import('vant/es')['PullRefresh'] VanPullRefresh: typeof import('vant/es')['PullRefresh']
VanStep: typeof import('vant/es')['Step']
VanSteps: typeof import('vant/es')['Steps']
VanSwipe: typeof import('vant/es')['Swipe']
VanSwipeItem: typeof import('vant/es')['SwipeItem']
VanTab: typeof import('vant/es')['Tab'] VanTab: typeof import('vant/es')['Tab']
VanTabs: typeof import('vant/es')['Tabs'] VanTabs: typeof import('vant/es')['Tabs']
VanTextEllipsis: typeof import('vant/es')['TextEllipsis'] VanTextEllipsis: typeof import('vant/es')['TextEllipsis']
......
...@@ -5,7 +5,18 @@ ...@@ -5,7 +5,18 @@
"^wd-(.*)": "wot-design-uni/components/wd-$1/wd-$1.vue" "^wd-(.*)": "wot-design-uni/components/wd-$1/wd-$1.vue"
} }
}, },
"pages": [ // pages 数组中第一项表示应用启动页 "pages": [
{
"path": "pages/mine/index",
"name": "mine",
"style": {
"navigationBarTitleText": "个人中心",
"navigationStyle": "custom"
},
"meta": {
"requireAuth": true
}
},
{ {
"path": "pages/home/indexNew", "path": "pages/home/indexNew",
"name": "home", "name": "home",
...@@ -30,17 +41,6 @@ ...@@ -30,17 +41,6 @@
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{
"path": "pages/mine/index",
"name": "mine",
"style": {
"navigationBarTitleText": "个人中心",
"navigationStyle": "custom"
},
"meta": {
"requireAuth": true
}
},
{ {
"path": "pages/home/content", "path": "pages/home/content",
"name": "home-content", "name": "home-content",
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
"style": { "style": {
"navigationBarTitleText": "图组列表" "navigationBarTitleText": "图组列表"
} }
}, }
], ],
"globalStyle": { "globalStyle": {
"navigationBarTextStyle": "black", "navigationBarTextStyle": "black",
...@@ -143,31 +143,31 @@ ...@@ -143,31 +143,31 @@
"background": "#efeff4" "background": "#efeff4"
}, },
"navigationStyle": "custom" "navigationStyle": "custom"
},
"tabBar": {
"color": "#707070",
"selectedColor": "#0E7CE3",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [
{
"pagePath": "pages/home/indexNew",
"iconPath": "static/image/home.png",
"selectedIconPath": "static/image/home-select.png",
"text": "首页"
},
{
"pagePath": "pages/classify/index",
"iconPath": "static/image/classify.png",
"selectedIconPath": "static/image/classify-select.png",
"text": "分类"
},
{
"pagePath": "pages/mine/index",
"iconPath": "static/image/mine.png",
"selectedIconPath": "static/image/mine-select.png",
"text": "我的"
}
]
} }
// "tabBar": {
// "color": "#707070",
// "selectedColor": "#0E7CE3",
// "borderStyle": "black",
// "backgroundColor": "#ffffff",
// "list": [
// {
// "pagePath": "pages/home/indexNew",
// "iconPath": "static/image/home.png",
// "selectedIconPath": "static/image/home-select.png",
// "text": "首页"
// },
// {
// "pagePath": "pages/classify/index",
// "iconPath": "static/image/classify.png",
// "selectedIconPath": "static/image/classify-select.png",
// "text": "分类"
// },
// {
// "pagePath": "pages/mine/index",
// "iconPath": "static/image/mine.png",
// "selectedIconPath": "static/image/mine-select.png",
// "text": "我的"
// }
// ]
// }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment