| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- <html>
- <head>
- <style>
- .content-wrap {
- width: 86%;
- margin: 0 auto;
- }
- .logo {
- text-align: center;
- margin: 13% 0;
- }
- #wxLoginLoading {
- width: 100%;
- min-height: 300px;
- text-align: center;
- margin-top: 20%;
- }
- #wxLoginLoading .icon-houqin {
- font-size: 52px;
- color: #fff;
- padding: 12px;
- background-color: rgb(25, 137, 250);
- box-shadow: 1px 1px 6px #999;
- border-radius: 50%;
- }
- .title {
- margin-top: 20px;
- font-size: 26px;
- line-height: 60px;
- font-weight: 400;
- }
- .desc {
- color: red;
- margin-top: 20px;
- }
- </style>
- <title>登录 - ${curWebSiteObj.seoTitle}</title>
- </head>
- <body class="body" style="background-color: #fff;">
- <div id="space-content" v-cloak>
- <div class="content-wrap">
- <div id="wxLoginLoading">
- <div><i class="spaceicon icon-houqin"></i></div>
- <h2 class="title">${curWebSiteObj.name}</h2>
- <div v-if="appcode == 'null'" style="margin-top: 100px;font-size: 26px;color: #999;">
- <van-loading color="#1989fa"></van-loading>
- </div>
- </div>
- </div>
- </div>
- <script type="text/javascript">
- space.vue = new Vue({
- el: space.appContent,
- data: function () {
- return {
- msg: '${msg}',
- appcode: "${appcode}",
- }
- },
- created: function () {
-
- // 授权成功
- if (this.appcode == 'success') {
- location.href = '/console?appcode=${appcode}';
- }
- // 未授权
- else if (this.appcode == 'null') {
- var url = encodeURIComponent("${host}");
- location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appID}&redirect_uri=' + url + '&response_type=code&scope=snsapi_base#wechat_redirect';
- }
- }
- })
- </script>
- </body>
- </html>
|