word_report.wxml
1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<view class="info_box">
<view class="item">
<text>姓名</text>
<text>{{info.name}}</text>
</view>
<view class="item">
<text>工作内容</text>
<text>{{info.work_content}}</text>
</view>
<block wx:for="{{info.time}}" wx:key="index">
<view class="item">
<text>参加日期</text>
<text>{{item.date}}</text>
</view>
<view class="item">
<text>参加时间</text>
<text>{{item.time}}</text>
</view>
</block>
</view>
<view class="img_box">
<view class="title">图片上传</view>
<view class="img_arr">
<view class="img_item" wx:for="{{imgarr}}" wx:key="index">
<image src="{{item}}" mode="aspectFill" class="show_img" catchtap="look_img" data-index="{{index}}" />
<image class="del" src="/imgs/del.png" catchtap="del_img" data-index="{{index}}" wx:if="{{!user_id}}" />
</view>
<image class="img_item" src="/imgs/add_img.png" mode="aspectFill" bindtap="upimg" wx:if="{{!user_id}}" />
</view>
</view>
<view class="word_box">
<view class="title">
<image src="/imgs/must.png" /> 感想汇报
</view>
<textarea class="word" placeholder="请输入内容,内容最多500字" bindinput="get_word" value="{{word}}" disabled="{{user_id}}" maxlength="500">
<view class="word_num">{{word?word.length:0}}/500</view>
</textarea>
</view>
<view class="submit" bindtap="submit" wx:if="{{!user_id}}">确认</view>