Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
party-build-cloud
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangqinghua
party-build-cloud
Commits
ab1071c7
Commit
ab1071c7
authored
May 16, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.首页和发现页面 页面跳转返回保持和之前统一位置
2.文章附件bug修复
parent
ca171417
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
ionic.config.json
ionic.config.json
+2
-1
discover.ts
src/pages/tabs/discover/discover.ts
+1
-1
home.ts
src/pages/tabs/home/home.ts
+1
-1
http.service.ts
src/service/http.service.ts
+2
-2
No files found.
ionic.config.json
View file @
ab1071c7
...
...
@@ -7,7 +7,7 @@
"proxies"
:
[
{
"path"
:
"/wisdomgroup"
,
"proxyUrl"
:
"http://
192.168.2.235
:8080/wisdomgroup"
"proxyUrl"
:
"http://
47.103.35.216
:8080/wisdomgroup"
}
]
}
\ No newline at end of file
src/pages/tabs/discover/discover.ts
View file @
ab1071c7
...
...
@@ -191,7 +191,7 @@ export class DiscoverPage {
});
}
ionViewDid
Enter
()
{
ionViewDid
Load
()
{
this
.
slideList
.
length
=
5
;
this
.
changeParent
(
this
.
tabsList
[
1
]);
}
...
...
src/pages/tabs/home/home.ts
View file @
ab1071c7
...
...
@@ -103,10 +103,10 @@ export class HomePage {
this
.
signObj
=
res
.
data
;
}
);
this
.
change
(
this
.
tabsList
[
0
]);
}
ionViewDidLoad
()
{
this
.
change
(
this
.
tabsList
[
0
]);
this
.
itemWidth
=
window
.
screen
.
width
/
4
;
this
.
spanWidth
=
this
.
tabSpan
.
nativeElement
.
offsetWidth
;
//文字宽度
this
.
tips
.
nativeElement
.
style
.
width
=
this
.
tabSpan
.
nativeElement
.
offsetWidth
+
'px'
;
...
...
src/service/http.service.ts
View file @
ab1071c7
...
...
@@ -16,8 +16,8 @@ export class AppGlobal {
// static domain = "http://101.89.112.92:80"; //正式环境
// static domain = "http://192.168.2.235:8080"; //测试环境
// static domain = "http://47.103.33.196:8080"; //阿里云测试地址
static
domain
=
"http://47.103.35.216:8080"
;
//阿里云正式地址
//
static domain = ""; //本地环境/
//
static domain = "http://47.103.35.216:8080"; //阿里云正式地址
static
domain
=
""
;
//本地环境/
//图片地址
// static picture = AppGlobal.domain + "/wisdomgroup/manager/getIcon/"; //正式地址
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment