From 6d360b356e0ae303d762b28fd493c37f8b4e6f02 Mon Sep 17 00:00:00 2001 From: liuweiwen <“529520975@qq.com> Date: Mon, 2 Dec 2019 20:52:38 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E8=B7=B3=E8=BD=AC=E8=B4=AD?= =?UTF-8?q?=E4=B9=B0=E8=B6=85=E7=BA=A7=E7=AD=BE=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Mobile/View/Ssg/login.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Application/Mobile/View/Ssg/login.html b/Application/Mobile/View/Ssg/login.html index 39187752f..e1b539433 100644 --- a/Application/Mobile/View/Ssg/login.html +++ b/Application/Mobile/View/Ssg/login.html @@ -325,6 +325,7 @@ var PhoneObj = { //登陆 $("#loginbtn").on("click",function(){ + var gameId = $("#game_id").val(); var loginName = $("#userAccount").val(); var loginPass = $("#password").val(); var userCode = $("#userCode").val(); @@ -365,7 +366,11 @@ var PhoneObj = { alert(result.ResultMsg); GetVerityCode(); } else { - window.location.href = "mobile.php?s=/Ssg/index.html" + if (gameId) { + window.location.href = "/mobile.php?s=/Ssg/pay/game_id/"+gameId+".html" + } else { + window.location.href = "/mobile.php?s=/Ssg/index.html" + } } } });