Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
刘传洋
2017-01-19 11:30:52 +0800
Commit
5a031fa916a056db52ca9a2efbc1bb930c4b14f3
2 parents
783031fa
aab77949
Merge branch 'feature/shoppingCart' of
http://git.yoho.cn/fe/yohobuy-node
into feature/shoppingCart
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
6 deletions
public/js/cart/cart-action.js
public/js/cart/order-new/areaSelect.js
public/js/cart/rdialog.js
public/scss/cart/_cart.css
public/js/cart/cart-action.js
View file @
5a031fa
...
...
@@ -101,7 +101,7 @@ Cart = {
var
$this
=
$
(
this
);
var
$item
=
$this
.
closest
(
'li[data-role="pitem"]'
);
var
selectArray
=
[];
var
content
=
'<div><
span></span>删除商品</div><p>确定从购物车中删除此
商品?</p>'
;
var
content
=
'<div><
i class="iconfont"></i>删除商品</div><p>确定要从购物车中删除该
商品?</p>'
;
var
countJSON
;
selectArray
.
push
({
...
...
public/js/cart/order-new/areaSelect.js
View file @
5a031fa
...
...
@@ -227,7 +227,7 @@ var areaSelect = {
return
this
.
area
?
this
.
area
.
id
:
''
;
},
text
:
function
()
{
let
arr
=
[];
var
arr
=
[];
if
(
this
.
province
.
text
)
{
arr
.
push
(
this
.
province
.
text
);
...
...
public/js/cart/rdialog.js
View file @
5a031fa
...
...
@@ -4,7 +4,9 @@
* @date: 2016/01/06
*/
var
$
=
require
(
'yoho-jquery'
),
Dialog
=
require
(
'../plugins/dialog'
).
Dialog
;
Dialog
=
require
(
'../common/dialog'
).
Dialog
;
function
RDialog
(
opts
)
{
var
option
=
$
.
extend
(
true
,
{},
{
...
...
@@ -16,6 +18,7 @@ function RDialog(opts) {
option
.
btns
.
name
=
''
;
Dialog
.
call
(
this
,
option
);
}
RDialog
.
prototype
=
new
Dialog
({
...
...
public/scss/cart/_cart.css
View file @
5a031fa
...
...
@@ -1394,8 +1394,11 @@
}
}
}
.r-dialog.yoho-dialog
{
min-width
:
370px
;
box-sizing
:
content-box
;
}
.r-dialog
{
min-width
:
420px
;
padding
:
40px
20px
;
.close
{
...
...
@@ -1411,9 +1414,9 @@
i
{
display
:
inline-block
;
color
:
#d0021b
;
font-size
:
2
4
px
;
font-size
:
2
6
px
;
margin-right
:
20px
;
vertical-align
:
middl
e
;
vertical-align
:
baselin
e
;
}
h3
{
margin-top
:
35px
;
...
...
Please
register
or
login
to post a comment