Authored by zhangxiaoru

editorial样式

... ... @@ -464,16 +464,17 @@ const _getArticlePre = (id, appType) => {
console.log(result.message);
if (result && result.code === 200) {
let perArticle = {};
let id = result.data.articleIdPre;
// let id = result.data.articleIdPre;
perArticle.href = `${config.siteUrl}/editorial/${result.data.articleIdPre}.html`;
console.log()
_getHeadData(id, appType).then((list) => {
console.log(list)
_getHeadData(result.data.articleIdPre, appType).then((list) => {
console.log(list);
perArticle.lastChapter = list.title;
}).then(() => {
console.log(perArticle)
console.log(perArticle);
return perArticle;
});
... ...
... ... @@ -729,7 +729,8 @@ const getExchangeDetailData = (id, uid) => {
if (result[0] && result[0].data) {
let data = result[0].data;
//console.log(data)
// console.log(data)
_.forEach(data.goods_list, function(value) {
_.forEach(value.evidence_images, function(list, index) {
value.evidence_images[index] = list.substring(0, list.indexOf('?'));
... ...