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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
<!--pages/index/index.wxml-->
<custom-navi text="全国教育志愿服务公共服务平台" back="{{false}}" home="{{false}}" background="#FF82AB" color="#FFD700"></custom-navi>
<view class='indexBox'>
<view class="indexHeader">
<text class="title">今日测试家园共育学校</text>
<view class='header_user' bindtap='authorize'>
<image src='{{headerImg}}'></image>
<text>{{roleTitle}}欢迎回来</text>
</view>
</view>
<view class='con_indexHeader'>
<image src='../../img/conHeader.jpg' mode="widthFix"></image>
</view>
<view class='entrance' wx:if="{{!isMember}}">
<view class="bgColor">
<image class="logo_img" src='/img/logo.png'></image>
<view bindtap='memberChange'>
<text>志愿者正式会员申请入口</text>
<image class="right_img" src="/img/right.png"></image>
</view>
</view>
</view>
<view class='girdList'>
<view bindtap="volunteers">
<image src='/img/zyhd.png'></image>
<view>志愿活动</view>
</view>
<!-- <view wx:if="{{showSocial}}" bindtap="socialEvent">
<image src='../../img/2.png'></image>
<view>社会实践</view>
</view>
<view wx:if="{{showFamily}}" bindtap="familyEvent">
<image src='../../img/2.png'></image>
<view>亲子活动</view>
</view> -->
<view bindtap="familyEvent">
<image src='/img/zxdy.png'></image>
<view>在线答疑</view>
</view>
<view bindtap="mediaCourse">
<image src='/img/gykt.png'></image>
<view>公益课堂</view>
</view>
<!-- <view wx:if="{{showNews}}" bindtap="news">
<text class="messageCount" wx:if="{{unreadMessageCount>0}}">{{unreadMessageCount}}</text>
<image src='../../img/4.png'></image>
<view>消息通知</view>
</view> -->
<view bindtap="">
<image src='/img/zyyw.png'></image>
<view>志愿要闻</view>
</view>
<!-- <view bindtap="area" wx:if="{{role==4}}">
<image src='../../img/4.png'></image>
<view>区域管理</view>
</view> -->
</view>
<view class='volunteers'>
<!-- 志愿要闻 -->
<!-- <view class='topTitle' wx:if="{{isvolunteerEventList}}">
<view class='leftLine' style="border-left: 5px solid #eb5e76;"></view>
<text class="title">志愿要闻</text>
<view class='lookmore' bindtap='moreVolunteers'>
<text>全部</text>
<image src="/img/right.png"></image>
</view>
</view>
<view class='listActivity'>
<view class="activity" bindtap='volunteersEventDetail' wx:for="{{volunteerEventList}}" data-index='{{item.id}}' wx:key="{{index}}">
<view class='activityContent'>
<image src='/img/homePage/1.png' mode="widthFix"></image>
<text class="bottom_title">【志愿精神】武汉一线青年志愿者说:“我愿意...</text>
</view>
<view class="text1">
<view>【志愿精神】与我爱的城市共度抗疫岁月——对话90后志愿者</view>
<image src='/img/homePage/1_1.jpg'></image>
</view>
<view class="borderLine"></view>
<view class="text2">
<view>【领会精神】吉林青年志愿者宣讲总书记新年贺词,传播新时代奋进强音</view>
<image src='/img/homePage/1_2.jpg'></image>
</view>
</view>
</view> -->
<view class='topTitle'>
<view class='leftLine' style="border-left: 5px solid #eb5e76;"></view>
<text class="title">志愿要闻</text>
<view class='lookmore' bindtap='moreVolunteers'>
<text>全部</text>
<image src="/img/right.png"></image>
</view>
</view>
<view class='listActivity'>
<view class="activity" bindtap='volunteersEventDetail'>
<view class='activityContent'>
<!-- <text class="top_title">{{item.status_title}}</text> -->
<!-- <image src='{{item.front_image}}' mode="widthFix"></image>
<text class="bottom_title">{{item.title}}</text> -->
<image src='/img/homePage/1.png' mode="widthFix"></image>
<text class="bottom_title">【志愿精神】武汉一线青年志愿者说:“我愿意...</text>
</view>
<view class="text1">
<view>【志愿精神】与我爱的城市共度抗疫岁月——对话90后志愿者</view>
<image src='/img/homePage/1_1.jpg'></image>
</view>
<view class="borderLine"></view>
<view class="text2">
<view>【领会精神】吉林青年志愿者宣讲总书记新年贺词,传播新时代奋进强音</view>
<image src='/img/homePage/1_2.jpg'></image>
</view>
</view>
</view>
<!-- 最新活动 -->
<!-- <view class='topTitle' wx:if="{{isvolunteerEventList}}">
<view class='leftLine' style="border-left: 5px solid #eb5e76;"></view>
<text class="title">最新活动</text>
<view class='lookmore' bindtap='moreVolunteers'>
<text>全部</text>
<image src="/img/right.png"></image>
</view>
</view> -->
<view class='topTitle'>
<view class='leftLine' style="border-left: 5px solid #eb5e76;"></view>
<text class="title">最新活动</text>
<view class='lookmore' bindtap='moreVolunteers'>
<text>全部</text>
<image src="/img/right.png"></image>
</view>
</view>
<view class='listActivity'>
<!-- <view class="activity" bindtap='volunteersEventDetail' wx:for="{{volunteerEventList}}" data-index='{{item.id}}' wx:key="{{index}}">
<view class='activityContent'>
<text class="top_title">{{item.status_title}}</text>
<image src='{{item.front_image}}' mode="widthFix"></image>
<text class="bottom_title">{{item.title}}</text>
</view>
<text class="enroll_time">报名截止:{{item.enroll_time}}</text>
</view> -->
<view class="activity" bindtap='volunteersEventDetail'>
<view class='activityContent'>
<text class="top_title">征集中</text>
<image src='/img/homePage/2.png' mode="widthFix"></image>
<text class="bottom_title">周末图书馆清洁活动</text>
</view>
<text class="enroll_time">报名截止:2020.4.21</text>
</view>
<view class="activity" bindtap='volunteersEventDetail'>
<view class='activityContent'>
<text class="top_title" style="background:#0a9a7b">已报名</text>
<image src='/img/homePage/3.png' mode="widthFix"></image>
<text class="bottom_title">周末图书馆清洁活动</text>
</view>
<text class="enroll_time">报名截止:2020.4.21</text>
</view>
</view>
<!-- 社会实践 -->
<!-- <view class='practice'>
<view class='topTitle' wx:if="{{showSocial}}">
<view class='leftLine'></view>
<text class="title">社会实践</text>
</view>
<view class='listActivity'>
<view class="activity" wx:for="{{socialEventList}}" bindtap='socialEventDetail' wx:key="{{index}}" data-index="{{item.event_id}}">
<view class='activityContent'>
<image src='{{item.front_image}}' mode="widthFix"></image>
<text class="bottom_title">{{item.title}}</text>
</view>
<text class="enroll_time">{{item.publish_time}}</text>
</view>
</view>
</view> -->
<!-- 在线答疑 -->
<!-- <view class='qingzi'>
<view class='topTitle' wx:if="{{showFamily}}">
<view class='leftLine'></view>
<text class="title">在线答疑</text>
</view>
<view class='listActivity'>
<view class="activity" wx:for="{{familyEventList}}" bindtap='familyEventDetail' wx:key="{{index}}" data-index="{{item.event_id}}">
<view class='activityContent'>
<image src='{{item.front_image}}' mode="widthFix"></image>
<text class="bottom_title">{{item.title}}</text>
</view>
<text class="enroll_time">发布时间:{{item.publish_time}}\n</text>
</view>
</view>
</view> -->
<!-- 公益课堂 wx:if="{{ismediaList}}" -->
<view class='publicWelfare'>
<view class='topTitle'>
<view class='leftLine' style="border-left: 5px solid #eb5e76;"></view>
<text class="title">公益课堂</text>
<view class='lookmore' bindtap='moreVolunteers'>
<text>全部</text>
<image src="/img/right.png"></image>
</view>
</view>
<view class='listActivity'>
<!-- <view class="activity" wx:for="{{mediaList}}" wx:key="{{index}}" bindtap='classDetails' data-index="{{item.id}}">
<view class='activityContent'>
<image src='{{item.front_image}}' mode="widthFix"></image>
</view>
<view class="class_info">
<view>
<image src="/img/hot.png"></image>
<text>主讲教师:{{item.teacher}}</text>
</view>
<view>
<image src="/img/shoucang.png"></image>
<text>小学课程</text>
</view>
<text class="watch">{{item.view_count}}观看</text>
</view>
</view> -->
<view class="activity" bindtap='classDetails'>
<view class='activityContent'>
<image src='/img/homePage/4.png' mode="widthFix"></image>
</view>
<view class="class_info">
<view>
<image src="/img/hot.png"></image>
<text>主讲教师:陈老师</text>
</view>
<view>
<image src="/img/shoucang.png"></image>
<text>小学课程</text>
</view>
<text class="watch">10000 观看</text>
</view>
</view>
<view class="activity" bindtap='classDetails'>
<view class='activityContent'>
<image src='/img/homePage/5.png' mode="widthFix"></image>
</view>
<view class="class_info">
<view>
<text>主讲教师:李老师</text>
</view>
<view>
<image src="/img/shoucang.png"></image>
<text>初中课程</text>
</view>
<text class="watch">10000 观看</text>
</view>
</view>
</view>
</view>
</view>
</view>
<van-dialog id="van-dialog" />