|
|
@@ -87,7 +87,7 @@
|
|
|
data-slice1-scale="2" data-slice2-scale="2">
|
|
|
<div class="mask-overly"></div>
|
|
|
<div class="bg-img slider-1">
|
|
|
- <img src="/static/img/banner@3x@2x.png" alt="">
|
|
|
+ <img src="/static/img/banner@2x@2x.png" alt="">
|
|
|
</div>
|
|
|
<!-- 首页内容 -->
|
|
|
<div class="my-text">
|
|
|
@@ -111,19 +111,40 @@
|
|
|
<p class="ts-title">我们的特色</p>
|
|
|
<p class="ts-text">云端部署 轻量应用</p>
|
|
|
</div>
|
|
|
+ <!-- 1 -->
|
|
|
<div class="ts-box">
|
|
|
+ <div class="ts-boximg">
|
|
|
+ <img src="/static/img/feature/illustration1@2x.png" alt="">
|
|
|
+ </div>
|
|
|
<div>
|
|
|
- <img class="ts-img" src="/static/img/assets/1@2x.png" alt="">
|
|
|
+ <img class="ts-img" src="/static/img/feature/blue1@2x.png" alt="">
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <!-- 2 -->
|
|
|
<div class="ts-box">
|
|
|
<div>
|
|
|
- <img class="ts-img" src="/static/img/assets/2@3x.png" alt="">
|
|
|
+ <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>
|
|
|
</div>
|
|
|
+ <!-- 3 -->
|
|
|
<div class="ts-box">
|
|
|
+ <div class="ts-boximg">
|
|
|
+ <img src="/static/img/feature/illustration3@2x.png" alt="">
|
|
|
+ </div>
|
|
|
<div>
|
|
|
- <img class="ts-img" src="/static/img/assets/3@2x.png" alt="">
|
|
|
+ <img class="ts-img" src="/static/img/feature/blue3@2x.png" alt="">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- 4 -->
|
|
|
+ <div class="ts-box">
|
|
|
+ <div>
|
|
|
+ <img 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>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -136,6 +157,7 @@
|
|
|
<div class="row">
|
|
|
<div class="section-title text-center" style="margin-bottom: 80px;">
|
|
|
<p class="ts-title">我们的功能</p>
|
|
|
+ <p class="ts-text">简易SCM+内部协同+外部连接</p>
|
|
|
</div>
|
|
|
<div class="gn-hei">
|
|
|
<div class="col-md-3 col-sm-6 col-xs-12">
|
|
|
@@ -317,34 +339,24 @@
|
|
|
}
|
|
|
},
|
|
|
created(){
|
|
|
- document.cookie='uid=4sjrtiHZOu3sG71-9lOyB1jEPXOxBgJ_3jjuugBiDcZs9xlBhPHqdaypVsfMCD42Vnkf8n4lqYvq5Ux7dZ8CnPtKpXynrTXaF3HU7xqLKvyKJY5hp1PubmQcAsE7TQAuNlXd1aSjqY4nxAoXNKXqri2l2s6-FJ1nYOGpSPLIJoCd56Tvs14W4Az7WpFDtNHke2vs0V4_fEC8t2t1q5H2ihUDUDQqbjcVPcZJEWy3dyUUpdlfvHQtS-Ve2eOm6TES-wlXAIqyovp35Pu2LIqxPZdexh5Vb5LUjbsJV1bNe_LCx87mxhd-7E01mpaALMHuK3GJwyvEnuKf_GkPzb2eygn2r3wpgt18uUBGCEDTGBYYyTZTtrqpvigkWX8YIMIKhp0ftp2G90minOjRqySApPSAwAqTXF44x7OQK6GkMFw98BVoJqGHAWkc7knzz_sjywCg2L8nDceAq2Js26MorJfm6JBUAfvp2D0VY1R2NiyK7VFKYCR8XO7x8ubTNE4u13fCvTKY1mQYTtgSoL-h3eXOWJn7oe0iL-z_OLqWbS9N3LIadLKPHLxUfqay-PUdxnmNICBZEaX7KcOVTxlH3SgzsUeFCQoyQ1D3yFIiu6vuTdv0fzBSo4gPZ1gj1n7NNC7ghs0.';
|
|
|
- $.ajax({
|
|
|
- type: "POST",
|
|
|
- url: "http://192.168.253.31:8560/api/auth/info",
|
|
|
- dataType: 'jsonp',
|
|
|
- xhrFields: {
|
|
|
- withCredentials: true
|
|
|
- },
|
|
|
- crossDomain: true,
|
|
|
-
|
|
|
- success:function(a,b,c){
|
|
|
- // debugger
|
|
|
- },
|
|
|
- error:function(a,b,c){
|
|
|
- // debugger
|
|
|
- }
|
|
|
- })
|
|
|
-
|
|
|
- // this.$ajax({
|
|
|
- // url: 'http://192.168.253.31:8560/api/auth/info',
|
|
|
- // method: 'get',
|
|
|
- // })
|
|
|
- // .then(res=>{
|
|
|
- // console.log("请求成功",res)
|
|
|
- // })
|
|
|
- // .catch(err=>{
|
|
|
- // console.log("请求失败",err)
|
|
|
- // })
|
|
|
+ var uid = this.getCookie('uid');
|
|
|
+ if(uid){
|
|
|
+ this.$ajax({
|
|
|
+ url: '/api/auth/info',
|
|
|
+ method: 'get',
|
|
|
+ async:false,
|
|
|
+ withCredentials:true
|
|
|
+ })
|
|
|
+ .then(res=>{
|
|
|
+ const data=res.data.data,session = data.token, account = data.account
|
|
|
+ account.companies = account.companies || []
|
|
|
+ session.account = account
|
|
|
+ Session.set(session);
|
|
|
+ })
|
|
|
+ .catch(err=>{
|
|
|
+ console.log("请求失败",err)
|
|
|
+ })
|
|
|
+ }
|
|
|
},
|
|
|
mounted() {
|
|
|
this.clientId = Math.random().toString(36).substr(2)
|
|
|
@@ -367,6 +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;
|
|
|
+ },
|
|
|
tab(i){
|
|
|
this.Nowindex = i;
|
|
|
},
|
|
|
@@ -424,6 +450,7 @@
|
|
|
},
|
|
|
//体验
|
|
|
experience(){
|
|
|
+ console.log(123)
|
|
|
this.isexperience = true;
|
|
|
},
|
|
|
//关闭体验
|