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
384a94c0
Commit
384a94c0
authored
May 09, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
你已经看到我的底线了
parent
5b9385f4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
25 deletions
+29
-25
discover.html
src/pages/tabs/discover/discover.html
+2
-0
discover.ts
src/pages/tabs/discover/discover.ts
+25
-23
home.html
src/pages/tabs/home/home.html
+2
-2
No files found.
src/pages/tabs/discover/discover.html
View file @
384a94c0
...
@@ -113,4 +113,6 @@
...
@@ -113,4 +113,6 @@
loadingText=
"加载更多..."
></ion-infinite-scroll-content>
loadingText=
"加载更多..."
></ion-infinite-scroll-content>
</ion-infinite-scroll>
</ion-infinite-scroll>
<p
class=
"noData"
*
ngIf=
"!loadMore"
>
你已经看到我的底线了
</p>
</ion-content>
</ion-content>
src/pages/tabs/discover/discover.ts
View file @
384a94c0
...
@@ -152,6 +152,8 @@ export class DiscoverPage {
...
@@ -152,6 +152,8 @@ export class DiscoverPage {
//分页
//分页
pageCount
=
AppGlobal
.
pageCount
;
pageCount
=
AppGlobal
.
pageCount
;
loadMore
=
true
;
constructor
(
public
navCtrl
:
NavController
,
public
navParams
:
NavParams
,
constructor
(
public
navCtrl
:
NavController
,
public
navParams
:
NavParams
,
public
commonSer
:
CommonService
,
public
renderer
:
Renderer2
,
public
commonSer
:
CommonService
,
public
renderer
:
Renderer2
,
public
tabsSer
:
TabsService
,
public
emitSer
:
EmitService
)
{
public
tabsSer
:
TabsService
,
public
emitSer
:
EmitService
)
{
...
@@ -229,29 +231,6 @@ export class DiscoverPage {
...
@@ -229,29 +231,6 @@ export class DiscoverPage {
)
)
}
}
//前往搜索页面
goToSearch
()
{
this
.
navCtrl
.
push
(
SearchNewPage
);
}
//查看详情
goToDetail
(
item
)
{
this
.
navCtrl
.
push
(
StuffDetailPage
,
{
id
:
item
.
id
});
}
//前往发布页面
goToPublish
()
{
this
.
navCtrl
.
push
(
PublishPage
);
}
//消息提醒页面
goToNotice
()
{
this
.
navCtrl
.
push
(
NoticePage
);
}
//下拉刷新
//下拉刷新
doRefresh
(
e
)
{
doRefresh
(
e
)
{
const
data
=
{
const
data
=
{
...
@@ -288,6 +267,29 @@ export class DiscoverPage {
...
@@ -288,6 +267,29 @@ export class DiscoverPage {
},
1000
)
},
1000
)
}
}
//前往搜索页面
goToSearch
()
{
this
.
navCtrl
.
push
(
SearchNewPage
);
}
//查看详情
goToDetail
(
item
)
{
this
.
navCtrl
.
push
(
StuffDetailPage
,
{
id
:
item
.
id
});
}
//前往发布页面
goToPublish
()
{
this
.
navCtrl
.
push
(
PublishPage
);
}
//消息提醒页面
goToNotice
()
{
this
.
navCtrl
.
push
(
NoticePage
);
}
slideChange
()
{
slideChange
()
{
let
index
=
this
.
slides
.
getActiveIndex
();
let
index
=
this
.
slides
.
getActiveIndex
();
if
(
index
==
this
.
tabsList
.
length
)
index
=
0
;
if
(
index
==
this
.
tabsList
.
length
)
index
=
0
;
...
...
src/pages/tabs/home/home.html
View file @
384a94c0
...
@@ -108,9 +108,9 @@
...
@@ -108,9 +108,9 @@
<ion-infinite-scroll
#
infiniteScrollContentEle
(
ionInfinite
)="
doInfinite
($
event
)"
>
<ion-infinite-scroll
#
infiniteScrollContentEle
(
ionInfinite
)="
doInfinite
($
event
)"
>
<ion-infinite-scroll-content
<ion-infinite-scroll-content
loadingSpinner=
"bubbles"
loadingSpinner=
"bubbles"
loadingText=
"加载
更多...
"
></ion-infinite-scroll-content>
loadingText=
"加载
中
"
></ion-infinite-scroll-content>
</ion-infinite-scroll>
</ion-infinite-scroll>
<p
class=
"noData"
*
ngIf=
"!loadMore"
>
已经到底
了
</p>
<p
class=
"noData"
*
ngIf=
"!loadMore"
>
你已经看到我的底线
了
</p>
</ion-content>
</ion-content>
<!--政治生日-->
<!--政治生日-->
<div
*
ngIf=
"isBir"
class=
"signMask"
(
click
)="
close
($
event
)"
>
<div
*
ngIf=
"isBir"
class=
"signMask"
(
click
)="
close
($
event
)"
>
...
...
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