fa-array-download.ttml 2.8 KB

1
  1. <view class="fa-array-download data-v-f5ec0cd2"><view class="u-flex data-v-f5ec0cd2"><view class="u-flex-2 data-v-f5ec0cd2"><view class="data-v-f5ec0cd2">来源</view></view><view class="u-flex-7 u-p-l-10 data-v-f5ec0cd2"><view class="data-v-f5ec0cd2">地址</view></view><view class="u-flex-4 u-p-l-10 data-v-f5ec0cd2"><view class="data-v-f5ec0cd2">密码</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-f5ec0cd2"><view class="u-flex-2 data-v-f5ec0cd2"><u-input bind:input="__e" vue-id="{{'f661c27a-1-'+index}}" trim="{{trim}}" placeholder="来源" border="{{border}}" clearable="{{false}}" value="{{item.name}}" data-event-opts="{{[['^input',[['__set_model',['$0','name','$event',[]],[[['list','',index]]]]]]]}}" class="data-v-f5ec0cd2" bind:__l="__l"></u-input></view><view class="u-flex-6 u-m-l-10 u-m-r-10 data-v-f5ec0cd2"><u-input bind:input="__e" vue-id="{{'f661c27a-2-'+index}}" placeholder="请输入地址" trim="{{trim}}" border="{{border}}" value="{{item.url}}" data-event-opts="{{[['^input',[['__set_model',['$0','url','$event',[]],[[['list','',index]]]]]]]}}" class="data-v-f5ec0cd2" bind:__l="__l"></u-input></view><view data-event-opts="{{[['tap',[['uploadFile',[index]]]]]}}" class="u-p-l-10 u-p-r-10 u-m-r-10 u-text-center close data-v-f5ec0cd2" bindtap="__e"><u-icon vue-id="{{'f661c27a-3-'+index}}" name="arrow-upward" color="#ffffff" size="30" class="data-v-f5ec0cd2" bind:__l="__l"></u-icon></view><view class="u-flex-3 u-m-r-10 data-v-f5ec0cd2"><u-input bind:input="__e" vue-id="{{'f661c27a-4-'+index}}" placeholder="密码" trim="{{trim}}" border="{{border}}" value="{{item.password}}" data-event-opts="{{[['^input',[['__set_model',['$0','password','$event',[]],[[['list','',index]]]]]]]}}" class="data-v-f5ec0cd2" bind:__l="__l"></u-input></view><view data-event-opts="{{[['tap',[['del',[index]]]]]}}" class="u-p-l-10 u-p-r-10 u-text-center close data-v-f5ec0cd2" bindtap="__e"><u-icon vue-id="{{'f661c27a-5-'+index}}" name="close" color="#ffffff" size="30" class="data-v-f5ec0cd2" bind:__l="__l"></u-icon></view></view></block><view class="u-text-right u-m-t-20 data-v-f5ec0cd2"><u-button vue-id="f661c27a-6" size="mini" type="primary" custom-style="{{$root.a0}}" throttle-time="0" data-event-opts="{{[['^click',[['add']]]]}}" bind:click="__e" class="data-v-f5ec0cd2" bind:__l="__l" vue-slots="{{['default']}}"><u-icon vue-id="{{('f661c27a-7')+','+('f661c27a-6')}}" name="plus" color="{{theme.bgColor}}" size="25" class="data-v-f5ec0cd2" bind:__l="__l"></u-icon><text class="u-m-l-5 data-v-f5ec0cd2">追加</text></u-button></view><fa-upload-file bind:success="__e" vue-id="f661c27a-8" data-ref="file" data-event-opts="{{[['^success',[['uploadSuccess']]]]}}" class="data-v-f5ec0cd2 vue-ref" bind:__l="__l"></fa-upload-file></view>