Authored by 郭成尧

global

... ... @@ -241,10 +241,17 @@ const processArticleDetail = (articleContent, isApp, gender, isWeixin, isqq, isW
if (_.get(value, 'singleImage.data.length', false)) {
let tagList = _.get(value, 'singleImage.data[0].tagList', []);
if (tagList.length > 0) {
_.forEach(tagList, (tag, tagIndex) => {
// 链接
if (tag.is_global === 'Y') {
tagList[tagIndex].href = '//m.yohobuy.com/product/global/' + tag.product_skn + '.html';
} else {
tagList[tagIndex].href = '//m.yohobuy.com/product/' + tag.product_skn + '.html';
}
tagList[tagIndex].href = '//m.yohobuy.com/product/' + tag.product_skn + '.html';
tagList[tagIndex].isApp = isApp;
});
... ...