96 lines
2.9 KiB
Plaintext
96 lines
2.9 KiB
Plaintext
<view class="report">
|
|
<view class="row">
|
|
<view class="row-name">
|
|
<text>*</text>
|
|
民意标题
|
|
</view>
|
|
<view class="row-main">
|
|
<input type="text" placeholder="请输入民意标题" bindinput="editInfo" data-type="title"></input>
|
|
</view>
|
|
</view>
|
|
<view class="row">
|
|
<view class="row-name">
|
|
<text>*</text>
|
|
事发区县
|
|
</view>
|
|
<view class="row-main">
|
|
<picker bindchange="bindAreaPickerChange" value="{{areaIdx}}" range="{{areaArray}}">
|
|
<view class="picker">
|
|
{{areaArray[areaIdx]}}
|
|
</view>
|
|
</picker>
|
|
</view>
|
|
</view>
|
|
<view class="row" wx:if="{{villageAll.length > 0}}">
|
|
<view class="row-name">
|
|
事发乡镇
|
|
</view>
|
|
<view class="row-main">
|
|
<picker bindchange="bindVillagePickerChange" value="{{villageIdx}}" range="{{villageArray}}">
|
|
<view class="picker">
|
|
{{villageArray[villageIdx]}}
|
|
</view>
|
|
</picker>
|
|
</view>
|
|
</view>
|
|
<view class="row">
|
|
<view class="row-name">
|
|
<text>*</text>
|
|
是否匿名
|
|
</view>
|
|
<view class="row-main">
|
|
<radio-group bindchange="hideName">
|
|
<label>
|
|
<radio value="1"></radio>匿名
|
|
</label>
|
|
<label>
|
|
<radio value="0" checked></radio>不匿名
|
|
</label>
|
|
</radio-group>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="file">
|
|
<view class="title">
|
|
详细信息
|
|
</view>
|
|
<view class="file-box">
|
|
<view class="file-title">
|
|
<text>*</text>
|
|
社情民意内容
|
|
</view>
|
|
<view class="file-content">
|
|
<textarea placeholder="请输入社情民意内容" bindinput="editInfo" data-type="content"></textarea>
|
|
</view>
|
|
</view>
|
|
<view class="file-box">
|
|
<view class="file-title">
|
|
事件图片
|
|
</view>
|
|
<view class="file-content">
|
|
<view class="img-box" wx:for="{{imageList}}" wx:key="index">
|
|
<view class="img-view">
|
|
<image src="{{uploadImgUrl + baseImgUrl + item}}" mode="heightFix"></image>
|
|
</view>
|
|
<image class="delete" src="../../images/delete.png" bindtap="deleteSource" data-type="img" data-cur="{{index}}"></image>
|
|
<!-- <image src="../../images/delete.png" class="delete-btn" data-num="{{index}}" bindtap="deleteImg"></image> -->
|
|
</view>
|
|
<view class="upload-btn" bindtap="uploadImage" wx:if="{{imageList.length < 9}}">+</view>
|
|
</view>
|
|
</view>
|
|
<view class="file-box">
|
|
<view class="file-title">
|
|
视频
|
|
</view>
|
|
<view class="file-content">
|
|
<view class="video-box" wx:if="{{videoId}}">
|
|
<video src="{{uploadImgUrl + baseImgUrl + videoId}}"></video>
|
|
<image class="delete" src="../../images/delete.png" data-type="video" bindtap="deleteSource"></image>
|
|
</view>
|
|
<view class="upload-btn" bindtap="uploadVideo" wx:else>+</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="submit">
|
|
<view class="submit-btn" bindtap="submitReport">上报</view>
|
|
</view> |