Commit 1612bcbf by libai

测试

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