|
@@ -68,7 +68,7 @@
|
|
|
<span><img style="margin: 6px 8px 10px 15px;" src="/static/img/assets/phone.png" alt=""></span>
|
|
<span><img style="margin: 6px 8px 10px 15px;" src="/static/img/assets/phone.png" alt=""></span>
|
|
|
<input ref="typhone" type="text" placeholder="请输入您的11位手机号">
|
|
<input ref="typhone" type="text" placeholder="请输入您的11位手机号">
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="left" style="margin-left: 8px;"><button @click="experience1">立即体验</button></div>
|
|
|
|
|
|
|
+ <div class="left" style="margin-left: 8px;"><button @click="openexperience">立即体验</button></div>
|
|
|
</div>
|
|
</div>
|
|
|
<div style="text-align: left;">
|
|
<div style="text-align: left;">
|
|
|
<span class="Caution" ref="Caution"></span>
|
|
<span class="Caution" ref="Caution"></span>
|
|
@@ -316,6 +316,36 @@
|
|
|
Nowindex: 0,
|
|
Nowindex: 0,
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ 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)
|
|
|
|
|
+ // })
|
|
|
|
|
+ },
|
|
|
mounted() {
|
|
mounted() {
|
|
|
this.clientId = Math.random().toString(36).substr(2)
|
|
this.clientId = Math.random().toString(36).substr(2)
|
|
|
// 从本地加载已经登录的信息
|
|
// 从本地加载已经登录的信息
|
|
@@ -401,7 +431,7 @@
|
|
|
this.isexperience = false;
|
|
this.isexperience = false;
|
|
|
},
|
|
},
|
|
|
//进入体验
|
|
//进入体验
|
|
|
- experience1(){
|
|
|
|
|
|
|
+ openexperience(){
|
|
|
let me = this
|
|
let me = this
|
|
|
let phone = this.$refs.typhone.value;
|
|
let phone = this.$refs.typhone.value;
|
|
|
let reg = new RegExp('^((13[0-9])|(14[5,7])|(15[0-3,5-9])|(17[0,3,5-8])|(18[0-9])|166|198|199|(147))\\d{8}$')
|
|
let reg = new RegExp('^((13[0-9])|(14[5,7])|(15[0-3,5-9])|(17[0,3,5-8])|(18[0-9])|166|198|199|(147))\\d{8}$')
|