|
@@ -53,7 +53,8 @@
|
|
|
<img class="bg" src="" alt="" crossorigin="anonymous">
|
|
|
<div class="baocun">长按保存,并分享至朋友圈</div>
|
|
|
<div class="code">
|
|
|
- <img src="../image/question/2.jpg" alt="">
|
|
|
+ <!--测试二维码 上线需要改-->
|
|
|
+ <img src="../image/question/code.jpg" alt="">
|
|
|
<div class="text">
|
|
|
<span>长按识别二维码</span>
|
|
|
<span>即可获得小学课文朗读配音奖品</span>
|
|
@@ -106,11 +107,11 @@
|
|
|
})
|
|
|
ctx.restore();
|
|
|
}
|
|
|
- // 1.5s后生成图片
|
|
|
+ // 2.5s后生成图片
|
|
|
setTimeout(function() {
|
|
|
var dataURL = canvas.toDataURL("image/jpeg",1.0);
|
|
|
$('.bg').attr('src', dataURL)
|
|
|
- }, 1500)
|
|
|
+ }, 2500)
|
|
|
return false;
|
|
|
}
|
|
|
data.questionId = result.data.question.id;
|