title.wxml 1.7 KB

1
  1. <widget-root vue-id="7c610ab0-1" styles="{{styles}}" class="data-v-432f0cb4" bind:__l="__l" vue-slots="{{['default']}}"><view class="title data-v-432f0cb4" style="{{'background-color:'+(styles.bg_color)+';'+('border-radius:'+($root.m0+'rpx '+$root.m1+'rpx '+$root.m2+'rpx '+$root.m3+'rpx')+';')}}"><block wx:if="{{content.style==1}}"><view class="title-style1 flex-col col-center data-v-432f0cb4"><view class="title-content data-v-432f0cb4" style="{{'color:'+(styles.title_color)+';'+('font-size:'+($root.m4+'rpx')+';')}}">{{''+content.title+''}}</view><block wx:if="{{!content.hidden_subtitle}}"><view class="title-subtitle data-v-432f0cb4" style="{{'color:'+(styles.subtitle_color)+';'+('font-size:'+($root.m5+'rpx')+';')}}">{{''+content.subtitle+''}}</view></block></view></block><block wx:if="{{content.style==2}}"><view class="title-style2 flex data-v-432f0cb4"><view class="title-content m-r-10 data-v-432f0cb4" style="{{'color:'+(styles.title_color)+';'+('font-size:'+($root.m6+'rpx')+';')}}">{{''+content.title+''}}</view><view class="flex-1 data-v-432f0cb4"><block wx:if="{{!content.hidden_subtitle}}"><view class="title-subtitle line-1 data-v-432f0cb4" style="{{'color:'+(styles.subtitle_color)+';'+('font-size:'+($root.m7+'rpx')+';')}}">{{''+content.subtitle+''}}</view></block></view><block wx:if="{{content.show_more}}"><view data-event-opts="{{[['tap',[['navigate',['$event']]]]]}}" class="title-more data-v-432f0cb4" style="{{'color:'+(styles.subtitle_color)+';'}}" bindtap="__e">{{''+content.more_title+''}}<u-icon vue-id="{{('7c610ab0-2')+','+('7c610ab0-1')}}" name="arrow-right" class="data-v-432f0cb4" bind:__l="__l"></u-icon></view></block></view></block></view></widget-root>