123456789101112131415161718 |
- <!--nova-werun/pages/send-circle/index.wxml-->
- <nav type="back" title="发布步小圈" background-color="{{'#4F9AF7'}}" front-color="{{'#ffffff'}}"></nav>
- <view class="all">
- <view class="text">
- <textarea placeholder="输入内容" class="textarea" style="height: {{textareaHeight}}rpx;" maxlength='300' auto-height='true' bindinput="onInput" value="{{inputValue}}"></textarea>
- </view>
- <upload style="width: 50%;" bind:onChangeFile="picture" fileList="{{fileList}}" uploadURL="{{uploadURL}}" domain="{{domain}}" uptokenURL="{{uptokenURL}}" maxCount="9" />
- <view class="clickbox">
- <van-checkbox value="{{ checked }}" checked-color="#4F9AF7" bind:change="onChange">
- 实现展示所在位置
- <block wx:if="{{checked||address}}">
- - {{address}}
- </block>
- </van-checkbox>
- </view>
- <button wx:if="{{fileList.length==0&&!inputValue}}" style="background:gray ;width: 50vw;margin-top: 30rpx;font-size: 30rpx;color: white;">发布</button>
- <button wx:else style="background:#4F9AF7 ;width: 50vw;margin-top: 30rpx;font-size: 30rpx;color: white;" bindtap="saveAIMoment">发布</button>
- </view>
|