uploadShow.wxml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <view class="container">
  2. <view class="show-box">
  3. <view class="title">选择关联课程</view>
  4. <view class="select-view">
  5. <picker bindchange="bindPickerChange" value="{{arrIndex}}" range="{{array}}">
  6. <view class="picker">
  7. {{array[arrIndex]}}
  8. </view>
  9. </picker>
  10. </view>
  11. <view class="title">标题</view>
  12. <view class="input-view">
  13. <input name="title" placeholder="请输入视频标题" maxlength="20" />
  14. </view>
  15. <view class="title textarea-title">视频说明</view>
  16. <view class="textarea-view">
  17. <textarea name="desc" placeholder="与大家具体描述这次精彩的表现内容把" maxlength="200"></textarea>
  18. </view>
  19. </view>
  20. <view class="video-box">
  21. <view class="title">上传视频</view>
  22. <view class="uploadImg-task-view">
  23. <view class="my-img-view" wx:for="{{1}}" wx:key="index" data-index="{{index}}" catchtap="showVideo">
  24. <view class="new-task-img">
  25. <image src="{{item.imgUrl}}"></image>
  26. </view>
  27. <view class="del-btn" data-index="{{index}}" catchtap="delVideo">X</view>
  28. </view>
  29. <view class="upload-btn" bindtap="upLoadVideo">
  30. <view style="margin-top:30rpx">
  31. <image src="/images/addFile.png"></image>
  32. <view>添加视频</view>
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. <view class="submit-btn">发布</view>
  38. </view>