123456789101112131415161718192021 |
- <!--components/upload/upload.wxml-->
- <view >
- <view wx:if="{{source === 'messageFile'}}">
- <t-button size="small" bind:tap="handleClick">{{language['选择文件']||'选择文件'}}</t-button>
- <t-cell wx:for="{{originFiles}}" wx:key="attachmentid" title="{{language['合同']||'合同'}}" note="{{item.document}}" bordered="{{true}}">
- <view class="small colorError" slot="note" data-item="{{item}}" bindtap="deleteFile">
- {{language['删除']||'删 除'}}
- </view>
- </t-cell>
- </view>
- <t-upload
- wx:else
- files="{{originFiles}}"
- gridConfig="{{gridConfig}}"
- bind:add="handleAdd"
- bind:success="handleSuccess"
- bind:remove="handleRemove"
- />
- </view>
- <!-- bindtap="handleClick" -->
|