...
|
...
|
@@ -248,7 +248,9 @@ const processArticleDetail = (articleContent, isApp, gender, isWeixin, isqq, isW |
|
|
bigImage: helpers.image(_.get(value, 'singleImage.data[0].src', ''), 640, 640),
|
|
|
noLazy: index <= 3,
|
|
|
tagList: tagList,
|
|
|
isGif: /\.gif/i.test(_.get(value, 'singleImage.data[0].src', ''))
|
|
|
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,
|
|
|
});
|
|
|
}
|
|
|
|
...
|
...
|
@@ -258,11 +260,11 @@ const processArticleDetail = (articleContent, isApp, gender, isWeixin, isqq, isW |
|
|
smallImage: [
|
|
|
{
|
|
|
src: helpers.image(_.get(value, 'smallPic.data[0].src', ''), 315, 420),
|
|
|
isGif: /\.gif/i.test(_.get(value, 'smallPic.data[0].src', ''))
|
|
|
isGif: /\.gif/i.test(_.get(value, 'smallPic.data[0].src', '')),
|
|
|
},
|
|
|
{
|
|
|
src: helpers.image(_.get(value, 'smallPic.data[1].src', ''), 315, 420),
|
|
|
isGif: /\.gif/i.test(_.get(value, 'smallPic.data[0].src', ''))
|
|
|
isGif: /\.gif/i.test(_.get(value, 'smallPic.data[0].src', '')),
|
|
|
}
|
|
|
]
|
|
|
});
|
...
|
...
|
|