u-navbar.wxml
1.4 KB
<view class="data-v-1194bf80"><view class="{{['u-navbar','data-v-1194bf80',(isFixed)?'u-navbar-fixed':'',(borderBottom)?'u-border-bottom':'']}}" style="{{$root.s0}}"><view class="u-status-bar data-v-1194bf80" style="{{'height:'+(statusBarHeight+'px')+';'}}"></view><view class="u-navbar-inner data-v-1194bf80" style="{{$root.s1}}"><block wx:if="{{isBack}}"><view data-event-opts="{{[['tap',[['goBack',['$event']]]]]}}" class="u-back-wrap data-v-1194bf80" bindtap="__e"><view class="u-icon-wrap data-v-1194bf80"><u-icon vue-id="21022e74-1" name="{{backIconName}}" color="{{backIconColor}}" size="{{backIconSize}}" class="data-v-1194bf80" bind:__l="__l"></u-icon></view><block wx:if="{{backText}}"><view class="u-icon-wrap u-back-text u-line-1 data-v-1194bf80" style="{{$root.s2}}">{{backText}}</view></block></view></block><block wx:if="{{title}}"><view class="u-navbar-content-title data-v-1194bf80" style="{{$root.s3}}"><view class="u-title u-line-1 data-v-1194bf80" style="{{'color:'+(titleColor)+';'+('font-size:'+(titleSize+'rpx')+';')+('font-weight:'+(titleBold?'bold':'normal')+';')}}">{{''+title+''}}</view></view></block><view class="u-slot-content data-v-1194bf80"><slot></slot></view><view class="u-slot-right data-v-1194bf80"><slot name="right"></slot></view></view></view><block wx:if="{{isFixed&&!immersive}}"><view class="u-navbar-placeholder data-v-1194bf80" style="{{'width:'+('100%')+';'+('height:'+($root.m0+statusBarHeight+'px')+';')}}"></view></block></view>