Commit ba522e62 authored by Mac's avatar Mac

半天时间修改

parent 1a81742d
...@@ -134,18 +134,20 @@ ...@@ -134,18 +134,20 @@
icon:'none' icon:'none'
}) })
}else{ }else{
if((stillT-quT)>(12*3600)){ if((stillT-quT)>(6*3600)){
uni.showToast({ uni.showToast({
title:'使用使用不能大于半天', title:'使用使用不能大于半天',
icon:'none' icon:'none'
}) })
return
} }
} }
}else if(this.use_day==1 && (stillT-quT)<(12*3600)){ }else if(this.use_day==1 && (stillT-quT)<(6*3600)){
uni.showToast({ uni.showToast({
title:'使用时间大于半天', title:'使用时间大于半天',
icon:'none' icon:'none'
}) })
return
} }
let pages = getCurrentPages(); // 当前页面 let pages = getCurrentPages(); // 当前页面
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment