Commit 750e90b8 authored by 华国豪's avatar 华国豪 🙄

更新登录页面

parent e1b9ea5b
...@@ -653,6 +653,7 @@ a{ ...@@ -653,6 +653,7 @@ a{
display: inline-block; display: inline-block;
position: relative; position: relative;
margin:15px 0 0 15px; margin:15px 0 0 15px;
overflow: hidden;
} }
.Home .Localtour .Localtour_item img{ .Home .Localtour .Localtour_item img{
width: 100%; width: 100%;
......
...@@ -82,6 +82,7 @@ ...@@ -82,6 +82,7 @@
margin-right: 6px; margin-right: 6px;
transition: all linear .5s; transition: all linear .5s;
overflow: hidden; overflow: hidden;
height: 280px;
} }
.city-tag{ .city-tag{
padding: 13px 20px; padding: 13px 20px;
...@@ -225,6 +226,9 @@ ...@@ -225,6 +226,9 @@
color:rgba(51,51,51,1); color:rgba(51,51,51,1);
font-size:30px; font-size:30px;
} }
.fh-tejia{
margin-top: 50px;
}
.fh-tejia .icon-item{ .fh-tejia .icon-item{
width: 400px; width: 400px;
margin: 0 auto; margin: 0 auto;
......
...@@ -12,10 +12,10 @@ export default { ...@@ -12,10 +12,10 @@ 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.2.215:9000"
//let domainUrl = "http://192.168.0.106" //let domainUrl = "http://192.168.0.106"
// let domainUrl = "http://192.168.2.214:8082" // let domainUrl = "http://192.168.2.214:8082"
...@@ -39,6 +39,7 @@ export default { ...@@ -39,6 +39,7 @@ export default {
// 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://staticfile.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://uploadfile.oytour.com" : "http://192.168.2.214:8130", UploadUrl: locationName.indexOf('oytour') !== -1 || locationName.indexOf('testb2b.oytour.com') !== -1 ? "http://uploadfile.oytour.com" : "http://192.168.2.214:8130",
// UploadUrl: "http://uploadfile.oytour.com",
LocalFileStreamDownLoadUrl: domainUrl + "/api/file/GetFileFromWebApi", LocalFileStreamDownLoadUrl: domainUrl + "/api/file/GetFileFromWebApi",
}; };
return obj; return obj;
...@@ -150,15 +151,15 @@ export default { ...@@ -150,15 +151,15 @@ export default {
// h : 高 // h : 高
Vue.prototype.compressImg = function (path, type, w, h) { Vue.prototype.compressImg = function (path, type, w, h) {
let url = this.domainManager().UploadUrl; let url = this.domainManager().UploadUrl;
let poise = 'm_filt'; let poise = 'width=';
w = w ? w : '' w = w ? w : ''
h = h ? h : '' h = h ? h : ''
if (type === 'w') { if (type === 'w') {
poise = 'm_w' poise = 'width'
} else if (type === 'h') { } else if (type === 'h') {
poise = 'm_h' poise = 'height'
} }
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; return path.split('?')[0] + '?width=' + w;
} }
//打开新窗口连接 //打开新窗口连接
Vue.prototype.OpenNewUrl = function (URL) { Vue.prototype.OpenNewUrl = function (URL) {
......
This diff is collapsed.
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