使code format 正常化
This commit is contained in:
parent
2e1f2e76d6
commit
df88ffe0d6
|
@ -1439,9 +1439,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
function startNum() {
|
function startNum() {
|
||||||
new CountUp("reward11", 0, {{$config['reward11']}} + {{$config['reward11'] * $rand}}, 2, 3, options).start();
|
new CountUp("reward11", 0, parseInt("{{$config['reward11']}}") + parseInt("{{$config['reward11'] * $rand}}"), 2, 3, options).start();
|
||||||
new CountUp("reward12", 0, {{$config['reward12']}} + {{$config['reward12'] * $rand}}, 2, 3, options).start();
|
new CountUp("reward12", 0, parseInt("{{$config['reward12']}}") + parseInt("{{$config['reward12'] * $rand}}"), 2, 3, options).start();
|
||||||
new CountUp("reward13", 0, {{$config['reward13']}} + {{$config['reward13'] * $rand}}, 2, 3, options).start();
|
new CountUp("reward13", 0, parseInt("{{$config['reward13']}}") + parseInt("{{$config['reward13'] * $rand}}"), 2, 3, options).start();
|
||||||
}
|
}
|
||||||
|
|
||||||
function dao_close() {
|
function dao_close() {
|
||||||
|
|
|
@ -1455,10 +1455,10 @@
|
||||||
prefix: '', // 字首(数字的前缀,根据需要可设为 $,¥,¥ 等)
|
prefix: '', // 字首(数字的前缀,根据需要可设为 $,¥,¥ 等)
|
||||||
suffix: '' // 后缀(数字的后缀 ,根据需要可设为 元,个,美元 等)
|
suffix: '' // 后缀(数字的后缀 ,根据需要可设为 元,个,美元 等)
|
||||||
};
|
};
|
||||||
new CountUp("reward14", 0, {{$config['reward14']}} + {{$config['reward14'] * $rand}}, 2, 3, options).start();
|
new CountUp("reward14", 0, parseInt("{{$config['reward14']}}") + parseInt("{{$config['reward14'] * $rand}}"), 2, 3, options).start();
|
||||||
new CountUp("reward15", 0, {{$config['reward15']}} + {{$config['reward15'] * $rand}}, 2, 3, options).start();
|
new CountUp("reward15", 0, parseInt("{{$config['reward15']}}") + parseInt("{{$config['reward15'] * $rand}}"), 2, 3, options).start();
|
||||||
new CountUp("reward16", 0, {{$config['reward16']}} + {{$config['reward16'] * $rand}}, 2, 3, options1).start();
|
new CountUp("reward16", 0, parseInt("{{$config['reward16']}}") + parseInt("{{$config['reward16'] * $rand}}"), 2, 3, options1).start();
|
||||||
new CountUp("reward17", 0, {{$config['GLK']}}, 4, 3, options).start();
|
new CountUp("reward17", 0, parseInt("{{$config['GLK']}}"), 4, 3, options).start();
|
||||||
}
|
}
|
||||||
startNum();
|
startNum();
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -1706,8 +1706,8 @@
|
||||||
prefix: '', // 字首(数字的前缀,根据需要可设为 $,¥,¥ 等)
|
prefix: '', // 字首(数字的前缀,根据需要可设为 $,¥,¥ 等)
|
||||||
suffix: '' // 后缀(数字的后缀 ,根据需要可设为 元,个,美元 等)
|
suffix: '' // 后缀(数字的后缀 ,根据需要可设为 元,个,美元 等)
|
||||||
};
|
};
|
||||||
new CountUp("num1", 0, {{$config['reward17']}} + {{$config['reward17'] * $rand}}, 0, 3, options).start();
|
new CountUp("num1", 0, parseInt("{{$config['reward17']}}") + parseInt("{{$config['reward17'] * $rand}}"), 0, 3, options).start();
|
||||||
new CountUp("num2", 0, {{$config['reward18']}} + {{$config['reward18'] * $rand}}, 0, 3, options).start();
|
new CountUp("num2", 0, parseInt("{{$config['reward18']}}") + parseInt("{{$config['reward18'] * $rand}}"), 0, 3, options).start();
|
||||||
}
|
}
|
||||||
|
|
||||||
function strategy(obj) {
|
function strategy(obj) {
|
||||||
|
|
|
@ -1297,8 +1297,8 @@
|
||||||
prefix: '', // 字首(数字的前缀,根据需要可设为 $,¥,¥ 等)
|
prefix: '', // 字首(数字的前缀,根据需要可设为 $,¥,¥ 等)
|
||||||
suffix: '' // 后缀(数字的后缀 ,根据需要可设为 元,个,美元 等)
|
suffix: '' // 后缀(数字的后缀 ,根据需要可设为 元,个,美元 等)
|
||||||
};
|
};
|
||||||
new CountUp("num1", 0, {{$config['reward7']}} + {{$config['reward7'] * $rand}}, 0, 3, options).start();
|
new CountUp("num1", 0, parseInt("{{$config['reward7']}}") + parseInt("{{$config['reward7'] * $rand}}"), 0, 3, options).start();
|
||||||
new CountUp("num2", 0, {{$config['reward8']}} + {{$config['reward8'] * $rand}}, 0, 3, options).start();
|
new CountUp("num2", 0, parseInt("{{$config['reward8']}}") + parseInt("{{$config['reward8'] * $rand}}"), 0, 3, options).start();
|
||||||
}
|
}
|
||||||
|
|
||||||
// 授权绑定
|
// 授权绑定
|
||||||
|
|
|
@ -1296,8 +1296,8 @@
|
||||||
prefix: '', // 字首(数字的前缀,根据需要可设为 $,¥,¥ 等)
|
prefix: '', // 字首(数字的前缀,根据需要可设为 $,¥,¥ 等)
|
||||||
suffix: '' // 后缀(数字的后缀 ,根据需要可设为 元,个,美元 等)
|
suffix: '' // 后缀(数字的后缀 ,根据需要可设为 元,个,美元 等)
|
||||||
};
|
};
|
||||||
new CountUp("num1", 0, {{$config['reward7']}} + {{$config['reward7'] * $rand}}, 0, 3, options).start();
|
new CountUp("num1", 0, parseInt("{{$config['reward7']}}") + parseInt("{{$config['reward7'] * $rand}}"), 0, 3, options).start();
|
||||||
new CountUp("num2", 0, {{$config['reward8']}} + {{$config['reward8'] * $rand}}, 0, 3, options).start();
|
new CountUp("num2", 0, parseInt("{{$config['reward8']}}") + parseInt("{{$config['reward8'] * $rand}}"), 0, 3, options).start();
|
||||||
}
|
}
|
||||||
|
|
||||||
// 授权绑定
|
// 授权绑定
|
||||||
|
|
|
@ -2153,13 +2153,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function numStart() {
|
function numStart() {
|
||||||
new CountUp("num1", 0, {{$config['reward1']}} - {{$config['reward1'] * $rand}}, 0, 3, options).start();
|
new CountUp("num1", 0, parseInt("{{$config['reward1']}}") - parseInt("{{$config['reward1'] * $rand}}"), 0, 3, options).start();
|
||||||
new CountUp("num2", 0, {{$config['reward2']}} - {{$config['reward2'] * $rand}}, 0, 3, options).start();
|
new CountUp("num2", 0, parseInt("{{$config['reward2']}}") - parseInt("{{$config['reward2'] * $rand}}"), 0, 3, options).start();
|
||||||
new CountUp("num3", 0, {{$config['reward3']}} - {{$config['reward3'] * $rand}}, 0, 3, options).start();
|
new CountUp("num3", 0, parseInt("{{$config['reward3']}}") - parseInt("{{$config['reward3'] * $rand}}"), 0, 3, options).start();
|
||||||
new CountUp("num4", 0, {{$config['reward4']}} - {{$config['reward4'] * $rand}}, 0, 3, options).start();
|
new CountUp("num4", 0, parseInt("{{$config['reward4']}}") - parseInt("{{$config['reward4'] * $rand}}"), 0, 3, options).start();
|
||||||
new CountUp("num5", 0, {{$config['reward5']}} - {{$config['reward5'] * $rand}}, 0, 3, options).start();
|
new CountUp("num5", 0, parseInt("{{$config['reward5']}}") - parseInt("{{$config['reward5'] * $rand}}"), 0, 3, options).start();
|
||||||
new CountUp("num6", 0, {{$config['reward6']}} - {{$config['reward6'] * $rand}}, 0, 3, options).start();
|
new CountUp("num6", 0, parseInt("{{$config['reward6']}}") - parseInt("{{$config['reward6'] * $rand}}"), 0, 3, options).start();
|
||||||
new CountUp("num7", 0, {{$config['GLK']}}, 4, 3, options).start();
|
new CountUp("num7", 0, parseInt("{{$config['GLK']}}"), 4, 3, options).start();
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
|
|
Loading…
Reference in New Issue