diff --git a/subpages/heart/pages/heartDetail/heartDetail.js b/subpages/heart/pages/heartDetail/heartDetail.js
index 9cdfce9..a72558a 100644
--- a/subpages/heart/pages/heartDetail/heartDetail.js
+++ b/subpages/heart/pages/heartDetail/heartDetail.js
@@ -24,8 +24,10 @@ Page({
cancelSignupTipVisible: false,
selectedTab:'',//用来判断详情是否显示志愿者打卡
preloadVisible: true,
+ timeJudge:false,//根据当前时间比较活动结束时间,判断活动是否已经结束,用以判断显示订单多多里面的志愿者
},
onLoad: function(options) {
+ console.log("当前时间"+getTimestamp())
this.setData({
id: options.id,
actCurrentState: options.actcurrentstate,
@@ -50,6 +52,7 @@ Page({
actStartTime: res.data.actStartTime.substring(0, 16),
actEndTime: res.data.actEndTime.substring(0, 16),
signupEndTime: res.data.signupEndTime.substring(0, 16),
+ timeJudge: getTimestamp() > res.data.actEndTime.substring(0, 16) ? true : false,
preloadVisible:false
})
}
diff --git a/subpages/heart/pages/heartDetail/heartDetail.wxml b/subpages/heart/pages/heartDetail/heartDetail.wxml
index 77bb63c..909bf6c 100644
--- a/subpages/heart/pages/heartDetail/heartDetail.wxml
+++ b/subpages/heart/pages/heartDetail/heartDetail.wxml
@@ -8,7 +8,7 @@
-
+
@@ -105,7 +105,7 @@
+ class="require {{selectedTab == 'tab0' && detail.currentUserStatus != 6 && timeJudge ? 'margin-bottom' : ''}} {{detail.currentUserStatus == 0||detail.currentUserStatus == 1||detail.currentUserStatus == 2||detail.currentUserStatus == 3? 'margin-bottom':''}}">
@@ -128,74 +128,150 @@
-
-
-
-
-
-
- 志愿者打卡
-
-
- {{clockNum}}次
+
+
+
+
+
+
+
+
+
+
+ 志愿者打卡
+
+
+ {{clockNum}}次
+
-
-
-
-
-
-
-
-
- {{item.nickname}}
- {{item.createdTime}}
+
+
+
+
+
+
+
+ {{item.nickname}}
+ {{item.createdTime}}
+
+
+ {{item.clockDesc}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 志愿者打卡
-
- {{item.clockDesc}}
+
+ {{clockNum}}次
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ {{item.nickname}}
+ {{item.createdTime}}
+
+
+ {{item.clockDesc}}
+
+
-
-
-
-
+ -->
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
-
-
-
-
+
+
+
+
+