Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
毕凯
9 years ago
Commit
5de219ee3ca94e375c0f4b25c03eeb38f76154c3
1 parent
06fb06b7
加入购物车数字 99+
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
static/js/cart/chose-panel.js
static/js/cart/chose-panel.js
View file @
5de219e
...
...
@@ -352,9 +352,15 @@ $yohoPage.on('touchstart', '.btn-minus', function() {
cartType
:
queryString
.
cartType
}
}).
done
(
function
(
res
)
{
var
cartNum
;
loading
.
hideLoadingMask
();
if
(
res
.
code
===
200
)
{
$
(
'.num-tag'
).
html
(
numInCart
+
buyNumber
).
removeClass
(
'hide'
);
cartNum
=
numInCart
+
buyNumber
;
if
(
cartNum
>
99
)
{
cartNum
=
'99+'
;
}
$
(
'.num-tag'
).
html
(
cartNum
).
removeClass
(
'hide'
);
confirming
=
false
;
if
(
cbFn
)
{
...
...
Please
register
or
login
to post a comment