|
|
@@ -41,7 +41,7 @@
|
|
|
</ul>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
+
|
|
|
</div>
|
|
|
|
|
|
<iframe hidden :src="setTokenPage"></iframe>
|
|
|
@@ -88,6 +88,8 @@
|
|
|
<div class="mask-overly"></div>
|
|
|
<div class="bg-img slider-1">
|
|
|
<img src="/static/img/banner@2x@2x.png" alt="">
|
|
|
+ <!-- <img src="/static/img/banner@3x@2x.png" alt=""> -->
|
|
|
+ <!-- <img src="/static/img/banner.png" alt=""> -->
|
|
|
</div>
|
|
|
<!-- 首页内容 -->
|
|
|
<div class="my-text">
|
|
|
@@ -114,7 +116,7 @@
|
|
|
<!-- 1 -->
|
|
|
<div class="ts-box">
|
|
|
<div class="ts-boximg">
|
|
|
- <img src="/static/img/feature/illustration1@2x.png" alt="">
|
|
|
+ <img style="margin-left: 18px;" src="/static/img/feature/mix1x.png" alt="">
|
|
|
</div>
|
|
|
<div>
|
|
|
<img class="ts-img" src="/static/img/feature/blue1@2x.png" alt="">
|
|
|
@@ -125,14 +127,14 @@
|
|
|
<div>
|
|
|
<img class="ts-img" src="/static/img/feature/yellow2@2x.png" alt="">
|
|
|
</div>
|
|
|
- <div class="ts-boximg" style="right:0">
|
|
|
- <img src="/static/img/feature/illustration2@2x.png" alt="">
|
|
|
+ <div class="ts-boximg">
|
|
|
+ <img style="float: right;" src="/static/img/feature/mix2x.png" alt="">
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 3 -->
|
|
|
<div class="ts-box">
|
|
|
<div class="ts-boximg">
|
|
|
- <img src="/static/img/feature/illustration3@2x.png" alt="">
|
|
|
+ <img src="/static/img/feature/mix3x.png" alt="">
|
|
|
</div>
|
|
|
<div>
|
|
|
<img class="ts-img" src="/static/img/feature/blue3@2x.png" alt="">
|
|
|
@@ -141,10 +143,10 @@
|
|
|
<!-- 4 -->
|
|
|
<div class="ts-box">
|
|
|
<div>
|
|
|
- <img class="ts-img" src="/static/img/feature/yellow4@2x.png" alt="">
|
|
|
+ <img style="width:94%" class="ts-img" src="/static/img/feature/yellow4@2x.png" alt="">
|
|
|
</div>
|
|
|
- <div class="ts-boximg" style="right:0">
|
|
|
- <img src="/static/img/feature/illustration4@2x.png" alt="">
|
|
|
+ <div class="ts-boximg">
|
|
|
+ <img style="float: right;" src="/static/img/feature/mix4x.png" alt="">
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -339,10 +341,8 @@
|
|
|
}
|
|
|
},
|
|
|
created(){
|
|
|
- var uid = this.getCookie('uid');
|
|
|
- if(uid){
|
|
|
this.$ajax({
|
|
|
- url: '/api/auth/info',
|
|
|
+ url: this.$url.api+'/api/auth/info',
|
|
|
method: 'get',
|
|
|
async:false,
|
|
|
withCredentials:true
|
|
|
@@ -352,11 +352,11 @@
|
|
|
account.companies = account.companies || []
|
|
|
session.account = account
|
|
|
Session.set(session);
|
|
|
+ this.account = Session.getAccount();
|
|
|
})
|
|
|
.catch(err=>{
|
|
|
console.log("请求失败",err)
|
|
|
})
|
|
|
- }
|
|
|
},
|
|
|
mounted() {
|
|
|
this.clientId = Math.random().toString(36).substr(2)
|
|
|
@@ -379,20 +379,20 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
- getCookie(cookieName){
|
|
|
- var cookieValue="";
|
|
|
- if (document.cookie && document.cookie != '') {
|
|
|
- var cookies = document.cookie.split(';');
|
|
|
- for (var i = 0; i < cookies.length; i++) {
|
|
|
- var cookie = cookies[i];
|
|
|
- if (cookie.substring(0, cookieName.length + 2).trim() == cookieName.trim() + "=") {
|
|
|
- cookieValue = cookie.substring(cookieName.length + 2, cookie.length);
|
|
|
- break;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- return cookieValue;
|
|
|
- },
|
|
|
+ // hasCookie(cookieName){
|
|
|
+ // var hasUid=false;
|
|
|
+ // if (document.cookie && document.cookie != '') {
|
|
|
+ // var cookies = document.cookie.split(';');
|
|
|
+ // for (var i = 0; i < cookies.length; i++) {
|
|
|
+ // var cookie = cookies[i];
|
|
|
+ // if (cookie.substring(0, cookieName.length+1).trim() == cookieName.trim() + "=") {
|
|
|
+ // hasUid=true;
|
|
|
+ // break;
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // return hasUid;
|
|
|
+ // },
|
|
|
tab(i){
|
|
|
this.Nowindex = i;
|
|
|
},
|
|
|
@@ -418,7 +418,7 @@
|
|
|
// 跳转应用页面
|
|
|
window.location.href = me.$url.web
|
|
|
}
|
|
|
- }
|
|
|
+ }
|
|
|
}, false)
|
|
|
frame.postMessage(JSON.stringify(session), '*')
|
|
|
})
|
|
|
@@ -438,7 +438,8 @@
|
|
|
const frame = window.frames[window.frames.length - 1]
|
|
|
frame.postMessage('', '*')
|
|
|
Session.remove()
|
|
|
- this.$router.go(0);
|
|
|
+ window.location.href=this.$url.sso+'/logquit?appId=sp&returnURL=https://'+window.location.host
|
|
|
+ //this.$router.go(0);
|
|
|
},
|
|
|
// 关闭窗口
|
|
|
closeModal() {
|
|
|
@@ -495,7 +496,7 @@
|
|
|
// console.log("请求失败",err)
|
|
|
})
|
|
|
}
|
|
|
- }
|
|
|
+ }
|
|
|
},
|
|
|
}
|
|
|
}
|