...
|
...
|
@@ -33,18 +33,17 @@ const _pageArticleContent = (articleContent, isApp, gender) => { |
|
|
if (i < len) {
|
|
|
let build = {};
|
|
|
let art = articleContent[i];
|
|
|
|
|
|
// 文字
|
|
|
if (art.text && art.text.data && art.text.data.text) {
|
|
|
build.text = art.text.data.text;
|
|
|
contents.push(build);
|
|
|
joinContentFunc(++i, len);
|
|
|
} else if (art.singleImage) { // 单张图
|
|
|
} else if (art.singleImage && art.singleImage.data && art.singleImage.data.length) { // 单张图
|
|
|
build.bigImage = helpers.image(art.singleImage.data[0].src, 640, 640);
|
|
|
contents.push(build);
|
|
|
joinContentFunc(++i, len);
|
|
|
|
|
|
} else if (art.smallPic && art.smallPic.data) {
|
|
|
} else if (art.smallPic && art.smallPic.data && art.smallPic.data.length > 1) {
|
|
|
let imgs = art.smallPic.data;
|
|
|
|
|
|
build.smallImage = [{
|
...
|
...
|
|