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
Email Patches
Plain Diff
Browse Files
Authored by
yyq
2017-02-06 18:00:54 +0800
Commit
5009ce26f0c6b42aaa337f8e39222d13ef18df6a
1 parent
27d7dad6
添加地址
Show 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 @
5009ce2
...
...
@@ -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 @
5009ce2
...
...
@@ -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 @
5009ce2
...
...
@@ -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