fa-selects.ttml 3.8 KB

1
  1. <view class="selects data-v-2f7ddab8"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" style="min-height:70rpx;" bindtap="__e" class="data-v-2f7ddab8"><rich-text class="{{(('data-v-2f7ddab8')+' '+(!lists_lable?'richColor':''))}}" nodes="{{$root.m0}}"></rich-text></view><u-popup vue-id="1fe056c1-1" popup="{{false}}" mode="bottom" height="600" value="{{show}}" data-event-opts="{{[['^close',[['close']]],['^input',[['__set_model',['','show','$event',[]]]]]]}}" bind:close="__e" bind:input="__e" class="data-v-2f7ddab8" bind:__l="__l" vue-slots="{{['default']}}"><view class="u-flex u-flex-column data-v-2f7ddab8"><view class="fa-column u-flex-1 u-flex fa-scroll data-v-2f7ddab8"><scroll-view style="{{'height:'+(scrollHg+'px')+';'+('width:'+('100vw')+';')}}" scroll-y="true" class="data-v-2f7ddab8"><block tt:if="{{checkeType=='selects'}}"><view class="data-v-2f7ddab8"><checkbox-group class="data-v-2f7ddab8"><block tt:for="{{$root.l0}}" tt:for-item="item" tt:for-index="index" tt:key="index"><u-cell-item vue-id="{{('1fe056c1-2-'+index)+','+('1fe056c1-1')}}" arrow="{{false}}" data-event-opts="{{[['^click',[['selectCell',[index]]]]]}}" bind:click="__e" class="data-v-2f7ddab8" bind:__l="__l" vue-slots="{{['title','right-icon']}}"><view slot="title" class="data-v-2f7ddab8"><rich-text nodes="{{item.m1}}" class="data-v-2f7ddab8"></rich-text></view><checkbox class="{{(('data-v-2f7ddab8')+' '+(item.$orig.disabled==true?'fa-disabled':''))}}" slot="right-icon" shape="square" checked="{{item.$orig.checked}}" color="{{theme.bgColor}}" disabled="{{item.$orig.disabled==true}}"></checkbox></u-cell-item></block></checkbox-group></view></block><block tt:else><view class="data-v-2f7ddab8"><u-radio-group bind:input="__e" style="width:100%;" vue-id="{{('1fe056c1-3')+','+('1fe056c1-1')}}" value="{{radio_value}}" data-event-opts="{{[['^input',[['__set_model',['','radio_value','$event',[]]]]]]}}" class="data-v-2f7ddab8" bind:__l="__l" vue-slots="{{['default']}}"><block tt:for="{{$root.l1}}" tt:for-item="item" tt:for-index="index" tt:key="index"><u-cell-item vue-id="{{('1fe056c1-4-'+index)+','+('1fe056c1-3')}}" arrow="{{false}}" data-event-opts="{{[['^click',[['selectCell',[index]]]]]}}" bind:click="__e" class="data-v-2f7ddab8" bind:__l="__l" vue-slots="{{['title','right-icon']}}"><view slot="title" class="data-v-2f7ddab8"><rich-text nodes="{{item.m2}}" class="data-v-2f7ddab8"></rich-text></view><u-radio vue-id="{{('1fe056c1-5-'+index)+','+('1fe056c1-4-'+index)}}" slot="right-icon" active-color="{{theme.bgColor}}" name="{{item.$orig[keyField]}}" disabled="{{item.$orig.disabled==true}}" class="data-v-2f7ddab8" bind:__l="__l"></u-radio></u-cell-item></block></u-radio-group></view></block></scroll-view></view><block tt:if="{{checkeType=='selects'}}"><view class="fa-column select-footer u-text-center data-v-2f7ddab8"><u-gap vue-id="{{('1fe056c1-6')+','+('1fe056c1-1')}}" height="10" bg-color="#eaeaec" class="data-v-2f7ddab8" bind:__l="__l"></u-gap><view class="u-p-10 u-flex u-row-around data-v-2f7ddab8"><block tt:if="{{checkeType=='selects'}}"><view data-event-opts="{{[['tap',[['clearAll',['$event']]]]]}}" class="u-flex-1 data-v-2f7ddab8" bindtap="__e"><text class="data-v-2f7ddab8">清空</text></view></block><view data-event-opts="{{[['tap',[['confirm',['$event']]]]]}}" class="u-flex-1 data-v-2f7ddab8" bindtap="__e"><text class="data-v-2f7ddab8">确定</text></view></view></view></block><block tt:if="{{checkeType!='selects'}}"><view class="fa-column select-footer u-text-center data-v-2f7ddab8"><u-gap vue-id="{{('1fe056c1-7')+','+('1fe056c1-1')}}" height="5" bg-color="#eaeaec" class="data-v-2f7ddab8" bind:__l="__l"></u-gap><view class="u-p-10 u-flex u-row-around data-v-2f7ddab8"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="u-flex-1 data-v-2f7ddab8" bindtap="__e"><text class="data-v-2f7ddab8">取消</text></view></view></view></block></view></u-popup></view>