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
OF1706
2017-02-08 10:20:44 +0800
Commit
b5b5e25c5bf70fbcd63137a2ef93d0eadee1cfdf
2 parents
a15b0773
65c071e5
Merge branch 'feature/shoppingCart' of
http://git.yoho.cn/fe/yohobuy-node
into feature/shoppingCart
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
1 deletions
apps/cart/views/action/order-ensure2016.hbs
public/js/cart/order-new/address.js
public/scss/cart/_order-ensure2016.css
apps/cart/views/action/order-ensure2016.hbs
View file @
b5b5e25
...
...
@@ -25,6 +25,10 @@
</p>
</div>
{{/
deliveryAddress
}}
<div
id=
"new-address-block"
class=
"new-addr"
>
<div
class=
"plus-icon"
></div>
<p>
增加收货地址
</p>
</div>
</div>
<p
class=
"addr-opt"
>
<span
class=
"more-addr-btn"
>
显示全部地址
<i
class=
"iconfont"
>

</i></span>
...
...
public/js/cart/order-new/address.js
View file @
b5b5e25
...
...
@@ -286,7 +286,7 @@ function newEditAddress(title, info, $el) {
bindOperateEvent
(
addDia
.
$el
);
}
$
(
'#new-address-btn'
).
click
(
function
()
{
$
(
'#new-address-btn
, #new-address-block
'
).
click
(
function
()
{
newEditAddress
(
'新增地址'
);
});
...
...
public/scss/cart/_order-ensure2016.css
View file @
b5b5e25
...
...
@@ -179,6 +179,7 @@
overflow
:
hidden
;
}
.new-addr
,
.addr-item
{
width
:
200px
;
height
:
162px
;
...
...
@@ -189,7 +190,36 @@
border
:
1px
solid
$
borderColor
;
position
:
relative
;
cursor
:
pointer
;
}
.new-addr
{
.plus-icon
{
width
:
60px
;
padding-top
:
70px
;
margin-left
:
72px
;
border-bottom
:
4px
solid
#e0e0e0
;
margin-bottom
:
50px
;
position
:
relative
;
}
.plus-icon
:after
{
content
:
''
;
height
:
60px
;
display
:
block
;
border-left
:
4px
solid
#e0e0e0
;
position
:
absolute
;
left
:
28px
;
top
:
42px
;
}
>
p
{
padding-left
:
6px
;
text-align
:
center
;
}
}
.addr-item
{
&:before
{
content
:
''
;
width
:
100%
;
...
...
Please
register
or
login
to post a comment