Commit 9a8b525f by doszhang

dos

parent a6f5b53c
...@@ -94,15 +94,15 @@ const fontSize = parseFloat($('html').css('fontSize')); ...@@ -94,15 +94,15 @@ const fontSize = parseFloat($('html').css('fontSize'));
//canvas 位置 //canvas 位置
let canvasArr = [ let canvasArr = [
//left top width height headleft headtop color //left top width height headleft headtop color 统计id
[46, 240, 1214, 1814, 36, 42, '#0f5188'], [46, 240, 1214, 1814, 36, 42, '#0f5188', '19'],
[58, 240, 1164, 1800, 34, 30, '#0f5188'], [58, 240, 1164, 1800, 34, 30, '#0f5188', '20'],
[58, 240, 1164, 1748, 34, 30, '#ffffff'], [58, 240, 1164, 1748, 34, 30, '#ffffff', '21'],
[58, 240, 1206, 1808, 34, 30, '#ffffff'], [58, 240, 1206, 1808, 34, 30, '#ffffff', '22'],
[58, 240, 1164, 1740, 34, 30, '#ffffff'], [58, 240, 1164, 1740, 34, 30, '#ffffff', '23'],
[58, 240, 1164, 1808, 34, 30, '#0f5188'], [58, 240, 1164, 1808, 34, 30, '#0f5188', '24'],
[58, 240, 1164, 1812, 34, 30, '#0f5188'], [58, 240, 1164, 1812, 34, 30, '#0f5188', '25'],
[58, 240, 1190, 1812, 34, 30, '#0f5188'] [58, 240, 1190, 1812, 34, 30, '#0f5188', '26']
]; ];
//海报canvas //海报canvas
...@@ -301,6 +301,8 @@ function tryprize() { ...@@ -301,6 +301,8 @@ function tryprize() {
} }
function createPoster(callback) { function createPoster(callback) {
console.log(resultType);
MtaH5.clickStat(canvasArr[resultType][7]);
$('.poster-bg').hide(); $('.poster-bg').hide();
......
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