|
@@ -34,10 +34,12 @@ Component({
|
|
|
*/
|
|
|
methods: {
|
|
|
async getActivities() {
|
|
|
+ this.data.dsqList.forEach(item => {
|
|
|
+ clearInterval(item)
|
|
|
+ })
|
|
|
let activityList = await getActivities({
|
|
|
classify: this.properties.classify
|
|
|
})
|
|
|
- console.log(activityList);
|
|
|
this.setData({
|
|
|
activityList
|
|
|
})
|
|
@@ -63,7 +65,6 @@ Component({
|
|
|
var nowTime = new Date();
|
|
|
//把剩余时间毫秒数转化为秒
|
|
|
var times = (inputTime - nowTime) / 1000;
|
|
|
- // console.log(times);
|
|
|
if (times <= 0) {
|
|
|
this.setData({
|
|
|
[`activityList[${index}].hour`]: '00',
|
|
@@ -113,10 +114,6 @@ Component({
|
|
|
})
|
|
|
}
|
|
|
if (type == 5) {
|
|
|
- console.log(type,
|
|
|
- id,
|
|
|
- title,
|
|
|
- explain);
|
|
|
wx.navigateTo({
|
|
|
url: `/pages/match/index?activityId=${id}`,
|
|
|
})
|
|
@@ -131,7 +128,6 @@ Component({
|
|
|
currentTarget
|
|
|
}) {
|
|
|
let info = currentTarget.dataset.info
|
|
|
- console.log(currentTarget.dataset.info);
|
|
|
if (info.finish) {
|
|
|
return
|
|
|
}
|