您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

form-upload.wxml 629B

1234567891011
  1. <view-flex styleCss="{{styleCss}}" justify="space-between" align="center">
  2. <view class="form-label">
  3. {{uploadTxt}}
  4. </view>
  5. <view-flex class="form-value" justify="flex-end">
  6. <wux-upload slot='footer' listType="picture-card" showUploadList="{{ false }}" url="{{api}}/grants/wechat/consumerinfo/upload" header="{{header}}" name="file" bind:success="uploadSuccess" bind:fail="uploadFail" bind:preview="onPreview" >
  7. <image src="{{ imageUrl }}" wx:if="{{ imageUrl }}" mode="aspectFit" style="width:300rpx; height: 154rpx;" />
  8. <text wx:else>{{uploadTxt}}</text>
  9. </wux-upload>
  10. </view-flex>
  11. </view-flex>