Commit aa3791fc by doszhang

dos

parent cd6557e4
...@@ -13,7 +13,7 @@ return array( ...@@ -13,7 +13,7 @@ return array(
'AUTH_CLIENT_ID' => 'zhida_app', 'AUTH_CLIENT_ID' => 'zhida_app',
'AUTH_CLIENT_PASSWORD' => 'izhida', 'AUTH_CLIENT_PASSWORD' => 'izhida',
/* CDN路径配置。配置之后可以在模版文件中使用__CDN__ */ /* CDN路径配置。配置之后可以在模版文件中使用__CDN__ */
'__CDN__' => 'https://static3.izhida.cn/cdn1/chinaamc-2020flag/v1.0.7', '__CDN__' => 'https://static3.izhida.cn/cdn1/chinaamc-2020flag/v1.0.9',
// '__CDN__' => '/Public/static', // @readme <-- 上线时修改这里 // '__CDN__' => '/Public/static', // @readme <-- 上线时修改这里
'URL_MODEL' => 3, 'URL_MODEL' => 3,
'STORAGE_PATH' => WEB_ROOT_PATH . '/Data/Storage', 'STORAGE_PATH' => WEB_ROOT_PATH . '/Data/Storage',
......
...@@ -485,7 +485,7 @@ function createPoster() { ...@@ -485,7 +485,7 @@ function createPoster() {
flagTextDraw(posterCtx, signature, pxToRem(40 * 2), '#222222', pxToRem(230 * 2), (bottomHalfTop + pxToRem(103)) * 2, 'font'); flagTextDraw(posterCtx, signature, pxToRem(40 * 2), '#222222', pxToRem(230 * 2), (bottomHalfTop + pxToRem(103)) * 2, 'font');
flagTextDraw(posterCtx, getTime(), pxToRem(20 * 2), '#222222', pxToRem(230 * 2), (bottomHalfTop + pxToRem(136)) * 2); flagTextDraw(posterCtx, getTime(), pxToRem(20 * 2), '#222222', pxToRem(230 * 2), (bottomHalfTop + pxToRem(136)) * 2);
setTimeout(function () { setTimeout(function () {
$('.posterImg').css('height', pxToRem(posterCanvasHeight)).attr('src', getManBase64(posterCanvas)); $('.posterImg').attr('src', getManBase64(posterCanvas)).css('height', pxToRem(posterCanvasHeight));
}, 1000); }, 1000);
} }
...@@ -520,7 +520,7 @@ function drawFlagItem(initialPosition) { ...@@ -520,7 +520,7 @@ function drawFlagItem(initialPosition) {
function showPosterPage() { function showPosterPage() {
$('.effect-page').fadeOut(300); $('.effect-page').fadeOut(300);
$('.wrap-inner').css('top', '0').css('transform', 'translate(0,0)'); // $('.wrap-inner').css('top', '0').css('transform', 'translate(0,0)');
$('.poster-page').show(); $('.poster-page').show();
} }
......
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