Commit 058250bb authored by agping's avatar agping

商学院 h5图片显示

parent 7a09256e
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -4,10 +4,12 @@ let ServerHost = 'https://pre2.tonglianjituan.com'; ...@@ -4,10 +4,12 @@ let ServerHost = 'https://pre2.tonglianjituan.com';
if(location.origin === 'https://api.tonglianjituan.com') { if(location.origin === 'https://api.tonglianjituan.com') {
ServerHost = location.origin; ServerHost = location.origin;
}; };
let ServerHostImageLiu = 'http://images.tonglianjituan.com';
import axios from 'axios'; import axios from 'axios';
import '@/assets/js/layer041002.js'; import '@/assets/js/layer041002.js';
export default { export default {
ServerHost, ServerHost,
ServerHostImageLiu,
isAndroid() { isAndroid() {
//判断是不是安卓设备 //判断是不是安卓设备
let u = navigator.userAgent; let u = navigator.userAgent;
......
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
}, },
urlImg(u) { urlImg(u) {
let _this = this; let _this = this;
return _this.common.ServerHost + '/app/images/' +u+"?version=521"; return _this.common.ServerHostImageLiu + '/app/images/' +u+"?version=521";
}, },
loadMain() { loadMain() {
let _this = this; let _this = this;
......
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