|
@@ -50,7 +50,9 @@ Page({
|
|
|
const works = res.data.data.userRead;
|
|
|
const othersTemp = [];
|
|
|
others.forEach((item) => {
|
|
|
- const temp = {};
|
|
|
+ const temp = {};
|
|
|
+ temp.uid = item.userRead.id;
|
|
|
+ temp.title = item.userRead.title;
|
|
|
temp.image = item.user.avatar;
|
|
|
temp.nickName = item.user.wechatName;
|
|
|
othersTemp.push(temp);
|
|
@@ -191,7 +193,7 @@ Page({
|
|
|
// 去其他用户的作品页
|
|
|
goToOthers: function (e) {
|
|
|
wx.navigateTo({
|
|
|
- url: `../../main/reading/reading?id=${id}&title=${title}`
|
|
|
+ url: `../../social/works/works?id=${e.currentTarget.dataset.uid}&title=${e.currentTarget.dataset.title}`
|
|
|
})
|
|
|
},
|
|
|
// 查询回复
|