|
@@ -462,15 +462,11 @@ export default {
|
|
|
onShareAppMessage({ from, target }) {
|
|
|
if (from === "button") {
|
|
|
let item = target.dataset.item;
|
|
|
- let audio_id = item.Type == 1 || item.AudioType == 1 ? item.Id : "";
|
|
|
- // type=2 -- 活动视频 type=3 -- 产业视频
|
|
|
- let video_id = item.Type == 2 || item.Type == 3 ? item.Id : "";
|
|
|
- let activity_id = item.Type == 2 && item.ActivityId > 0 ? item.ActivityId : "";
|
|
|
let title_share = item.AudioTitle || item.Title;
|
|
|
this.getRecordTracking("搜索转发", { ActivityId: item.ActivityId, Id: item.Id, Type: item.Type });
|
|
|
return {
|
|
|
title: this.isHorzMobile ? "好友向您推荐此内容,上传名片享查研观向免费月卡!" : title_share,
|
|
|
- path: "/pages/material/material?topTabsActive=4" + "&audioShareId=" + audio_id + "&videoShareId=" + video_id + "&activityId=" + activity_id,
|
|
|
+ path: "/pages/material/material?topTabsActive=4" + "&SourceId=" + item.SourceId + "&SourceType=" + item.Type,
|
|
|
imageUrl: item.AudioShareImg || item.ShareImg,
|
|
|
};
|
|
|
} else {
|