天与地在线收看,">天与地迅雷下载" /> 天与地剧情:得一笔奖学金资助,张一鹏(刘德华)获得去法国留学深造的机会,学成归国后,他被任命为上海市禁烟(鸦片)行动的第一专员。 张在法经西方文化与价值观熏陶,十分书生意气,刚携妻子(陈少霞)来到上海,便展" />
Copyright © 2018
天与地";ctx.font="normal normal 400 "+(16*ratio)+"px Microsoft YaHei";var lineHeight1=20;var lineCount1=canvasTextAutoLine(title,c,30*ratio,(c_width/ scale + 5) * ratio, lineHeight1 * ratio, (c_width /2+40)*ratio);var top0=c_width/scale+10+(lineCount1+1)*lineHeight1;var summary="得一笔奖学金资助,张一鹏(刘德华)获得去法国留学深造的机会,学成归国后,他被任命为上海市禁烟(鸦片)行动的第一专员。 张在法经西方文化与价值观熏陶,十分书生意气,刚携妻子(陈少霞)来到上海,便展开一系列动作,不知中国与西方国家国情有别,难有健全的法律体系及社会秩序:警察署长倪坤(顾宝明)和大毒枭戴济民(刘松仁)是拜把兄弟,两人一起控制着包括贩卖鸦片在内的上海所有的非法交易,见数次向张行贿无果,他们发毒誓要让张生不如死。";var strlength=80;var sumlength=summary.length;summary=summary.substring(0,strlength);if(sumlength>strlength){summary+='......'}ctx.font="normal normal 400 "+(12*ratio)+"px Microsoft YaHei";ctx.fillStyle="#999";var lineHeight2=14;var lineCount2=canvasTextAutoLine(summary,c,30*ratio,top0*ratio,lineHeight2*ratio,(c_width/2+40)*ratio);let baseSrc=document.querySelector("#qrcode2 img");var top4=c_width/scale+10-lineHeight1;ctx.drawImage(baseSrc,(c_width-120)*ratio,top4*ratio,80*ratio,80*ratio);var top3=top4+100;var url="www.baomitv.com";ctx.fillText(url,(c_width/2+30)*ratio,top3*ratio);var tip="长按图片识别二维码观看";ctx.fillText(tip,(c_width/2+10)*ratio,(top3+20)*ratio);var logo=$('#posterlogo')[0];var top2=top3+30;ctx.drawImage(logo,(c_width/2+20)*ratio,top2*ratio,110*ratio,36*ratio);var left_e=c_width/scale+(lineCount1+1)*lineHeight1+(lineCount2+1)*lineHeight2;var top1_e=top2+36;if(left_e>top1_e){top1_e=left_e+35;console.log("a"+top1_e)}else{top1_e=top2+90;console.log("b"+top1_e)}var top1_s=c_width/scale-lineHeight1-6;ctx.setLineDash([2,4]);ctx.lineWidth=2;ctx.strokeStyle='#999';ctx.beginPath();ctx.moveTo((c_width/2)*ratio,top1_s*ratio);ctx.lineTo((c_width/2)*ratio,top1_e*ratio);ctx.stroke();var imgData=ctx.getImageData(0,0,c.width,c.height);c.width=c_width*ratio;c.height=top1_e*ratio;ctx.putImageData(imgData,0,0);if(!stui.browser.useragent.mobile){var picImg=convertCanvasToImage(c);picImg.src=picImg.src.replace('image/png','image/octet-stream');$(".fenxiang").on('click',function(){saveFile(picImg.src,"">天与地.png")})}}$(function(){let isCreate=true;$("#modal-poster").modal('hide');$("#createPoster").click(function(){if(isCreate){drawPoster();$("#posterlogo").remove();var c=document.getElementById("poster");var pimg=convertCanvasToImage(c);if(stui.browser.useragent.mobile){zoomPicture($("#posterImg"),pimg,c,"">天与地");$("#modal-poster .stui-modal__dialog").css({"margin":"50px auto"});$(".fenxiang").html("分享海报").css({"position":"absolute","bottom":"-40px","left":0,"background-color":"#f90","color":"#fff","font-size":"18px","line-height":"40px","width":"100%","text-align":"center","text-indent":"-18px"})}else{$("#posterImg").append(pimg);$("#posterImg").css('width',c.width);$("#modal-poster .stui-modal__dialog").css({"margin":"20px auto"});$(".fenxiang").html("分享海报").css({"position":"absolute","bottom":"-40px","left":0,"background-color":"#f90","color":"#fff","font-size":"18px","line-height":"40px","width":"100%","text-align":"center"})}c.style.display="none";isCreate=false}$("#modal-poster").modal('show');$('body').removeClass('modal-open')})});