Commit 2e78dbb6 authored by Edwise's avatar Edwise 🍷

123

parent 235e2bac
No preview for this file type
This diff is collapsed.
......@@ -105,6 +105,7 @@ Page({
/**获取活动时间 */
getActivtyTime() {
if(app.activityInfo){
const {
startTime,
endTime
......@@ -114,6 +115,12 @@ Page({
this.setData({
activtyTime: '活动时间:' + startStr + '-' + endStr
})
}else{
this.setData({
activtyTime: '活动已结束'
})
}
},
// 转换时间
......
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