tm-menubars.wxml 2.3 KB

1
  1. <view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="tm-menubars fulled data-v-2a0d9096" catchtap="__e"><block wx:if="{{!transparent}}"><view style="{{'height:'+(tabHeight)+';'}}" class="data-v-2a0d9096"></view></block><block wx:if="{{!transparent}}"><view style="{{'height:'+('45px')+';'}}" class="data-v-2a0d9096"></view></block><view class="{{['body','','fulled','data-v-2a0d9096',black_tmeme?'bk grey-darken-5 ':'','shadow-'+color_tmeme+('-'+shadow+' '),transparent?isTransparent?'transparent flat '+('text-'+fontColorTheme):color_tmeme:color_tmeme,flat?'flat':'']}}"><view style="{{'height:'+(tabHeight)+';'}}" class="data-v-2a0d9096"></view><view class="body_wk flex-between data-v-2a0d9096"><view class="left flex-start data-v-2a0d9096"><block wx:if="{{showback}}"><block class="data-v-2a0d9096"><block wx:if="{{pageUrl&&isHome==false}}"><view class="{{['home-btn','mr-20','text','flex-center','flex-shrink','data-v-2a0d9096',color_tmeme,black_tmeme?'outlined bk':'']}}"><navigator class="flex-center data-v-2a0d9096" url="{{pageUrl}}" open-type="reLaunch"><text class="iconfont icon-home data-v-2a0d9096" style="{{'font-size:'+('32rpx')+';'}}"></text></navigator></view></block><block wx:if="{{!pageUrl}}"><navigator class="flex-center px-24 flex-shrink fulled-height data-v-2a0d9096" open-type="navigateBack"><text class="{{['iconfont','icon-angle-left','data-v-2a0d9096','text-'+fontColorTheme]}}" style="{{'color:white !important;'+('font-size:'+('28rpx')+';')}}">返回</text></navigator></block></block></block><slot name="left"></slot><scoped-slots-left data="{{({style:widths,isTransparent:isTransparent,title:title})}}" class="scoped-ref" bind:__l="__l"></scoped-slots-left></view><view class="{{['center','flex-center','text-size-g','text-overflow','text-align-center','data-v-2a0d9096','text-'+fontColorTheme]}}" style="color:white !important;"><block wx:if="{{$slots.default}}"><slot></slot><scoped-slots-default data="{{({style:widths,isTransparent:isTransparent,title:title})}}" class="scoped-ref" bind:__l="__l"></scoped-slots-default></block><block wx:else>{{''+title+''}}</block></view><view class="right flex-end data-v-2a0d9096" style="{{'width:'+(widths.btns)+';'}}"><slot name="right"></slot><scoped-slots-right data="{{({style:widths,isTransparent:isTransparent,title:title})}}" class="scoped-ref" bind:__l="__l"></scoped-slots-right></view></view></view></view>