img_txt.wxml
7.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<view class='main'>
<view class='top_img'>
<image src='{{datalist.thumbnail}}'></image>
</view>
<view class='text_title'>{{datalist.activity_name}}</view>
<view class='text_time' wx:if='{{status=="1"}}'>{{datalist.time}}</view>
<view class='text_content'>
<import src="../../wxParse/wxParse.wxml" />
<template is='wxParse' data='{{wxParseData:content.nodes}}' />
</view>
<view class='memberbox' wx:if='{{datalist.join.length>0 && type != 1 && datalist.admin !=1}}'>
<view class='title'>已成功报名人员</view>
<view class='member' wx:for='{{datalist.join}}' wx:key='index'>
<view class="top">
<image src='{{item.photo}}' mode="aspectFill" />
<text>{{item.name}}</text>
</view>
<view class="duty">{{item.duty}}</view>
</view>
</view>
</view>
<view wx:if="{{type!= 1 && datalist.admin !=1}}">
<navigator class='foot' url="/pages/enroll/enroll?id={{id}}" wx:if='{{datalist.button_status == 1}}' hover-class="none">报名</navigator>
<view class='foot' wx:if='{{datalist.button_status == 2}}' style='background: #FFD700; color: #fff;'>待审核</view>
<navigator class='foot' wx:if='{{datalist.button_status == 3}}' url="/pages/word_report/word_report?id={{id}}" hover-class="none">工作汇报</navigator>
<view class='foot' wx:if='{{datalist.button_status == 4}}' style='background: #ccc;color: #fff;'>工作汇报</view>
<view class='foot' wx:if='{{datalist.button_status == 5}}' style='background: #ccc;color: #fff;'>已结束</view>
<navigator url='/pages/result/result' class='foot' wx:if='{{datalist.button_status == 6}}'>成为志愿者</navigator>
</view>
<view class="btn_box">
<navigator class="btn-item" style="background: url('/imgs/index.png') no-repeat center;background-size: cover;" url="/pages/index/index" open-type="switchTab">首页</navigator>
<view class="btn-item" style="background: url('{{datalist.button_status == 2?'/imgs/edit.png':'/imgs/edit@.png'}}') no-repeat center;background-size: cover;" bindtap="{{datalist.button_status == 2?'edit_info':''}}" wx:if="{{1<datalist.button_status<6 && datalist.admin !=1}}">编辑</view>
<view class="btn-item" style="background: url('{{datalist.button_status == 5?'/imgs/out@.png':'/imgs/out.png'}}') no-repeat center;background-size: cover;" wx:if="{{2<datalist.button_status<6 && datalist.admin !=1}}" bindtap="change_cover" data-id="1">退出</view>
<view class="btn-item" style="background: url('/imgs/share.png') no-repeat center;background-size: cover;" bindtap="change_cover" data-id="2">分享</view>
</view>
<view class="cover_box" catchtouchmove="true" catchtap="change_cover" data-id="{{cover_id}}" wx:if="{{cover_type}}">
<view class="show_box" wx:if="{{cover_id == 1}}">
<view class="s_title">确定退出此活动?</view>
<view class="select_box">
<view class="b_item" catchtap="change_cover" data-id="1">取消</view>
<view class="b_item" catchtap="out">确认</view>
</view>
</view>
<view class="poster_box" wx:if="{{cover_id == 2}}" style="background: url('{{poster}}') no-repeat center;background-size: cover;">
<view class="select_box" style="margin-top:812rpx;">
<view catchtap="change_cover" catchtap="save_poster" class="b_item">保存到相册</view>
<button class="b_item" open-type="share">发送给朋友</button>
</view>
</view>
</view>
<view class="c_item" wx:if="{{join_info.camera.length>0}}">
<view class="c_title">摄影(设备自带</view>
<view class="c_box">
<view class="i_info {{join_info.camera.length>3 && index<join_info.camera.length-2?'line':''}}" wx:for="{{join_info.camera}}" wx:key="index" data-type="{{item.status =='已通过'?'1':0}}" data-user_id="{{item.user_id}}" bindtap="look_more">
<image src="{{item.photo}}" mode="aspectFill" />
<view class="name">李强</view>
<view class="status" wx:if="{{item.status =='已通过'}}" style="background: #41CD79;">已通过</view>
<view class="status" wx:else style="background: #F84141;">未通过</view>
</view>
</view>
</view>
<view class="c_item" wx:if="{{join_info.photo.length>0}}">
<view class="c_title">摄像(设备自带</view>
<view class="c_box">
<view class="i_info {{join_info.photo.length>3 && index<join_info.photo.length-2?'line':''}}" wx:for="{{join_info.photo}}" wx:key="index" data-type="{{item.status =='已通过'?'1':0}}" data-user_id="{{item.user_id}}" bindtap="look_more">
<image src="{{item.photo}}" mode="aspectFill" />
<view class="name">李强</view>
<view class="status" wx:if="{{item.status =='已通过'}}" style="background: #41CD79;">已通过</view>
<view class="status" wx:else style="background: #F84141;">未通过</view>
</view>
</view>
</view>
<view class="c_item" wx:if="{{join_info.motorcade.length>0}}">
<view class="c_title">爱心车队</view>
<view class="c_box">
<view class="i_info {{join_info.motorcade.length>3 && index<join_info.motorcade.length-2?'line':''}}" wx:for="{{join_info.motorcade}}" wx:key="index" data-type="{{item.status =='已通过'?'1':0}}" data-user_id="{{item.user_id}}" bindtap="look_more">
<image src="{{item.photo}}" mode="aspectFill" />
<view class="name">李强</view>
<view class="status" wx:if="{{item.status =='已通过'}}" style="background: #41CD79;">已通过</view>
<view class="status" wx:else style="background: #F84141;">未通过</view>
</view>
</view>
</view>
<view class="c_item" wx:if="{{join_info.question.length>0}}">
<view class="c_title">线上答疑</view>
<view class="c_box">
<view class="i_info {{join_info.question.length>3 && index<join_info.question.length-2?'line':''}}" wx:for="{{join_info.question}}" wx:key="index" data-type="{{item.status =='已通过'?'1':0}}" data-user_id="{{item.user_id}}" bindtap="look_more">
<image src="{{item.photo}}" mode="aspectFill" />
<view class="name">李强</view>
<view class="status" wx:if="{{item.status =='已通过'}}" style="background: #41CD79;">已通过</view>
<view class="status" wx:else style="background: #F84141;">未通过</view>
</view>
</view>
</view>
<view class="c_item" wx:if="{{join_info.ill.length>0}}">
<view class="c_title">门诊服务</view>
<view class="c_box">
<view class="i_info {{join_info.ill.length>3 && index<join_info.ill.length-2?'line':''}}" wx:for="{{join_info.ill}}" wx:key="index" data-type="{{item.status =='已通过'?'1':0}}" data-user_id="{{item.user_id}}" bindtap="look_more">
<image src="{{item.photo}}" mode="aspectFill" />
<view class="name">李强</view>
<view class="status" wx:if="{{item.status =='已通过'}}" style="background: #41CD79;">已通过</view>
<view class="status" wx:else style="background: #F84141;">未通过</view>
</view>
</view>
</view>
<view class="c_item" wx:if="{{join_info.ill.service>0}}">
<view class="c_title">现场服务(签到、指引、礼仪等</view>
<view class="c_box">
<view class="i_info {{join_info.service.length>3 && index<join_info.service.length-2?'line':''}}" wx:for="{{join_info.service}}" wx:key="index" data-type="{{item.status =='已通过'?'1':0}}" data-user_id="{{item.user_id}}" bindtap="look_more">
<image src="{{item.photo}}" mode="aspectFill" />
<view class="name">李强</view>
<view class="status" wx:if="{{item.status =='已通过'}}" style="background: #41CD79;">已通过</view>
<view class="status" wx:else style="background: #F84141;">未通过</view>
</view>
</view>
</view>