uploadShow.wxml 1.5 KB

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