Commit 6d052ae5 by libai

测试

parent 6173b7a4
Showing with 2 additions and 2 deletions
......@@ -5,7 +5,7 @@ function loginGo(){
html+=' <div style="display: none;" class="login-box1">';
html+=' <div class="login-title">登入</div>';
html+=' <div class="phone-login-btn"></div>';
html+=' <div class="google-login-btn" id="buttonDiv"></div>';
html+=' <div class="google-login-btn googleLogin" ></div>';
html+=' <div class="more-login"><img src="https://www.footseen.xyz/yazhaiTest/images/more-login.png" alt=""></div>';
html+=' <div class="more-login-box">';
html+=' <div class="more-login-icon"><img class="twitter_btn" src="https://www.footseen.xyz/yazhaiTest/images/login-icon2.png" alt=""></div>';
......@@ -189,7 +189,7 @@ function loginGo(){
callback: handleCredentialResponse
});
google.accounts.id.renderButton(
document.getElementById("buttonDiv"),
document.querySelectorAll(".googleLogin"),
{ theme: "outline", size: "large", } // customization attributes
);
// google.accounts.id.prompt(); // also display the One Tap dialog
......
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