wszhyWx/unpackage/dist/dev/mp-weixin/node-modules/uview-ui/components/u-navbar/u-navbar.wxml

1 line
1.4 KiB
Plaintext
Raw Normal View History

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