Authored by 毕凯

排版优化

... ... @@ -73,10 +73,11 @@
}
.related-goods {
float: left;
width: 100%;
background-color: #fff;
}
.related-goods .good-item {
width: 100%;
width: 100%;
border-top: 1px solid #e0e0e0;
float: left;
padding: 20px 0;
... ... @@ -87,7 +88,6 @@
}
.pic-mip {
max-width: 100%;
min-width: 100%;
}
.related-goods .good-item .info {
width: 70%;
... ...
... ... @@ -249,8 +249,8 @@ const processArticleDetail = (articleContent, isApp, gender, isWeixin, isqq, isW
noLazy: index <= 3,
tagList: tagList,
isGif: /\.gif/i.test(_.get(value, 'singleImage.data[0].src', '')),
width: _.get(value, 'singleImage.data[0].width', 0) / 2,
height: _.get(value, 'singleImage.data[0].height', 0) / 2,
width: 320,
height: _.get(value, 'singleImage.data[0].height', 0) / _.get(value, 'singleImage.data[0].width', 1) * 320 // eslint-disable-line
});
}
... ...