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

更新登录页面

parent e1b9ea5b
......@@ -653,6 +653,7 @@ a{
display: inline-block;
position: relative;
margin:15px 0 0 15px;
overflow: hidden;
}
.Home .Localtour .Localtour_item img{
width: 100%;
......
......@@ -82,6 +82,7 @@
margin-right: 6px;
transition: all linear .5s;
overflow: hidden;
height: 280px;
}
.city-tag{
padding: 13px 20px;
......@@ -225,6 +226,9 @@
color:rgba(51,51,51,1);
font-size:30px;
}
.fh-tejia{
margin-top: 50px;
}
.fh-tejia .icon-item{
width: 400px;
margin: 0 auto;
......
......@@ -488,7 +488,7 @@
<span style="color:#FF6600"><span style="font-size:18px;font-weight:bold">
{{(isLogin!=1 ? item.b2cPrice : item.b2bPrice) | NoDesnum}}
</span></span>
<span style="color:#666666;float:right;margin-top:6px">席位充足</span>
<span style="color:#666666;float:right;margin-top:6px">席位充足</span>
</div>
</div>
......
......@@ -304,7 +304,7 @@
<p class="pfR" style="padding:15px 19px">猜你喜欢</p>
<div class="leftList" v-for="(item,index) in LikeList" :key="index+100">
<div style="width:188px;height:106px;" >
<img v-if="item.coverImgs[0]" style="width:100%;height:100%;" :src='compressImg(item.coverImgs[0], "filt", 245, "")' alt="">
<img v-if="item.coverImgs[0]" style="width:100%;height:100%;" :src='compressImg(item.coverImgs[0], "filt", 245, "")' alt="">
<img style="width:100%;height:100%;" v-else src="../../assets/img/activy.jpg" alt="">
</div>
......
......@@ -12,10 +12,10 @@ export default {
//域名管理对象
Vue.prototype.domainManager = function () {
// 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"//主域名
// 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"
......@@ -39,6 +39,7 @@ export default {
// 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',
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",
};
return obj;
......@@ -150,15 +151,15 @@ export default {
// h : 高
Vue.prototype.compressImg = function (path, type, w, h) {
let url = this.domainManager().UploadUrl;
let poise = 'm_filt';
let poise = 'width=';
w = w ? w : ''
h = h ? h : ''
if (type === 'w') {
poise = 'm_w'
poise = 'width'
} 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) {
......
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