1 |
- <view class="navbar-wrap" style="{{'height:'+(CustomBar+'px')+';'+('padding-top:'+(StatusBar+'px')+';')+('background:'+(navbarData.bgColor?navbarData.bgColor:'')+';')}}"><view class="{{['navbar-text',platformClass]}}" style="{{'color:'+(navbarData.textColor?navbarData.textColor:'')+';'+('line-height:'+(CustomBar-StatusBar+'px;')+';')+('font-size:'+(fontSizeSetting+'px;')+';')+('padding-left:'+(navbarData.textLeft?'':12+'px')+';')}}">{{''+(navbarData.title?navbarData.title:" ")+''}}</view><block wx:if="{{navbarData.showCapsule==1?true:false}}"><view class="navbar-icon" style="{{'top:'+(capsule.top+'px;')+';'+('left:'+(screenWidth-capsule.right+5+'px;')+';')+('height:'+(capsule.height+'px;')+';')+('line-height:'+(capsule.height+'px;')+';')}}"><block wx:if="{{navbarData.haveBack}}"><text data-event-opts="{{[['tap',[['BackPage',['$event']]]]]}}" class="iconfont icon-fanhui" bindtap="__e"></text></block><block wx:if="{{navbarData.haveHome}}"><text data-event-opts="{{[['tap',[['_goHome',['$event']]]]]}}" class="iconfont icon-fanhuishouye" bindtap="__e"></text></block></view></block><block wx:if="{{navbarData.showSearch==1?true:false}}"><view class="navbar-icon" style="{{'top:'+(capsule.top+'px;')+';'+('right:'+(capsule.width+'px;')+';')+('height:'+(capsule.height+'px;')+';')+('line-height:'+(capsule.height+'px;')+';')}}"><text data-event-opts="{{[['tap',[['_goSearchPath',['$event']]]]]}}" class="iconfont icon-sousuo" catchtap="__e"></text></view></block></view>
|