addNews.wxml 781 B

12345678910111213141516171819202122232425262728
  1. <view class="wrapper">
  2. <view
  3. class="btns">
  4. <view class="cancel" bind:tap="handleCancel">取消</view>
  5. <view class="add" bind:tap="onSubmit">发布</view>
  6. </view>
  7. <view class="form-wrap">
  8. <textarea
  9. value=""
  10. placeholder="写下此刻的想法..."
  11. placeholder-class="placeholder-class"
  12. maxlength="-1"
  13. auto-height="{{true}}"
  14. cursor-spacing="{{60}}"
  15. bind:input="handleInput"></textarea>
  16. <view
  17. class="van-uploader-wrap">
  18. <van-uploader
  19. file-list="{{ form.track_img_url }}"
  20. max-count="{{track_img_url_max}}"
  21. multiple="{{true}}"
  22. accept="image"
  23. data-formkey="track_img_url"
  24. bind:after-read="afterRead"
  25. bind:delete="delete"/>
  26. </view>
  27. </view>
  28. </view>