Authored by Rock Zhang

Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop

... ... @@ -131,6 +131,7 @@ $addressListPage.find('.address').each(function(i, elem) {
$this.siblings().hide();
$this.children('ul').show().children('li').show();
$(this).removeClass('highlight');
e.srcEvent.preventDefault();
e.srcEvent.stopPropagation();
});
... ...
... ... @@ -129,7 +129,7 @@ orderHammer.on('tap', function(e) {
if (data.code === 200) {
//删除订单页面刷新
location.href = location.href;
history.go(0);
}
}
});
... ... @@ -154,7 +154,7 @@ orderHammer.on('tap', function(e) {
if (data.code === 200) {
//取消订单页面刷新
location.href = location.href;
history.go(0);
}
}
});
... ...
... ... @@ -37,6 +37,12 @@ likeHammer.on('tap', function(e) {
success: function(data) {
if (data.code === 200) {
$this.toggleClass('liked');
if ('cancel' === opt) {
tip.show('取消收藏成功');
} else if ('ok' === opt) {
tip.show('收藏成功');
}
} else if (data.code === 400) {
location.href = data.data;//未登录跳转登录页
} else {
... ...
... ... @@ -23,7 +23,7 @@
display: inline-block;
max-width: pxToRem(380px);
overflow: hidden;
text-overflow: ellipsis;
text-overflow: ellipsis;
white-space: nowrap;
}
... ... @@ -40,7 +40,7 @@
font-size: pxToRem(40px);
line-height: pxToRem(60px);
text-align: right;
.edit,
.del {
display: inline-block;
... ... @@ -48,6 +48,10 @@
width: pxToRem(60px);
height: pxToRem(60px);
color: #999;
&:hover {
color: #666;
}
}
.edit {
... ... @@ -212,7 +216,7 @@
float: right;
color: #d0d0d0;
}
&.highlight {
background: #eee;
}
... ...
... ... @@ -45,9 +45,6 @@ $basicBtnC:#eb0313;
font-size: pxToRem(24px);
background-color: $tableCellC;
float: left;
&:last-child {
border-bottom: none;
}
&:nth-child(even) {
border-right: none;
}
... ...
... ... @@ -66,12 +66,6 @@
}
}
}
// .material-type {
// width: pxToRem(581px);
// height: pxToRem(99px);
// border-top: 1px solid $borderC;
// padding: pxToRem(17px) 0;
// }
}
.wash-tips{
padding-top:pxToRem(18px);
... ...
... ... @@ -113,8 +113,8 @@
</div>
{{/ enterStore}}
<div id="productDesc"></div>
<!-- {{> product/product-description}} -->
<!-- <div id="productDesc"></div> -->
{{> product/product-description}}
{{> product/recommend-for-you}}
{{#cartInfo}}
... ... @@ -139,5 +139,4 @@
{{/if}}
</div>
{{> layout/footer}}
<div class="bottom-blank"></div>
\ No newline at end of file
{{> layout/footer}}
\ No newline at end of file
... ...