Commit 93961b73 by kyle

底部菜单栏

parent 76b09e8b
...@@ -455,9 +455,6 @@ ...@@ -455,9 +455,6 @@
"selectedColor": "#7A7E83", // tab 上的文字选中时的颜色 "selectedColor": "#7A7E83", // tab 上的文字选中时的颜色
"borderStyle": "black", // tabbar 上边框的颜色,可选值 black/white "borderStyle": "black", // tabbar 上边框的颜色,可选值 black/white
"backgroundColor": "#ffffff", // tab 的背景色 "backgroundColor": "#ffffff", // tab 的背景色
"fontSize":"28rpx",
"iconWidth":"60rpx",
"height":"120rpx",
"list": [{ // 最少2个、最多5 tab "list": [{ // 最少2个、最多5 tab
"pagePath": "pages/index/index", // 页面路径,必须在 pages 中先定义 "pagePath": "pages/index/index", // 页面路径,必须在 pages 中先定义
"iconPath": "static/tabbar/home.png", // 图片路径,icon 大小限制为40kb,建议尺寸为 81px * 81px "iconPath": "static/tabbar/home.png", // 图片路径,icon 大小限制为40kb,建议尺寸为 81px * 81px
......
...@@ -240,9 +240,15 @@ ...@@ -240,9 +240,15 @@
}); });
return false return false
} else if (featureItem.isOpen && featureItem.link) { } else if (featureItem.isOpen && featureItem.link) {
uni.navigateTo({ if(featureItem.key=='07'){
url: featureItem.link uni.switchTab({
}) url:featureItem.link
})
}else{
uni.navigateTo({
url: featureItem.link
})
}
} else { } else {
uni.showToast({ uni.showToast({
title: '此功能暂未开放,敬请期待。', title: '此功能暂未开放,敬请期待。',
......
...@@ -268,7 +268,7 @@ ...@@ -268,7 +268,7 @@
border-radius: 20rpx; border-radius: 20rpx;
color: #4a4a4a; color: #4a4a4a;
margin-bottom: 20rpx; margin-bottom: 20rpx;
font-size: 24rpx; font-size: 28rpx;
view{ view{
position: relative; position: relative;
margin-bottom: 20rpx; margin-bottom: 20rpx;
......
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