diff --git a/Application/Home/View/default/Home/landingPage.html b/Application/Home/View/default/Home/landingPage.html index 5b863dbf6..71b228d51 100644 --- a/Application/Home/View/default/Home/landingPage.html +++ b/Application/Home/View/default/Home/landingPage.html @@ -520,7 +520,7 @@
第一步:下载苹果官方TestFlight - +
首次安装必须打开应用,并点击“继续”按钮后,才可进行第二步操作 @@ -724,8 +724,7 @@ var PhoneObj = { success: function (result) { if (result.code == '0000') { $(".phone").hide(); - $('.mounting').show(); - $('#beta-url').attr('href', $('[name=betaUrl]').val()) + showMounting() } else { alert(result.msg) } @@ -733,6 +732,12 @@ var PhoneObj = { }) }) + function showMounting() + { + $('.mounting').show(); + $('#beta-url').attr('href', $('[name=betaUrl]').val()) + } + $("#loginBtn").on("click",function() { var box = $('#login-box') var account = box.find('[name=account]').val() @@ -772,8 +777,7 @@ var PhoneObj = { success: function (result) { if (result.code == '0000') { $('.login').hide(); - $('.mounting').show(); - $('#beta-url').attr('href', $('[name=betaUrl]').val()) + showMounting() } else { alert(result.msg); } @@ -819,8 +823,7 @@ var PhoneObj = { success: function (result) { if (result.code == '0000') { $(".common").hide(); - $('.mounting').show(); - $('#beta-url').attr('href', $('[name=betaUrl]').val()) + showMounting() } else { alert(result.msg) }