|
@@ -33,7 +33,8 @@ Page({
|
|
this.setData({
|
|
this.setData({
|
|
data:res.data.data,
|
|
data:res.data.data,
|
|
id:options.id,
|
|
id:options.id,
|
|
- status:options.status
|
|
|
|
|
|
+ status:options.status,
|
|
|
|
+ time:res.data.data.time_limit
|
|
})
|
|
})
|
|
if(options.status == 1) return
|
|
if(options.status == 1) return
|
|
this.countDown(res.data.data.time_limit)
|
|
this.countDown(res.data.data.time_limit)
|
|
@@ -73,7 +74,7 @@ Page({
|
|
status:0,
|
|
status:0,
|
|
rePost:1
|
|
rePost:1
|
|
})
|
|
})
|
|
- this.countDown(res.data.data.time_limit)
|
|
|
|
|
|
+ this.countDown(this.data.time)
|
|
},
|
|
},
|
|
answer:function(e){
|
|
answer:function(e){
|
|
let id = e.target.dataset.id, value = e.detail.value
|
|
let id = e.target.dataset.id, value = e.detail.value
|