Commit 32b36fc2 by txy

'活动名称'

parent fea79a8f
......@@ -190,4 +190,30 @@ function isSignUp(successCallback,errorCallback) {
transPage('2',activityCode,_t);
}
}
}
// 获取活动名称
function getActivityTitle() {
var activityCode = getQueryString('activityCode');
var params = {
activityCode: activityCode
}
$.ajax({
type: 'GET',
url: baseUrl + '/ACTIVITY/'+ activityCode +'/settings',
data: params,
success: function(data) {
if(data.status == 200) {
var title = data.result.settings.szText.h5Title;
document.title = title;
}
},
error: function() {
$.dialog({
type : 'tips',
autoClose : 3000,
infoText : '请求超时,请尝试刷新页面!'
});
}
})
}
\ No newline at end of file
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