1234567891011121314151617181920212223242526272829 |
- <view class="wrapper">
- <view
- class="btns">
- <view class="cancel" bind:tap="handleCancel">取消</view>
- <view class="add" bind:tap="onSubmit">发布</view>
- </view>
- <view class="form-wrap">
- <textarea
- value=""
- placeholder="写下此刻的想法..."
- placeholder-class="placeholder-class"
- maxlength="-1"
- auto-height="{{true}}"
- cursor-spacing="{{60}}"
- bind:input="handleInput"></textarea>
- <view
- class="van-uploader-wrap">
- <van-uploader
- file-list="{{ form.track_img_url }}"
- max-count="{{track_img_url_max}}"
- multiple="{{true}}"
- accept="image"
- data-formkey="track_img_url"
- bind:click-preview="uploadImg"
- bind:after-read="afterRead"
- bind:delete="delete"/>
- </view>
- </view>
- </view>
|