Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
xuqi
9 years ago
Commit
276c703edf8db8972ec99e99414cd1a163bf0ee1
1 parent
89b8f534
shopping cart name
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
public/js/shopping/cart/cart.js
public/js/shopping/cart/cart.js
View file @
276c703
...
...
@@ -208,7 +208,7 @@ Cart = {
if
(
products
.
length
)
{
dialog
=
new
_confirm
({
content
:
'您确定要从购物
车
中删除该商品吗?'
,
content
:
'您确定要从购物
袋
中删除该商品吗?'
,
cb
:
function
()
{
dialog
.
close
();
Util
.
ajax
({
...
...
@@ -293,14 +293,14 @@ Cart = {
* @params { Function } callback 移入收藏夹成功后回调
*/
sendToFavorite
:
function
(
products
,
callback
)
{
var
msg
=
'<p>确定要将该商品从购物
车中移入收藏吗?</p><p>移入收藏后该商品将不在购物车
中显示</p>'
;
var
msg
=
'<p>确定要将该商品从购物
袋中移入收藏吗?</p><p>移入收藏后该商品将不在购物袋
中显示</p>'
;
var
dialog
;
if
(
!
products
.
length
)
{
new
_alert
(
'请至少选中一件商品!'
).
show
();
}
else
{
if
(
products
.
length
>
1
)
{
msg
=
'<p>确定要将已选中的商品从购物
车中移入收藏吗?</p><p>移入收藏后已选中的商品将不在购物车
中显示</p>'
;
msg
=
'<p>确定要将已选中的商品从购物
袋中移入收藏吗?</p><p>移入收藏后已选中的商品将不在购物袋
中显示</p>'
;
}
// callback存在说明从删除模块收藏
...
...
Please
register
or
login
to post a comment