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
bb2e839f
Commit
bb2e839f
authored
Nov 06, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
11ce2696
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
10 deletions
+5
-10
discover.ts
src/pages/tabs/discover/discover.ts
+4
-9
home.ts
src/pages/tabs/home/home.ts
+1
-1
No files found.
src/pages/tabs/discover/discover.ts
View file @
bb2e839f
...
@@ -382,7 +382,7 @@ export class DiscoverPage {
...
@@ -382,7 +382,7 @@ export class DiscoverPage {
click
:
function
()
{
click
:
function
()
{
const
item
=
that
.
slidersItems
[
this
.
activeIndex
];
const
item
=
that
.
slidersItems
[
this
.
activeIndex
];
if
(
item
.
static
==
"true"
)
{
if
(
item
.
static
==
"true"
)
{
that
.
swiper
.
slideTo
(
1
,
5
00
);
//前往主题教育
that
.
swiper
.
slideTo
(
1
,
3
00
);
//前往主题教育
return
false
;
return
false
;
}
}
if
(
item
.
plateType
==
"20"
)
return
false
;
if
(
item
.
plateType
==
"20"
)
return
false
;
...
@@ -396,7 +396,7 @@ export class DiscoverPage {
...
@@ -396,7 +396,7 @@ export class DiscoverPage {
//前往主题教育
//前往主题教育
goEdu
()
{
goEdu
()
{
this
.
swiper
.
slideTo
(
1
,
5
00
);
//前往主题教育
this
.
swiper
.
slideTo
(
1
,
3
00
);
//前往主题教育
}
}
//获取轮播图
//获取轮播图
...
@@ -463,12 +463,7 @@ export class DiscoverPage {
...
@@ -463,12 +463,7 @@ export class DiscoverPage {
if
(
item
.
children
[
0
].
name
==
"支部列表"
)
{
if
(
item
.
children
[
0
].
name
==
"支部列表"
)
{
this
.
indexChildren
=
34
;
this
.
indexChildren
=
32
;
this
.
moreParty
();
if
(
this
.
obj
.
branchId
)
this
.
getMemberList
(
this
.
obj
.
branchId
);
this
.
branchObj
.
show
=
true
;
this
.
slides
.
slideTo
(
this
.
indexParent
,
500
);
return
false
;
}
else
{
}
else
{
this
.
branchObj
.
show
=
false
;
this
.
branchObj
.
show
=
false
;
}
}
...
@@ -501,7 +496,7 @@ export class DiscoverPage {
...
@@ -501,7 +496,7 @@ export class DiscoverPage {
}
}
}
}
});
});
this
.
slides
.
slideTo
(
this
.
indexParent
,
5
00
);
this
.
slides
.
slideTo
(
this
.
indexParent
,
3
00
);
this
.
slideList
[
this
.
indexParent
]
=
this
.
newList
;
this
.
slideList
[
this
.
indexParent
]
=
this
.
newList
;
}
}
)
)
...
...
src/pages/tabs/home/home.ts
View file @
bb2e839f
...
@@ -241,7 +241,7 @@ export class HomePage {
...
@@ -241,7 +241,7 @@ export class HomePage {
//加载更多
//加载更多
doInfinite
(
e
)
{
doInfinite
(
e
)
{
if
(
this
.
total
<
this
.
pageSize
||
this
.
total
==
this
.
pageSize
)
{
if
(
this
.
total
<
this
.
slideList
[
this
.
index
].
length
||
this
.
total
==
this
.
slideList
[
this
.
index
].
length
)
{
e
.
complete
();
e
.
complete
();
return
false
;
return
false
;
}
}
...
...
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