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.
71 lines
3.1 KiB
71 lines
3.1 KiB
<!-- <view wx:if="{{iniLoaded}}"> -->
|
|
<view >
|
|
<form class="m-fm">
|
|
|
|
<view class="row_content fm-flex" style="height: {{viewHeight}}; overflow-y: scroll;">
|
|
|
|
|
|
|
|
<textarea auto-focus="{{blurType==='text'}}" class="topic_text" placeholder="请详细填写您的诉求,力求文字简练,内容清楚,我们会将您的诉求通过一定程序向有关责任单位交办和转办,并尽快向您反馈处理结果。"
|
|
style="{{ showedHint ? 'display: none;' : '' }};height: {{viewHeight}}"
|
|
data-fm="fmData"
|
|
data-name="content"
|
|
placeholder-class="z-placeholder"
|
|
bindinput="inputSync"
|
|
maxlength="1000"
|
|
bindkeyboardheightchange="handleKeyBoard"
|
|
value="{{ fmData.content }}"></textarea>
|
|
|
|
<view class="input-hint input-hints"><text>{{ fmData.content.length }}</text>/1000</view>
|
|
<view class="topic-audio">
|
|
<topic-audio wx:if="{{fmData.voiceList.length > 0}}" url="{{fmData.voiceList[0].url}}" duration="{{fmData.voiceList[0].duration}}" bind:audiodel="handleAudioDel" show-del="{{true}}" />
|
|
<!-- <topic-audio url="{{fmData.voiceList[0].url}}" duration="{{fmData.voiceList[0].duration}}" bind:audiodel="handleAudioDel" /> -->
|
|
</view>
|
|
|
|
<upload-attachment
|
|
showAdd="{{false}}"
|
|
max="{{maxLimitImg}}"
|
|
selType="{{'image'}}"
|
|
showList="{{fmData.attachmentList}}"
|
|
bind:hideNativeComponents="hideNativeComponents"
|
|
bind:showNativeComponents="showNativeComponents"
|
|
id="uploadImg" />
|
|
|
|
|
|
<view wx:if="{{selectedNpc.displayName}}" class="view_npc">
|
|
<text>{{selectedNpc.displayName}}</text>
|
|
<image bind:tap="delNpc" src="/assets/images/guanbi.png" />
|
|
</view>
|
|
|
|
<view class="position-hints" bind:tap="toughGetLocation">
|
|
<view class="position-hints-left">
|
|
<image src="/assets/images/common/pos.png" />
|
|
<text wx:if="{{fmData.address}}">{{ fmData.address }}</text>
|
|
<text wx:else>事件定位</text>
|
|
</view>
|
|
<image class="position-hints-arrow" src="/assets/images/index/arrow.png" />
|
|
</view>
|
|
|
|
<view class="view_attach_btn">
|
|
<image src="/assets/images/topic/img.png" bind:tap="addImg" />
|
|
<image wx:if="{{tabRecord}}" src="/assets/images/topic/record3.png" bind:tap="handleTapRecord" />
|
|
<image wx:elif="{{fmData.voiceList.length > 0}}" src="/assets/images/topic/record2.png" />
|
|
<image wx:else src="/assets/images/topic/record1.png" bind:tap="handleTapRecord" />
|
|
</view>
|
|
</view>
|
|
|
|
<view
|
|
class="btn {{ submitBtnIsAllowed ? '' : 'z-disabled'}}"
|
|
plain="true" bind:tap="submit">确认提交</view>
|
|
|
|
<view class="topic-record {{tabRecord&&'topic-record-on'}}">
|
|
<sound-record wx:if="{{tabRecord}}" bind:cancle="handleTapRecord" bind:finish="handleRecordFinish" />
|
|
<!-- <sound-record bind:cancle="handleTapRecord" bind:finish="handleRecordFinish" /> -->
|
|
</view>
|
|
</form>
|
|
</view>
|
|
<modalReg id="modalReg"
|
|
from="create_event"
|
|
content="只有注册成为居民才可以发布随时讲,请先前往注册。"
|
|
/>
|
|
|
|
|