Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
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
a3f2008d705e541d7a2b98dbe829b48311b40e39
1 parent
1567cbd2
购物车修改
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 additions
and
3 deletions
static/js/cart/cart.js
static/js/cart/chose-panel.js
static/js/cart/gift-advance.js
static/js/cart/cart.js
View file @
a3f2008
...
...
@@ -14,7 +14,6 @@ var chosePanel = require('./chose-panel'),
var
$cartContent
=
$
(
'.cart-content'
);
var
navHammer
,
$advanceBuy
=
$
(
'.advance-buy'
),
cartType
=
$
(
'#cartType'
).
val
();
var
hasChecked
=
$
(
'.cart-goods .icon-cb-checked'
).
length
>
0
?
true
:
false
;
//是否有选中商品
...
...
static/js/cart/chose-panel.js
View file @
a3f2008
...
...
@@ -75,7 +75,6 @@ function show(html, cb) {
//隐藏当前Panel
function
hide
()
{
$
(
'.chose-panel'
).
hide
();
//cbFn = null;
}
//修改加入购物车的文字和背景
...
...
static/js/cart/gift-advance.js
View file @
a3f2008
...
...
@@ -25,7 +25,7 @@ function getProductInfo(skn, promotionId) {
tip
.
show
(
'网络错误'
);
return
;
}
chosePanel
.
show
(
html
,
function
(){
chosePanel
.
show
(
html
,
function
()
{
window
.
location
.
href
=
'/cart/index/orderEnsure?cartType='
+
queryString
.
cartType
;
});
},
function
()
{
...
...
Please
register
or
login
to post a comment