1 |
- <view class="{{['uni-list-item','data-v-636421f9',disabled?'uni-list-item--disabled':'']}}" hover-class="{{disabled||showSwitch?'':'uni-list-item--hover'}}" data-event-opts="{{[['tap',[['onClick',['$event']]]]]}}" bindtap="__e"><view class="{{['uni-list-item__container','data-v-636421f9',(isFirstChild)?'uni-list-item--first':'']}}"><block wx:if="{{thumb}}"><view class="uni-list-item__icon data-v-636421f9"><image class="uni-list-item__icon-img data-v-636421f9" src="{{thumb}}" mode="aspectFit"></image></view></block><block wx:else><block wx:if="{{showExtraIcon}}"><view class="uni-list-item__icon data-v-636421f9"><uni-icons class="uni-icon-wrapper data-v-636421f9" vue-id="01e39c76-1" color="{{extraIcon.color}}" size="{{extraIcon.size}}" type="{{extraIcon.type}}" bind:__l="__l"></uni-icons></view></block></block><view class="uni-list-item__content data-v-636421f9"><slot></slot><text class="uni-list-item__content-title data-v-636421f9">{{title}}</text><block wx:if="{{note}}"><text class="uni-list-item__content-note data-v-636421f9">{{note}}</text></block></view><view class="uni-list-item__slot data-v-636421f9"><slot name="right"></slot></view><block wx:if="{{showBadge||showArrow||showSwitch}}"><view class="uni-list-item__extra data-v-636421f9"><block wx:if="{{showBadge}}"><uni-badge vue-id="01e39c76-2" type="{{badgeType}}" text="{{badgeText}}" class="data-v-636421f9" bind:__l="__l"></uni-badge></block><block wx:if="{{showSwitch}}"><switch class="itemSwitch data-v-636421f9" color="{{switchColor}}" disabled="{{disabled}}" checked="{{switchChecked}}" data-event-opts="{{[['change',[['onSwitchChange',['$event']]]]]}}" bindchange="__e"></switch></block><block wx:if="{{showArrow}}"><uni-icons class="uni-icon-wrapper data-v-636421f9" vue-id="01e39c76-3" size="{{20}}" color="#bbb" type="arrowright" bind:__l="__l"></uni-icons></block></view></block></view></view>
|