1007810539_edit.jsp 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. <html>
  2. <head>
  3. <style>
  4. .content-wrap {
  5. width: 86%;
  6. margin: 0 auto;
  7. }
  8. .logo {
  9. text-align: center;
  10. margin: 13% 0;
  11. }
  12. #wxLoginLoading {
  13. width: 100%;
  14. min-height: 300px;
  15. text-align: center;
  16. margin-top: 20%;
  17. }
  18. #wxLoginLoading .icon-houqin {
  19. font-size: 52px;
  20. color: #fff;
  21. padding: 12px;
  22. background-color: rgb(25, 137, 250);
  23. box-shadow: 1px 1px 6px #999;
  24. border-radius: 50%;
  25. }
  26. .title {
  27. margin-top: 20px;
  28. font-size: 26px;
  29. line-height: 60px;
  30. font-weight: 400;
  31. }
  32. .desc {
  33. color: red;
  34. margin-top: 20px;
  35. }
  36. </style>
  37. <title>登录 - ${curWebSiteObj.seoTitle}</title>
  38. </head>
  39. <body class="body" style="background-color: #fff;">
  40. <div id="space-content" v-cloak>
  41. <div class="content-wrap">
  42. <div id="wxLoginLoading">
  43. <div><i class="spaceicon icon-houqin"></i></div>
  44. <h2 class="title">${curWebSiteObj.name}</h2>
  45. <div v-if="appcode == 'null'" style="margin-top: 100px;font-size: 26px;color: #999;">
  46. <van-loading color="#1989fa"></van-loading>
  47. </div>
  48. </div>
  49. </div>
  50. </div>
  51. <script type="text/javascript">
  52. space.vue = new Vue({
  53. el: space.appContent,
  54. data: function () {
  55. return {
  56. msg: '${msg}',
  57. appcode: "${appcode}",
  58. }
  59. },
  60. created: function () {
  61. // 授权成功
  62. if (this.appcode == 'success') {
  63. location.href = '/console?appcode=${appcode}';
  64. }
  65. // 未授权
  66. else if (this.appcode == 'null') {
  67. var url = encodeURIComponent("${host}");
  68. location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appID}&redirect_uri=' + url + '&response_type=code&scope=snsapi_base#wechat_redirect';
  69. }
  70. }
  71. })
  72. </script>
  73. </body>
  74. </html>