addNews.wxml 820 B

1234567891011121314151617181920212223242526272829
  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:click-preview="uploadImg"
  25. bind:after-read="afterRead"
  26. bind:delete="delete"/>
  27. </view>
  28. </view>
  29. </view>