myactivity_active.wxml
1.8 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
<!--pages/myactivity/myactivity_active/myactivity_active.wxml-->
<view class="myactivity_active">
<view class="myactivity_s">参与的活动:{{list.activity_name}}</view>
<view class="myactivity_s"> 时间:{{list.start_clock_time}}-{{list.end_clock_time}}</view>
<view class="myactivity_s">我的当前位置:{{list.address}}</view>
<view class="myactivity_wrap">
<view class="myactivity_starttime">
<view>上岗打卡{{list.start_clock_time}}</view>
<view class="state">{{list.user_start_text}} {{list.start_status}}</view>
</view>
<view class="myactivity_starttime">
<view>下岗打卡{{list.end_clock_time}}</view>
<view class="state">{{list.user_end_text}} {{list.end_status}}</view>
</view>
</view>
<!-- 打卡 -->
<view class="myactivity_start" bindtap="getpunch" wx:if="{{list.status==0}}">
<view>上岗打卡</view>
<view>{{time}}</view>
</view>
<view class="myactivity_start" bindtap="getEnd" wx:if="{{list.status==1}}">
<view>下岗打卡</view>
<view>{{time}}</view>
</view>
<view class="myactivity_end" wx:if="{{list.status==2}}">
<image src="/imgs/wancheng.png"></image>
<view>已完成打卡</view>
<view>感谢您参加本次公益活动 爱上一盏灯,照亮你我他</view>
</view>
<view></view>
</view>
<!-- 提示 -->
<view class="tishi_wrap" hidden="{{hiddenName}}">
<view class="tishi">
<view>
<image src="/imgs/tishi-3@2x.png"></image>
提示
</view>
<image bindtap="click" style="width:20rpx;height:20rpx;" src="/imgs/tishiclear.png"></image>
</view>
<view class="tishi_text">活动地址:{{list.address}},请在距地址500米内打卡</view>
</view>