Authored by OF1706

Merge branch 'feature/shoppingCart' of http://git.yoho.cn/fe/yohobuy-node into feature/shoppingCart

... ... @@ -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">&#xe60b;</i></span>
... ...
... ... @@ -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('新增地址');
});
... ...
... ... @@ -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%;
... ...