Commit c4bf24ce authored by zhengke's avatar zhengke

修改链接

parent ef87d5a7
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<transition name="el-zoom-in-top" v-if="!isPhone"> <transition name="el-zoom-in-top" v-if="!isPhone">
<div class="page-component-up" v-show="top>10" @click="goTop"> <div class="page-component-up" v-show="top>10" @click="goTop">
<el-tooltip class="item" effect="dark" content="下载同业助手App" placement="left"> <el-tooltip class="item" effect="dark" content="下载同业助手App" placement="left">
<img src='http://imgfile.oytour.com/New/Upload/Cloud/2019-08/20190801015414093.png' @click="FootgoUrl('xiazaiAPP')"> <img src='http://staticfile.oytour.com/New/Upload/Cloud/2019-08/20190801015414093.png' @click="FootgoUrl('xiazaiAPP')">
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="返回顶部" placement="left"> <el-tooltip class="item" effect="dark" content="返回顶部" placement="left">
<i class="el-icon-arrow-up"></i> <i class="el-icon-arrow-up"></i>
......
...@@ -917,28 +917,28 @@ export default { ...@@ -917,28 +917,28 @@ export default {
CCListActive: 0, CCListActive: 0,
topCityList: [{ topCityList: [{
name: '东京', name: '东京',
src: "http://imgfile.oytour.com/New/Upload/Cloud/2019-08/20190821052335633.jpg", src: "http://staticfile.oytour.com/New/Upload/Cloud/2019-08/20190821052335633.jpg",
id: 1, id: 1,
number: "A01-003-00001" number: "A01-003-00001"
},{ },{
name: '京都', name: '京都',
src: "http://imgfile.oytour.com/New/Upload/Cloud/2019-08/20190821052335636.jpg", src: "http://staticfile.oytour.com/New/Upload/Cloud/2019-08/20190821052335636.jpg",
id: 2, id: 2,
number: "A01-003-00003", number: "A01-003-00003",
},{ },{
name: '大阪', name: '大阪',
src: "http://imgfile.oytour.com/New/Upload/Cloud/2019-08/20190821052335628.jpg", src: "http://staticfile.oytour.com/New/Upload/Cloud/2019-08/20190821052335628.jpg",
id: 3, id: 3,
number: "A01-003-00002" number: "A01-003-00002"
},{ },{
name: '首尔', name: '首尔',
src: "http://imgfile.oytour.com/New/Upload/Cloud/2019-08/20190821052335683.jpg", src: "http://staticfile.oytour.com/New/Upload/Cloud/2019-08/20190821052335683.jpg",
id: 0, id: 0,
number: 'A01-004-00001' number: 'A01-004-00001'
},{ },{
name: '曼谷', name: '曼谷',
src: "http://imgfile.oytour.com/New/Upload/Cloud/2019-08/20190821052335631.jpg", src: "http://staticfile.oytour.com/New/Upload/Cloud/2019-08/20190821052335631.jpg",
id: 4, id: 4,
number: "A01-010-00001" number: "A01-010-00001"
}], }],
......
...@@ -13,9 +13,11 @@ export default { ...@@ -13,9 +13,11 @@ export default {
Vue.prototype.domainManager = function () { Vue.prototype.domainManager = function () {
// var domainUrl = "http://test_reborn.oytour.com";//主域名 // var domainUrl = "http://test_reborn.oytour.com";//主域名
//var domainUrl = "http://reborn.oytour.com"; //主域名 //var domainUrl = "http://reborn.oytour.com"; //主域名
// var domainUrl = "http://192.168.2.65:8025"//主域名 //var domainUrl = "http://192.168.2.65:8025"//主域名
// let domainUrl = "https://reborn.oytour.com"; // let domainUrl = "https://reborn.oytour.com";
let domainUrl = "http://testapi.oytour.com" let domainUrl = "http://testapi.oytour.com"
// let domainUrl = "http://192.168.2.215:9000"
//let domainUrl = "http://192.168.0.106"
// let domainUrl = "http://192.168.2.214:8082" // let domainUrl = "http://192.168.2.214:8082"
// var domainUrl = "http://reborn.oytour.com"; // var domainUrl = "http://reborn.oytour.com";
let locationName = window.location.hostname; let locationName = window.location.hostname;
...@@ -32,10 +34,11 @@ export default { ...@@ -32,10 +34,11 @@ export default {
PostUrl: domainUrl + "/api/common/post", PostUrl: domainUrl + "/api/common/post",
// javaUrl: locationName.indexOf('oytour') !== -1 || locationName.indexOf('testb2b.oytour.com') !== -1 ? (locationName.indexOf('oytour') !== -1 ? "http://efficient.oytour.com" : "http://47.96.12.235:9001") : "http://192.168.2.215:9000", // javaUrl: locationName.indexOf('oytour') !== -1 || locationName.indexOf('testb2b.oytour.com') !== -1 ? (locationName.indexOf('oytour') !== -1 ? "http://efficient.oytour.com" : "http://47.96.12.235:9001") : "http://192.168.2.215:9000",
javaUrl: locationName.indexOf('testb2b') == -1 ? "http://efficient.oytour.com" : locationName.indexOf('testb2b.oytour.com') !== -1 ? "http://47.96.12.235:9001" : "http://192.168.2.215:9000", javaUrl: locationName.indexOf('testb2b') == -1 ? "http://efficient.oytour.com" : locationName.indexOf('testb2b.oytour.com') !== -1 ? "http://47.96.12.235:9001" : "http://192.168.2.215:9000",
//javaUrl:'http://192.168.2.215:9000',
// javaUrl: "http://efficient.oytour.com", // javaUrl: "http://efficient.oytour.com",
// javaUrl: "http://47.96.12.235:9001", // javaUrl: "http://47.96.12.235:9001",
ViittoFileUrl: locationName.indexOf('oytour') !== -1 || locationName.indexOf('testb2b.oytour.com') !== -1 ? "http://imgfile.oytour.com" : 'http://192.168.2.214:8130', ViittoFileUrl: locationName.indexOf('oytour') !== -1 || locationName.indexOf('testb2b.oytour.com') !== -1 ? "http://staticfile.oytour.com" : 'http://192.168.2.214:8130',
UploadUrl: locationName.indexOf('oytour') !== -1 || locationName.indexOf('testb2b.oytour.com') !== -1 ? "http://upload.oytour.com" : "http://192.168.2.214:8120", UploadUrl: locationName.indexOf('oytour') !== -1 || locationName.indexOf('testb2b.oytour.com') !== -1 ? "http://uploadfile.oytour.com" : "http://192.168.2.214:8130",
LocalFileStreamDownLoadUrl: domainUrl + "/api/file/GetFileFromWebApi", LocalFileStreamDownLoadUrl: domainUrl + "/api/file/GetFileFromWebApi",
}; };
return obj; return obj;
...@@ -155,7 +158,7 @@ export default { ...@@ -155,7 +158,7 @@ export default {
} else if (type === 'h') { } else if (type === 'h') {
poise = 'm_h' poise = 'm_h'
} }
return url + '/image/index?filePath=' + path.replace('http://192.168.2.214:8130', '').replace('http://imgfile.oytour.com', '').split('?')[0] + '&process=resize,' + poise + ',w_' + w + ',h_' + h; return url + '/image/index?filePath=' + path.replace('http://192.168.2.214:8130', '').replace('http://staticfile.oytour.com', '').replace('http://imgfile.oytour.com','').split('?')[0] + '&process=resize,' + poise + ',w_' + w + ',h_' + h;
} }
//打开新窗口连接 //打开新窗口连接
Vue.prototype.OpenNewUrl = function (URL) { Vue.prototype.OpenNewUrl = function (URL) {
......
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