Commit 91f31a25 by doszhang

dos

parent 265b076c
......@@ -362,6 +362,7 @@ function createPoster(callback) {
$('.posterImg').attr('src', 'http://maf.dev.izhida.cn/Public/static/image2/poster' + resultType + '.png');
// if (!browser.versions.weixin) {
if (0) {
$('.dialog').hide();
posterStatus = true;
callback();
return false;
......@@ -392,6 +393,7 @@ function createPoster(callback) {
txtDraw(posterCtx, '@' + window.nickname, designPxToRealPx(canvasArr[resultType - 1][5] + 128), designPxToRealPx(canvasArr[resultType - 1][4] + 84), designPxToRealPx(20), 'normal', canvasArr[resultType - 1][6]);
$('.posterImg').attr('src', getManBase64(posterCanvas));
posterStatus = true;
$('.dialog').hide();
callback();
}
}
......@@ -457,6 +459,7 @@ function submitAnswer() {
$('.question' + nowQuestionIndex + '-block').addClass('fadeoutleft');
setTimeout(function () {
$('.dialog').show();
$('.question' + nowQuestionIndex + '-block').removeClass('fadeoutleft').hide();
$('#notification_area').remove();
my_notify('海报生成中,请稍候', 9999999);
......
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 sign in to comment