Commit ab1071c7 authored by wangqinghua's avatar wangqinghua

1.首页和发现页面 页面跳转返回保持和之前统一位置

2.文章附件bug修复
parent ca171417
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
"proxies": [ "proxies": [
{ {
"path": "/wisdomgroup", "path": "/wisdomgroup",
"proxyUrl": "http://192.168.2.235:8080/wisdomgroup" "proxyUrl": "http://47.103.35.216:8080/wisdomgroup"
} }
] ]
} }
\ No newline at end of file
...@@ -191,7 +191,7 @@ export class DiscoverPage { ...@@ -191,7 +191,7 @@ export class DiscoverPage {
}); });
} }
ionViewDidEnter() { ionViewDidLoad() {
this.slideList.length = 5; this.slideList.length = 5;
this.changeParent(this.tabsList[1]); this.changeParent(this.tabsList[1]);
} }
......
...@@ -103,10 +103,10 @@ export class HomePage { ...@@ -103,10 +103,10 @@ export class HomePage {
this.signObj = res.data; this.signObj = res.data;
} }
); );
this.change(this.tabsList[0]);
} }
ionViewDidLoad() { ionViewDidLoad() {
this.change(this.tabsList[0]);
this.itemWidth = window.screen.width / 4; this.itemWidth = window.screen.width / 4;
this.spanWidth = this.tabSpan.nativeElement.offsetWidth; //文字宽度 this.spanWidth = this.tabSpan.nativeElement.offsetWidth; //文字宽度
this.tips.nativeElement.style.width = this.tabSpan.nativeElement.offsetWidth + 'px'; this.tips.nativeElement.style.width = this.tabSpan.nativeElement.offsetWidth + 'px';
......
...@@ -16,8 +16,8 @@ export class AppGlobal { ...@@ -16,8 +16,8 @@ export class AppGlobal {
// static domain = "http://101.89.112.92:80"; //正式环境 // static domain = "http://101.89.112.92:80"; //正式环境
// static domain = "http://192.168.2.235:8080"; //测试环境 // static domain = "http://192.168.2.235:8080"; //测试环境
// static domain = "http://47.103.33.196:8080"; //阿里云测试地址 // static domain = "http://47.103.33.196:8080"; //阿里云测试地址
static domain = "http://47.103.35.216:8080"; //阿里云正式地址 // static domain = "http://47.103.35.216:8080"; //阿里云正式地址
// static domain = ""; //本地环境/ static domain = ""; //本地环境/
//图片地址 //图片地址
// static picture = AppGlobal.domain + "/wisdomgroup/manager/getIcon/"; //正式地址 // static picture = AppGlobal.domain + "/wisdomgroup/manager/getIcon/"; //正式地址
......
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