Authored by xuqi

Merge branch 'release/1.0' of http://git.yoho.cn/fe/yoho-blk into release/1.0

... ... @@ -756,7 +756,7 @@ const setSizeData = (sizeInfo) => {
size.param = sizeTable;
}
if (_.isEmpty(_.get(size, 'param.sizeTable.tbody', ''))) {
if (_.isEmpty(_.get(size, 'param.tbody', ''))) {
return {}; // 无尺码信息则不显示该块
}
... ...
... ... @@ -174,16 +174,17 @@ $('#comment-info').keyup(function() {
if (len === 0) {
$wordCountTip.html('');
$commentBtn.removeClass('able');
$commentBtn.addClass('disable');
} else {
if (len - MAX_COMMENTS_WORDS <= 0) {
showTxt = '还可以输入' + (MAX_COMMENTS_WORDS - len) + '字';
$commentBtn.removeClass('disable');
$commentBtn.css('background', '#1b1b1b');
$commentBtn.addClass('able');
} else {
showTxt = '已超过<span class="exceed-count">' + (len - MAX_COMMENTS_WORDS) + '</span>字';
$commentBtn.removeClass('able');
$commentBtn.addClass('disable');
$commentBtn.css('background', '#999');
}
}
$wordCountTip.html(showTxt);
... ...
... ... @@ -448,12 +448,20 @@
text-align: center;
color: #fff;
font-size: 14px;
background: #999;
background: #000;
cursor: pointer;
&:hover {
/* &:hover {
background: #000;
}*/
}
.disable {
background: #999;
}
.able {
background: #000;
}
.comments-wrap {
... ...
.product-item-page {
.brand-fav.coll {
color: #fc0d1b !important;
}
.thumbs {
width: 596px;
height: 643px;
... ...