u-section.wxml 1.3 KB

1
  1. <view class="u-section data-v-1a56fbd5"><view class="{{['u-section__title data-v-1a56fbd5',(showLine)?'u-section--line':'']}}" style="{{'font-weight:'+(bold?'bold':'normal')+';'+('color:'+(color)+';')+('font-size:'+(fontSize+'rpx')+';')+('padding-left:'+(showLine?fontSize*0.7+'rpx':0)+';')}}"><block wx:if="{{showLine}}"><view class="u-section__title__icon-wrap u-flex data-v-1a56fbd5" style="{{$root.s0}}"><u-icon vue-id="e27ed1ac-1" top="0" name="column-line" size="{{fontSize*1.25}}" bold="{{true}}" color="{{lineColor?lineColor:color}}" class="data-v-1a56fbd5" bind:__l="__l"></u-icon></view></block><text class="u-flex u-section__title__text data-v-1a56fbd5">{{title}}</text></view><block wx:if="{{right||$slots.right}}"><view data-event-opts="{{[['tap',[['rightClick',['$event']]]]]}}" class="u-section__right-info data-v-1a56fbd5" style="{{'color:'+(subColor)+';'}}" bindtap="__e"><block wx:if="{{$slots.right}}"><slot name="right"></slot></block><block wx:else><block class="data-v-1a56fbd5">{{''+subTitle+''}}<block wx:if="{{arrow}}"><view class="u-section__right-info__icon-arrow u-flex data-v-1a56fbd5"><u-icon vue-id="e27ed1ac-2" name="arrow-right" size="24" color="{{subColor}}" class="data-v-1a56fbd5" bind:__l="__l"></u-icon></view></block></block></block></view></block></view>