|
|
@@ -53,20 +53,7 @@ Page({ |
|
|
|
endTime: util.formatTime(res.data.activity.endTime, "yyyy-MM-dd hh:mm:ss") |
|
|
|
}) |
|
|
|
if (res.data.activity.type == 2) { |
|
|
|
wx.request({ |
|
|
|
url: configUrls + config.api.acPrintHtmlById, |
|
|
|
data: { |
|
|
|
id: options.id, |
|
|
|
date: new Date(), |
|
|
|
token: app.globalData.token, |
|
|
|
}, |
|
|
|
header: { |
|
|
|
'content-type': 'application/html' |
|
|
|
}, |
|
|
|
success: function(res) { |
|
|
|
var temp = WxParse.wxParse('article', 'html', res.data, that, 5); |
|
|
|
} |
|
|
|
}) |
|
|
|
var temp = WxParse.wxParse('article', 'html', res.data.activity.html, that, 5); |
|
|
|
} |
|
|
|
} |
|
|
|
}).catch(err => { |
|
|
|