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