<view class="demo">
  <view class="demo-title">Upload 上传</view>
  <view class="demo-desc">用于相册读取或拉起拍照的图片上传功能。</view>
  <t-demo title="01 组件类型" desc="单选上传图片">
    <view class="upload-demo">
      <view class="upload-demo__title">上传图片</view>
      <single />
    </view>
  </t-demo>
  <t-demo title="" desc="多选上传图片">
    <view class="upload-demo">
      <view class="upload-demo__title">上传图片</view>
      <multiple />
    </view>
  </t-demo>
  <t-demo title="02 组件状态" desc="加载状态">
    <view class="upload-demo">
      <view class="upload-demo__title">上传图片</view>
      <status />
    </view>
  </t-demo>
  <t-demo title="" desc="从聊天记录上选">
    <view class="upload-demo">
      <view class="upload-demo__title">上传图片</view>
      <messageFile />
    </view>
  </t-demo>
</view>
