Commit 331705d3 by doszhang

dos

parent f5c0ea74
......@@ -72,13 +72,16 @@ preloadimages(preloadImageList, function () {
if (browser.versions.weixin) {
let musicTime = setInterval(function () {
if ($('#music')[0].currentTime > 0) {
initPage();
$('.page1').show();
clearInterval(musicTime);
}
}, 100);
} else {
initPage();
$('.page1').show();
}
$('input[name=name]').attr('placeholder', '姓名').attr('id', 'name');;
$('input[name=business]').attr('placeholder', '业务号').attr('type', 'tel').attr('maxlength', 10);
$('.page1 .num').html('已有<span class="numbig">' + window.num + '</span>人发起承诺');
......@@ -93,7 +96,7 @@ preloadimages(preloadImageList, function () {
$(document).ready(function () {
// $('.logo').css('top', getTranslateDistance(40, true));
initPage();
$('.music').click(function () {
if ($('#music')[0].paused) {
$('#music')[0].play();
......
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