Commit c49d92b8 by doszhang

dos

parent fb933e17
...@@ -108,7 +108,7 @@ $(document).ready(function () { ...@@ -108,7 +108,7 @@ $(document).ready(function () {
} }
$.getJSON('https://service-gsevjgkv-1259141669.ap-beijing.apigateway.myqcloud.com/release/nlp?callback=?', 'text=' + text, function (res) { $.getJSON('https://service-gsevjgkv-1259141669.ap-beijing.apigateway.myqcloud.com/release/nlp?callback=?', 'text=' + text, function (res) {
text = res.text; text = res.text;
$('.swiperBox,.L-arrow,.R-arrow,.make,.username,.upload').hide(); $('.swiperBox,.make,.username,.upload').hide();
$('.again,.saveTip').show(); $('.again,.saveTip').show();
var img, canvas2, ctx2; var img, canvas2, ctx2;
if (custom) { if (custom) {
...@@ -131,15 +131,15 @@ $(document).ready(function () { ...@@ -131,15 +131,15 @@ $(document).ready(function () {
var top = 0; var top = 0;
if (custom) { if (custom) {
top = 530; top = 530;
ctx2.fillStyle = '#171e22'; ctx2.fillStyle = '#ffffff';
ctx2.font = 'bold 140px normal'; ctx2.font = 'bold 103px normal';
} else if (firstSwiper.realIndex === 0) { } else if (firstSwiper.realIndex === 0) {
top = 460; top = 460;
ctx2.fillStyle = '#171e22'; ctx2.fillStyle = '#ffffff';
ctx2.font = 'bold 130px normal'; ctx2.font = 'bold 130px normal';
} else { } else {
top = 50; top = 50;
ctx2.fillStyle = '#171e22'; ctx2.fillStyle = '#ffffff';
ctx2.font = 'bold 130px normal'; ctx2.font = 'bold 130px normal';
} }
......
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