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
21b00a1e
Commit
21b00a1e
authored
Oct 15, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商品更新
parent
20e7f987
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
+7
-8
education.html
src/components/education/education.html
+1
-1
goods-cart.ts
src/pages/serve-pages/goods-collect/goods-cart/goods-cart.ts
+6
-5
goods-collect.ts
src/pages/serve-pages/goods-collect/goods-collect.ts
+0
-2
No files found.
src/components/education/education.html
View file @
21b00a1e
...
...
@@ -2,7 +2,7 @@
<div
*
ngIf=
"isEdu"
class=
"signMask"
(
click
)="
closeEdu
()"
>
<div
class=
"mask-content-edu"
(
click
)="
stop
($
event
)"
>
<div
class=
"bgc_edu"
>
<img
src=
"./assets/imgs/home/edu_
mask
.png"
alt=
""
>
<img
src=
"./assets/imgs/home/edu_
banner
.png"
alt=
""
>
</div>
<ion-icon
class=
"close"
name=
"close"
></ion-icon>
</div>
...
...
src/pages/serve-pages/goods-collect/goods-cart/goods-cart.ts
View file @
21b00a1e
...
...
@@ -87,7 +87,8 @@ export class GoodsCartPage {
this
.
serveSer
.
shoppingCar
(
data
).
subscribe
(
(
res
)
=>
{
this
.
cartList
=
res
.
list
;
this
.
isLoad
=
false
;
this
.
page
.
total
=
res
.
total
;
this
.
page
.
loadMore
=
false
;
this
.
cartList
.
forEach
(
e
=>
{
e
.
checkbox
=
false
;
})
...
...
@@ -98,7 +99,6 @@ export class GoodsCartPage {
//下拉刷新
doRefresh
(
e
)
{
this
.
page
.
loadMore
=
true
;
this
.
infiniteScrollContent
.
inf
.
enable
(
true
);
const
data
=
{
P_pageNumber
:
1
,
P_pageSize
:
this
.
page
.
P_pageSize
,
...
...
@@ -107,7 +107,8 @@ export class GoodsCartPage {
this
.
serveSer
.
shoppingCar
(
data
).
subscribe
(
(
res
)
=>
{
this
.
cartList
=
res
.
list
;
this
.
page
.
total
=
res
.
data
.
total
;
this
.
page
.
total
=
res
.
total
;
this
.
page
.
loadMore
=
false
;
timer
(
800
).
subscribe
(()
=>
{
this
.
commonSer
.
toast
(
'刷新成功'
);
e
.
complete
()
...
...
@@ -129,9 +130,9 @@ export class GoodsCartPage {
P_pageSize
:
this
.
page
.
P_pageSize
,
status
:
1
};
this
.
serveSer
.
s
earchCheckList
(
data
).
subscribe
(
this
.
serveSer
.
s
hoppingCar
(
data
).
subscribe
(
(
res
)
=>
{
this
.
page
.
total
=
res
.
data
.
total
;
this
.
page
.
total
=
res
.
total
;
res
.
list
.
forEach
(
e
=>
{
this
.
cartList
.
push
(
e
);
});
...
...
src/pages/serve-pages/goods-collect/goods-collect.ts
View file @
21b00a1e
...
...
@@ -151,9 +151,7 @@ export class GoodsCollectPage {
//加载更多
doInfinite
(
e
)
{
console
.
log
(
"doInfinite"
)
if
(
this
.
totalNum
==
this
.
goodsList
.
length
)
{
console
.
log
(
"没有更多了"
)
this
.
loadMore
=
false
;
e
.
enable
(
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