<alert show="{{show}}" _CONFIG_="{{alert}}" bind:close='close'></alert>
<view class='white-bg content'>
  <view class='video-memo'>
    <rich-text nodes='{{info.remark}}'></rich-text>
    <view class='mTop30 video relative' wx:if="{{info.video.length > 0}}">
      <video wx:if='{{index == 0}}' id='video_0' src='{{info.videoMu38 ? info.videoMu38 : info.video}}' bindended="playEnd"></video>
      <view wx:else bindtap='videoPlay' data-index='0'>
        <text class='icon-video-play'></text>
        <view class='bg'></view>
        <image src='{{info.video}}?x-oss-process=video/snapshot,t_7000,f_jpg,w_105,h_70,m_fast'></image>
      </view>
    </view>
    <view class='center'><text class='icon-tips font20 middle'></text><text class='middle'> 请参考样例拍摄视频并上传</text></view>
    <view class='center subtitleColor'><text class='icon-upload font20 middle'></text><text class='middle'> {{info.uploadNum ? info.uploadNum : 0}}人已传</text></view>
  </view>
</view>

<view class='white-bg mTop10' wx:if="{{isRestUpload}}">
  <view class='video-upload'>
    <video wx:if='{{index == 1}}' id='video_1' src='{{info.myVideo}}' bindended="playEnd"></video>
    <view bindtap='videoPlay' class='relative' wx:else data-index='1'>
      <text class='icon-video-play'></text>
      <view class='bg'></view>
      <image src='{{info.myVideo}}?x-oss-process=video/snapshot,t_7000,f_jpg,w_76,h_50,m_fast'></image>
    </view>
  </view>
  <view class='button-pad'>
    <button class='button button-danger button-radius' bindtap='addVideo'>重新上传</button>
  </view>
</view>
<view class='button-pad' wx:else>
  <button class='button button-warn button-radius' bindtap='addVideo'>我要上传</button>
</view>
<view class='modal' wx:if="{{percent > 0 && percent < 100}}">
  <progress percent='{{percent}}' show-info active activeColor="#09BB07" class='progress' active-mode="forwards" />
</view>
<view class='modal-bg' wx:if="{{percent > 0 && percent < 100}}"></view>