1 |
- <view class="tm-listitem data-v-df91aa4e"><view data-event-opts="{{[['tap',[['click',['$event']]]]]}}" class="{{['data-v-df91aa4e',classStyle,'mx-'+pz_themeCus.margin[0]+' my-'+pz_themeCus.margin[1],disabled===true?disabledColor+(black_tmeme?' bk ':''):black_tmeme?'grey-darken-4 bk ':bgColor?'':color,dense?'nom':'','shadow-'+pz_themeCus.shadow,'round-'+pz_themeCus.round,border?'border-a-1':'']}}" style="{{$root.s0}}" bindtap="__e"><view class="{{['data-v-df91aa4e','px-'+pz_themeCus.padding[0],'py-'+pz_themeCus.padding[1]]}}"><view class="flex-between data-v-df91aa4e"><view class="left flex-start data-v-df91aa4e"><block wx:if="{{showLeftIcon}}"><view class="left-tm-content mr-24 flex-center data-v-df91aa4e"><block wx:if="{{$slots.left}}"><slot name="left"></slot><scoped-slots-left icon="{{({icon:leftIcon,color:color_tmeme,fontsize:leftIconSize})}}" class="scoped-ref" bind:__l="__l"></scoped-slots-left></block><block wx:else><block wx:if="{{!group}}"><tm-icons vue-id="76aeb14d-1" color="{{color_tmeme}}" name="{{leftIcon}}" size="{{leftIconSize}}" class="data-v-df91aa4e" bind:__l="__l"></tm-icons></block><block wx:if="{{group}}"><tm-icons vue-id="76aeb14d-2" color="{{color_tmeme}}" name="{{!showContent?'icon-caret-right':'icon-sort-down'}}" size="{{24}}" class="data-v-df91aa4e" bind:__l="__l"></tm-icons></block></block></view></block><view class="tm-content flex-col data-v-df91aa4e" style="width:90%;"><view class="{{['fulled','flex-shrink','data-v-df91aa4e',disabled===true?' text-grey-darken-1 ':black_tmeme?'text-white':'text-'+titleColor]}}" style="{{'font-size:'+(fontSize+'rpx')+';'}}"><block wx:if="{{$slots.default}}"><slot></slot><scoped-slots-default title="{{title}}" class="scoped-ref" bind:__l="__l"></scoped-slots-default></block><block wx:else>{{title}}</block></view><view class="{{['fulled','','text-size-s','text-weight-xs','text-overflow-1','','text-grey-lighten-1','data-v-df91aa4e',label?dense?'pt-0':'pt-4':'']}}" vif="label"><block wx:if="{{$slots.label}}"><slot name="label"></slot><scoped-slots-label label="{{label}}" class="scoped-ref" bind:__l="__l"></scoped-slots-label></block><block wx:else>{{label}}</block></view></view></view><view class="{{['right','text-grey-lighten-1','flex-end','vertical-align-middle','data-v-df91aa4e',black_tmeme?'bk':'']}}"><view class="text-size-s pr-10 d-inline-block data-v-df91aa4e"><block wx:if="{{$slots.rightValue}}"><slot name="rightValue"></slot><scoped-slots-rightValue value="{{value}}" class="scoped-ref" bind:__l="__l"></scoped-slots-rightValue></block><block wx:else>{{value}}</block></view><block wx:if="{{$slots.rightIcon}}"><slot name="rightIcon"></slot><scoped-slots-rightIcon icon="{{rightIcon}}" class="scoped-ref" bind:__l="__l"></scoped-slots-rightIcon></block><block wx:else><block wx:if="{{showRightIcon}}"><tm-icons style="line-height:normal;" vue-id="76aeb14d-3" color="{{rightIconColor}}" dense="{{true}}" size="{{rightIconSize}}" name="{{!showContent?rightIcon:'icon-angle-down'}}" class="data-v-df91aa4e" bind:__l="__l"></tm-icons></block></block></view></view><block wx:if="{{showContent&&group===true}}"><view data-event-opts="{{[['tap',[['',['$event']]]]]}}" class="group pt-24 data-v-df91aa4e" catchtap="__e"><slot name="group"></slot><scoped-slots-group show="{{showContent}}" class="scoped-ref" bind:__l="__l"></scoped-slots-group></view></block></view><view class="{{['tm-listitem-border','data-v-df91aa4e',pz_themeCus.borderBottom?'border-grey-lighten-4-b-1 ':'',color,'mx-'+pz_themeCus.padding[0],black_tmeme?'bk':'']}}"></view></view></view>
|