Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
muChangApp
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
WitCloud
muChangApp
Commits
cb6fadb7
Commit
cb6fadb7
authored
Jun 14, 2019
by
van.chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
牛棚页面 + 首页少部分修改 + 一键控制 + 调试loading
parent
79251586
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
20 deletions
+7
-20
home.page.html
src/app/home/home.page.html
+1
-1
home.page.scss
src/app/home/home.page.scss
+0
-14
api.ts
src/app/service/api.ts
+0
-1
load.ts
src/app/service/load.ts
+6
-4
No files found.
src/app/home/home.page.html
View file @
cb6fadb7
<div
class=
"mainCon"
>
<div
class=
"topSearch"
>
<SearchBar
[
placeholder
]="'点击此处进行搜索'"
></SearchBar>
<SearchBar
[
placeholder
]="'点击此处进行搜索'"
[
setFocus
]="
false
"
></SearchBar>
</div>
<ion-slides
style=
"width: 100%;height: 200px;"
mode=
"ios"
[
options
]="
lunbo
"
#
slide
(
ionSlideTouchEnd
)="
slideDidChange
()"
>
...
...
src/app/home/home.page.scss
View file @
cb6fadb7
...
...
@@ -77,17 +77,3 @@
.topSearch
{
padding-right
:
40px
;
}
.
topSearch
:
:
after
{
content
:
'搜索'
;
position
:
absolute
;
right
:
0
;
top
:
0
;
display
:
inline-block
;
height
:
44px
;
line-height
:
44px
;
text-align
:
center
;
width
:
50px
;
color
:
#1890ff
;
background-color
:
#efeff4
;
}
src/app/service/api.ts
View file @
cb6fadb7
...
...
@@ -68,7 +68,6 @@ export class Api {
if
(
this
.
http
.
handleToken
(
data
))
{
next
(
data
);
}
else
{
this
.
load
.
offLoad
();
if
(
!
this
.
tokenLoseflag
)
{
this
.
presentMsgToast
(
'登录失效,请重新登陆'
);
this
.
http
.
toLoginPage
(
2000
);
...
...
src/app/service/load.ts
View file @
cb6fadb7
...
...
@@ -36,9 +36,11 @@ export class Load {
}
offLoad
()
{
this
.
isLoad
=
false
;
this
.
showNum
=
false
;
this
.
msg
=
''
;
this
.
time
=
0
;
setTimeout
(()
=>
{
this
.
isLoad
=
false
;
this
.
showNum
=
false
;
this
.
msg
=
''
;
this
.
time
=
0
;
});
}
}
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