fa-array.ttml 1.8 KB

1
  1. <view class="fa-array data-v-873b0178"><view class="u-flex data-v-873b0178"><view class="u-flex-5 data-v-873b0178"><view class="data-v-873b0178">{{faKey}}</view></view><view class="u-flex-6 u-p-l-10 data-v-873b0178"><view class="data-v-873b0178">{{faVal}}</view></view></view><block tt:for="{{list}}" tt:for-item="item" tt:for-index="index" tt:key="index"><view class="u-flex u-m-t-15 data-v-873b0178"><view class="u-flex-5 data-v-873b0178"><u-input bind:input="__e" vue-id="{{'1c1f70fe-1-'+index}}" trim="{{trim}}" border="{{border}}" value="{{item.key}}" data-event-opts="{{[['^input',[['__set_model',['$0','key','$event',[]],[[['list','',index]]]]]]]}}" class="data-v-873b0178" bind:__l="__l"></u-input></view><view class="u-m-l-15 u-m-r-15 u-flex-5 data-v-873b0178"><u-input bind:input="__e" vue-id="{{'1c1f70fe-2-'+index}}" trim="{{trim}}" border="{{border}}" value="{{item.value}}" data-event-opts="{{[['^input',[['__set_model',['$0','value','$event',[]],[[['list','',index]]]]]]]}}" class="data-v-873b0178" bind:__l="__l"></u-input></view><view data-event-opts="{{[['tap',[['del',[index]]]]]}}" class="u-p-l-15 u-p-r-15 u-text-center close data-v-873b0178" bindtap="__e"><u-icon vue-id="{{'1c1f70fe-3-'+index}}" name="close" color="#ffffff" size="30" class="data-v-873b0178" bind:__l="__l"></u-icon></view></view></block><view class="u-text-right u-m-t-20 data-v-873b0178"><u-button vue-id="1c1f70fe-4" size="mini" type="primary" custom-style="{{$root.a0}}" throttle-time="0" data-event-opts="{{[['^click',[['add']]]]}}" bind:click="__e" class="data-v-873b0178" bind:__l="__l" vue-slots="{{['default']}}"><u-icon vue-id="{{('1c1f70fe-5')+','+('1c1f70fe-4')}}" name="plus" color="{{theme.bgColor}}" size="25" class="data-v-873b0178" bind:__l="__l"></u-icon><text class="u-m-l-5 data-v-873b0178">追加</text></u-button></view></view>