Commit 3b53d0a1 authored by 华国豪's avatar 华国豪 🙄

socket 端口号修改为5002

parent 4ae81766
......@@ -194,7 +194,7 @@ export default {
left: 40,
right: 10,
top: '40px',
height: '150px'
height: '150px',
}, {
left: 40,
right: 10,
......
......@@ -424,7 +424,8 @@ export default {
ToDayClientLoginNum: 0,
CityHot: [],
ToDayClientLoginList: []
}
},
ChangeBoard: null
}
},mounted() {
let Height = window.innerHeight
......@@ -434,7 +435,7 @@ export default {
setTimeout(() => {
this.connec();
}, 1000);
setTimeout(() => {
this.ChangeBoard = setTimeout(() => {
this.exChangeBoard();
}, 300000);
this.getLoginHot()
......@@ -523,6 +524,9 @@ export default {
getIntegerNum(num,n){
return num.toFixed(n);
}
},beforeDestroy(){
clearInterval(this.ChangeBoard);
this.ChangeBoard = null;
}
}
</script>
......@@ -424,6 +424,7 @@ export default {
centerMpShow: true,
baiduMapData: [],
newBaiduArr: [],
ChangeBoard: null
};
},
mounted() {
......@@ -434,7 +435,7 @@ export default {
setTimeout(() => {
this.connec();
}, 1000);
setTimeout(() => {
this.ChangeBoard = setTimeout(() => {
this.exChangeBoard();
}, 300000);
let _this = this
......@@ -654,6 +655,9 @@ export default {
}
},err => {});
},
},beforeDestroy(){
clearInterval(this.ChangeBoard);
this.ChangeBoard = null;
}
};
</script>
\ No newline at end of file
......@@ -235,7 +235,7 @@ export default {
videoErr: function (){
this.movieShow = false
this.movieTime = 0
this.fiveMinutes = 99999
this.fiveMinutes = 9999999
},
getMovieTimmer: function () {
if (this.movieTime < this.fiveMinutes) {
......@@ -270,7 +270,7 @@ export default {
},
connec(){
let _this=this
let url = 'http://47.96.23.199:5000/data_server'
let url = 'http://47.96.23.199:5002/data_server'
// let url = 'http://192.168.2.215:5000/data_server'
let userInfo = this.getLocalStorage()
// if (userInfo) {
......@@ -297,7 +297,7 @@ export default {
});
//测试
this.socket.on('server_response', function (msg) {
// console.log(msg)
console.log(msg)
});
//收客数
this.socket.on('guest_num', function (msg) {
......@@ -342,7 +342,7 @@ export default {
init(){
// this.apipost('')
//let url='http://dataapi.oytour.com/api/user/get_init_data'
let url='http://47.96.23.199:5000/api/user/get_init_data'
let url='http://47.96.23.199:5002/api/user/get_init_data'
let msg={
tdsourcetag:'s_pcqq_aiomsg'
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment