Commit 93961b73 by kyle

底部菜单栏

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