tabbar 优化

This commit is contained in:
jia 2023-09-05 16:33:37 +08:00
parent 280e76e9b9
commit d5a6c020b4
2 changed files with 15 additions and 1 deletions

View File

@ -1527,7 +1527,20 @@
"selectedIconPath": "static/tabbar_icon/e-a.png", "selectedIconPath": "static/tabbar_icon/e-a.png",
"text": "我的" "text": "我的"
} }
] ],
"midButton": {
"width": "138rpx",
"height": "126rpx",
"iconWidth": "78rpx",
"pagePath": "pages/plant_release/index",
"iconPath": "static/tabbar_icon/d.png",
// "selectedIconPath": "static/tabbar_icon/d-a.png",
"text": "发布"
}
}, },
"condition": { // "condition": { //
"current": 0, //(list ) "current": 0, //(list )

View File

@ -17,6 +17,7 @@
<!-- <view v-if="!isUser" class="header" :style="{backgroundColor:currentNav==1?'':'#ffffff'}"> <!-- <view v-if="!isUser" class="header" :style="{backgroundColor:currentNav==1?'':'#ffffff'}">
<view class="header">
<view class="tool-bar"> <view class="tool-bar">
<view class='iconfont icon-xiangzuo' @tap='goBack'></view> <view class='iconfont icon-xiangzuo' @tap='goBack'></view>
</view> </view>