Commit 98130802 by doszhang

dos

parent 34b526f4
......@@ -71,6 +71,7 @@ $(document).ready(function () {
}
})
$('.again').on('click', function () {
$('.swiperBox,.L-arrow,.R-arrow,.make,.username,.upload').show();
$('.page').hide().filter('.page0').show();
})
$('.make').on('click', function () {
......@@ -94,7 +95,6 @@ $(document).ready(function () {
}
$.getJSON('https://service-gsevjgkv-1259141669.ap-beijing.apigateway.myqcloud.com/release/nlp?callback=?', 'text=' + text, function (res) {
text = res.text;
console.log(text)
$('.swiperBox,.L-arrow,.R-arrow,.make,.username,.upload').hide();
$('.again,.saveTip').show();
var img, canvas2, ctx2;
......@@ -110,7 +110,6 @@ $(document).ready(function () {
ctx2 = canvas2.getContext('2d');
ctx2.scale(2, 2);
canvas2.height = img.height;
console.log(img.height);
canvas2.width = img.width;
ctx2.drawImage(img, 0, 0);
}
......
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