diff --git a/root/detail/apply.vue b/root/detail/apply.vue index f8d392b..d8a4637 100644 --- a/root/detail/apply.vue +++ b/root/detail/apply.vue @@ -880,6 +880,11 @@ export default { imgs: "", userName: this.orderDetail.userName, userId: that.orderDetail.userId, + fujian:(that.orderDetail.userApplyOrderFiles && that.orderDetail.userApplyOrderFiles.length > 0) + ? + that.orderDetail.userApplyOrderFiles.map(item => { return item.url }).join(',') + : + '' }; uni.navigateTo({ url: "/root/detail/fellow?" + that.G.objToStr(params), diff --git a/root/detail/fellow.vue b/root/detail/fellow.vue index f8a3d78..99f085e 100644 --- a/root/detail/fellow.vue +++ b/root/detail/fellow.vue @@ -278,8 +278,16 @@ export default { success: (res) => { if (res.statusCode === 200) { console.log(res.data.data.userImgs) - - that.imgList = res.data.data.userImgs + if(that.info.fujian){ + that.imgList = that.info.fujian.split(',').map(item => { + return { + url:item + } + }).concat(res.data.data.userImgs); + }else{ + that.imgList = res.data.data.userImgs + } + console.log(that.imgList) } else {