51 lines
2.2 KiB
Plaintext
51 lines
2.2 KiB
Plaintext
<!--pages/msg/push/index.wxml-->
|
|
<title-bar title="为民服务"></title-bar>
|
|
<scroll-view scroll-y refresher-enabled style="height: calc(100vh - {{topBarH}}px);">
|
|
<view class="item">
|
|
<!-- 标题 -->
|
|
<view class="h-div v-center header">
|
|
<text class="single"></text>
|
|
<text class="title">工作标题</text>
|
|
</view>
|
|
<input bindinput="inputContent" data-name="title" value="{{postData.title}}" class="put v-div h-center" placeholder="请输入标题"></input>
|
|
<!-- 内容 -->
|
|
<view class="h-div v-center header">
|
|
<text class="single"></text>
|
|
<text class="title">工作内容</text>
|
|
</view>
|
|
<textarea bindinput="inputContent" data-name="detail" value="{{postData.detail}}" style="color: #333333;" class="put v-div" placeholder="请输入工作内容"></textarea>
|
|
<!-- 时间 -->
|
|
<view class="h-div v-center header">
|
|
<text class="single"></text>
|
|
<text class="title">工作时间</text>
|
|
</view>
|
|
<view class="filter">
|
|
<picker mode="date" value="{{postData.startTime}}" data-name="startTime" bindchange="bindDateChange">
|
|
<view class="picker">
|
|
开始时间: {{postData.startTime||'-'}}
|
|
</view>
|
|
</picker>
|
|
<picker mode="date" value="{{postData.endTime}}" data-name="endTime" bindchange="bindDateChange">
|
|
<view class="picker">
|
|
结束时间: {{postData.endTime||'-'}}
|
|
</view>
|
|
</picker>
|
|
</view>
|
|
<!-- 附件 -->
|
|
<view class="h-div v-center header">
|
|
<text class="single"></text>
|
|
<text class="title flex">附件</text>
|
|
<text catchtap="chooseFile" class="title cuIcon-roundadd" style="font-weight: normal;color: #5DA6F4;">添加图片</text>
|
|
</view>
|
|
<view class="grid">
|
|
<view class="img" wx:for="{{files}}" style="position: relative;">
|
|
<text wx:if="{{!postData.dynamicsId}}" catchtap="deleteFile" data-id="{{item.sysdocumentid}}" class="cuIcon-delete del" style="color:red;"></text>
|
|
<image class="img" src="{{baseUrl+item.filepath}}" catchtap="filePre" data-url="{{item.filepath}}" />
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="space"></view>
|
|
</scroll-view>
|
|
<view class="option" wx:if="{{!postData.dynamicsId}}">
|
|
<view catchtap="push" class="btn">上报</view>
|
|
</view> |