feat: 去掉导航栏、首页轮播全屏占屏1/3、场馆切换移至公告活动下方
- pages.json 全局设置 navigationStyle: custom 移除原生导航栏 - App.vue 全局 page 添加状态栏安全区 padding-top - 综合场馆/冰场馆首页轮播图改为全屏模式(无圆角无边距、去除标题) - 轮播图高度改为 33.33vh 占屏幕三分之一 - VenueSwitchHeader 从轮播图上方移至公告活动板块下方 - 合并 tabBar 页面路由、清理废弃组件 VenueTabBar
This commit is contained in:
+89
-10
@@ -17,24 +17,54 @@
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/comprehensive/home/index",
|
||||
"path": "pages/home/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "首页",
|
||||
"enablePullDownRefresh": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/private/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "订场"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/mall/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "商城",
|
||||
"enablePullDownRefresh": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/courses/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "约课",
|
||||
"enablePullDownRefresh": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/profile/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "我的"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/comprehensive/home/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "首页"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/comprehensive/courses/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "课程",
|
||||
"enablePullDownRefresh": true
|
||||
"navigationBarTitleText": "约课"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/comprehensive/bookings/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "我的预约",
|
||||
"enablePullDownRefresh": true
|
||||
"navigationBarTitleText": "我的预约"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -71,7 +101,7 @@
|
||||
{
|
||||
"path": "pages/comprehensive/private/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "包场预约"
|
||||
"navigationBarTitleText": "订场"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -175,15 +205,25 @@
|
||||
{
|
||||
"path": "pages/ice/home/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "首页",
|
||||
"enablePullDownRefresh": true
|
||||
"navigationBarTitleText": "首页"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/ice/private/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "订场"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/ice/mall/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "商城"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/ice/courses/index",
|
||||
"style": {
|
||||
"navigationBarTitleText": "近期课程",
|
||||
"enablePullDownRefresh": true
|
||||
"navigationBarTitleText": "近期课程"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -238,7 +278,46 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"tabBar": {
|
||||
"color": "#6D7C84",
|
||||
"selectedColor": "#0B8FB3",
|
||||
"backgroundColor": "#FFFFFF",
|
||||
"borderStyle": "white",
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/home/index",
|
||||
"text": "首页",
|
||||
"iconPath": "static/comprehensive/tab/home.png",
|
||||
"selectedIconPath": "static/comprehensive/tab/home-active.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/private/index",
|
||||
"text": "订场",
|
||||
"iconPath": "static/comprehensive/tab/private.png",
|
||||
"selectedIconPath": "static/comprehensive/tab/private-active.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/mall/index",
|
||||
"text": "商城",
|
||||
"iconPath": "static/comprehensive/tab/mall.png",
|
||||
"selectedIconPath": "static/comprehensive/tab/mall-active.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/courses/index",
|
||||
"text": "约课",
|
||||
"iconPath": "static/comprehensive/tab/course.png",
|
||||
"selectedIconPath": "static/comprehensive/tab/course-active.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/profile/index",
|
||||
"text": "我的",
|
||||
"iconPath": "static/comprehensive/tab/mine.png",
|
||||
"selectedIconPath": "static/comprehensive/tab/mine-active.png"
|
||||
}
|
||||
]
|
||||
},
|
||||
"globalStyle": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"backgroundColor": "#F8FAFC",
|
||||
|
||||
Reference in New Issue
Block a user