Commit 45cceef2 by doszhang

dos

parent 02ed5ae4
...@@ -444,7 +444,7 @@ input[name=signature]::-webkit-input-placeholder { ...@@ -444,7 +444,7 @@ input[name=signature]::-webkit-input-placeholder {
} }
.countdown-page canvas { .countdown-page canvas {
transform: rotate(-90deg); /* transform: rotate(-90deg); */
} }
.countdown-num { .countdown-num {
......
...@@ -459,7 +459,7 @@ function countDown(callback) { ...@@ -459,7 +459,7 @@ function countDown(callback) {
$('.countdown-num').text(countdown).addClass('animate'); $('.countdown-num').text(countdown).addClass('animate');
angle = ((angle * 10) + 36) / 10; angle = ((angle * 10) + 36) / 10;
countDownCtx.sector(countDownCanvas.width / 2, countDownCanvas.height / 2, countDownCanvas.width / 2, 0, angle).fill(); countDownCtx.sector(countDownCanvas.width / 2, countDownCanvas.height / 2, countDownCanvas.width / 2, 1.5, angle).fill();
if (angle >= 0) { if (angle >= 0) {
countdown--; countdown--;
if (countdown == 0) { if (countdown == 0) {
......
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