Commit 0ad3b137 by doszhang

dos

parent 9ab332b7
...@@ -138,6 +138,8 @@ $(document).ready(function () { ...@@ -138,6 +138,8 @@ $(document).ready(function () {
}); });
function createPoster() { function createPoster() {
$('.poster-bg').hide();
$('.poster-bg-' + resultType).show();
$('.poster-canvas-block').css({ $('.poster-canvas-block').css({
'width': pxToRem(canvasArr[resultType][2]) + 'rem', 'width': pxToRem(canvasArr[resultType][2]) + 'rem',
'height': pxToRem(canvasArr[resultType][3]) + 'rem', 'height': pxToRem(canvasArr[resultType][3]) + 'rem',
......
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