index.html 548 B

12345678910111213141516
  1. <div class="ds-login-content tc" id="login_container"></div>
  2. <script>
  3. $(function(){
  4. $.getScript("{$Think.HTTP_TYPE}res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js", function(){
  5. var obj = new WxLogin({
  6. id:"login_container",
  7. appid: "{$Think.config.ds_config.weixin_appid}",
  8. scope: "snsapi_login",
  9. redirect_uri: "{:urlencode(HOME_SITE_URL.'/connectwx/get_info.html')}",
  10. state: "",
  11. style: "",
  12. href: ""
  13. });
  14. });
  15. });
  16. </script>