canyin-project/yb_wm/unpackage/dist/dev/mp-weixin/components/third/uni-nav-bar.wxml
2024-11-01 16:07:54 +08:00

1 line
3.2 KiB
Plaintext

<view class="uni-navbar data-v-db23e38e"><view class="{{['uni-navbar__content','data-v-db23e38e',(fixed)?'uni-navbar--fixed':'',(border)?'uni-navbar--shadow':'',(border)?'uni-navbar--border':'']}}" style="{{'background:'+(bg||'rgba(255,255,255,'+uropcity+')')+';'}}"><block wx:if="{{statusBar}}"><uni-status-bar vue-id="89578c26-1" class="data-v-db23e38e" bind:__l="__l"></uni-status-bar></block><block wx:if="{{urbd}}"><view class="uni-navbar__header uncv data-v-db23e38e" style="{{'color:'+(color)+';'}}"><view class="header-l f-g-0 p02 f-y-c data-v-db23e38e"><block wx:if="{{isleft}}"><view class="urlc f-row data-v-db23e38e" style="{{'background:'+('rgba(0, 0, 0,'+uriconopcity+')')+';'}}"><view data-event-opts="{{[['tap',[['back',['$event']]]]]}}" class="f-1 posi-r f-c data-v-db23e38e" bindtap="__e"><text class="{{['iconfont','data-v-db23e38e',leftcn]}}" style="{{'color:'+(uropcity>=1?color:'#fff')+';'+('font-size:'+(size+'rpx')+';')}}"></text></view><view class="urlcsx data-v-db23e38e"></view><view data-event-opts="{{[['tap',[['more',['$event']]]]]}}" class="f-1 posi-r f-c data-v-db23e38e" bindtap="__e"><text class="{{['iconfont','data-v-db23e38e',rightcn]}}" style="{{'color:'+(uropcity>=1?color:'#fff')+';'+('font-size:'+(size+'rpx')+';')}}"></text></view></view></block><slot name="left"></slot></view><block wx:if="{{$root.g0}}"><view class="{{['f-g-1','t-c','wei','f30','uncv','data-v-db23e38e',[(isleft)?'uni-navbar__header-container':'']]}}" style="{{'color:'+(uropcity>=1?'':'#fff')+';'+('opacity:'+(isleft?uropcity:'')+';')}}">{{title}}</view></block><block wx:else><view class="uni-navbar__header-container f-c data-v-db23e38e"><slot></slot></view></block><view data-event-opts="{{[['tap',[['onClickRight',['$event']]]]]}}" class="uni-navbar__header-btns uncv data-v-db23e38e" bindtap="__e"><block wx:if="{{$root.g1}}"><view class="uncv data-v-db23e38e"><text class="{{['iconfont','data-v-db23e38e',rightIcon]}}" style="{{'color:'+(color)+';'+('font-size:'+(size+'rpx')+';')}}"></text></view></block><block wx:if="{{$root.g2}}"><view class="uni-navbar-btn-text uncv data-v-db23e38e">{{rightText}}</view></block><slot name="right"></slot></view></view></block><block wx:else><slot></slot></block></view><block wx:if="{{fixed&&ispr}}"><view class="uni-navbar__placeholder data-v-db23e38e"><block wx:if="{{statusBar}}"><uni-status-bar vue-id="89578c26-2" class="data-v-db23e38e" bind:__l="__l"></uni-status-bar></block><view class="uni-navbar__placeholder-view data-v-db23e38e"></view></view></block><mg-popup bind:input="__e" vue-id="89578c26-3" position="top" z-index="10000" value="{{showMore}}" data-event-opts="{{[['^input',[['__set_model',['','showMore','$event',[]]]]]]}}" class="data-v-db23e38e" bind:__l="__l" vue-slots="{{['default']}}"><view class="bf p3 data-v-db23e38e" style="padding-top:44px;"><view class="mb20 data-v-db23e38e">功能直达</view><view class="f-raw data-v-db23e38e"><block wx:for="{{gnarr}}" wx:for-item="v" wx:for-index="i" wx:key="i"><view data-event-opts="{{[['tap',[['gogn',[i]]]]]}}" class="urgnc f-c-c data-v-db23e38e" bindtap="__e"><text class="{{['iconfont','cf','f46','data-v-db23e38e','icon'+v.icon]}}"></text><text class="mt10 cf f26 data-v-db23e38e">{{v.name}}</text></view></block></view></view></mg-popup></view>