Commit c7b282ce by doszhang

dos

parent 729aadc9
......@@ -118,8 +118,7 @@ $(document).ready(function () {
var top = 0;
if (custom) {
console.log('555555555555')
top = 50;
top = 440;
ctx2.fillStyle = '#000000';
ctx2.font = 'bolder 70px fzlt';
} else if (firstSwiper.realIndex === 0) {
......@@ -249,7 +248,7 @@ var init = function () {
var drawImage = function () {
if (uploadedImg) {
ctx.save();
ctx.clearRect(0, 0, canvas.width, canvas.height);
// ctx.clearRect(0, 0, canvas.width, canvas.height);
ctx.fillStyle = "#ffffff";
ctx.fillRect(0, 0, canvas.width, canvas.height);
ctx.translate(canvas.width / 2, canvas.height / 2);
......@@ -260,7 +259,7 @@ var drawImage = function () {
ctx.restore();
}
var img = loadedImages[window.base_resource_url + '/image2/cover/3.png'];
// ctx.drawImage(img, 0, 0);
ctx.drawImage(img, 0, 0);
}
var showPage1 = function () {
custom = false;
......
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