You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
1.6 KiB
33 lines
1.6 KiB
<view class="add-topic">
|
|
<view class="topic">
|
|
<textarea value="{{topicValue}}" bindinput="bindTopicValue" maxlength="500">
|
|
<view wx:if="{{topicValue.length == 0}}" class="placeholder-textarea">
|
|
<view>1、发起您的话题, 请将话题描述清晰</view>
|
|
<view>2、在社群得到帮助、建议,能有助于更快地解决问题</view>
|
|
<view>3、还有机会被转发到【党群议事】让问题解决更快</view>
|
|
</view>
|
|
</textarea>
|
|
<view class="picture">
|
|
<view class="image-box" wx:for="{{imageList}}" wx:key="{{item}}" wx:for-item="item" wx:for-index="index">
|
|
<image src="{{item.img}}" />
|
|
<image wx:if="{{item.upload}}" class="loading" src="../../images/loading.gif" />
|
|
<image bindtap="deleteImage" data-index="{{index}}" wx:else class="delete-image" src="../../images/icon_close.png" />
|
|
</view>
|
|
<view class="image-box">
|
|
<image bindtap="chooseImage" wx:if="{{imageList.length <= 2}}" src="../../images/ig_tianjiatupian@2x.png" />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="address">
|
|
<textarea value="{{addressValue}}" bindinput="bindAddressValue" placeholder-class="placeholder-textarea" placeholder="请输入定位地址" />
|
|
<view class="tip">
|
|
<image src="../../images/ic_dingwei@2x.png" />
|
|
<text>话题定位</text>
|
|
</view>
|
|
</view>
|
|
<view class="topic-button">
|
|
<button bindtap="throttleAddTopic" type="default" size="defaultSize" hover-class="hover-button">发起话题</button>
|
|
</view>
|
|
</view>
|
|
|
|
<wux-actionsheet id="wux-actionsheet" />
|