|
@@ -71,6 +71,7 @@ Page({
|
|
|
temp.shareImg = item.userRead.shareImg;
|
|
|
temp.grade = item.userRead.grade;
|
|
|
temp.videoShow = false;
|
|
|
+ item.isActivity && (temp.activity = true);
|
|
|
this.data.videoList.push(temp);
|
|
|
});
|
|
|
this.setData({
|
|
@@ -207,7 +208,8 @@ Page({
|
|
|
this.setData({
|
|
|
shareTitle: e.detail.currentTarget.dataset.title,
|
|
|
shareId: e.detail.currentTarget.dataset.id,
|
|
|
- shareImg: e.detail.currentTarget.dataset.shareimg
|
|
|
+ shareImg: e.detail.currentTarget.dataset.shareimg,
|
|
|
+ ifTapActivity: e.detail.currentTarget.dataset.activity
|
|
|
})
|
|
|
},
|
|
|
|
|
@@ -219,7 +221,7 @@ Page({
|
|
|
if (res.from === 'button') {
|
|
|
return {
|
|
|
title: '请欣赏我的课文朗读作品,点赞+评论。',
|
|
|
- path: `/pages/index/index?readId=${this.data.shareId}`,
|
|
|
+ path: `/pages/index/index?readId=${this.data.shareId}&activity=${this.data.ifTapActivity}`,
|
|
|
imageUrl: this.data.shareImg
|
|
|
|
|
|
}
|