Commit 331fab37 by doszhang

dos

parent 6677095b
...@@ -133,7 +133,7 @@ function showFlagPage() { ...@@ -133,7 +133,7 @@ function showFlagPage() {
} }
function randomFlag() { function randomFlag() {
$('.flag-frame').html(''); // $('.flag-frame').html('');
let flagArr = randomFlagArr(6); let flagArr = randomFlagArr(6);
for (let i = 0; i < flagArr.length; i++) { for (let i = 0; i < flagArr.length; i++) {
createItem(flag[flagArr[i]], i + 1); createItem(flag[flagArr[i]], i + 1);
...@@ -171,7 +171,7 @@ function createItem(flag, no) { ...@@ -171,7 +171,7 @@ function createItem(flag, no) {
if (!first) { if (!first) {
first = false; first = false;
$('.flag-block').fadeOut(300); $('.flag-block').fadeOut(300);
// item.find('.flag-line,.flag-no,.text-bottom').css('animation', 'none 0 ease 0 1 normal').delay(300).fadeIn(300); item.find('.flag-line,.flag-no,.text-bottom').css('animation', 'none 0 ease 0 1 normal').delay(300).fadeIn(300);
} }
$('.flag-frame').append(item); $('.flag-frame').append(item);
} }
......
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