|
@@ -365,7 +365,7 @@ Page({
|
|
|
const video = e.target.dataset.video;
|
|
const video = e.target.dataset.video;
|
|
|
return {
|
|
return {
|
|
|
title: video.title,
|
|
title: video.title,
|
|
|
- path: `/pages/video/detail?id=${video.id}&title=${encodeURIComponent(video.title)}&tag_id=${video.tag_ids[0]}`,
|
|
|
|
|
|
|
+ path: `/pages/video/video?shared_video_id=${video.id}&title=${encodeURIComponent(video.title)}&tag_id=${video.tag_ids[0]}`,
|
|
|
imageUrl: video.cover_image,
|
|
imageUrl: video.cover_image,
|
|
|
success: function(res) {
|
|
success: function(res) {
|
|
|
wx.showToast({
|
|
wx.showToast({
|
|
@@ -388,7 +388,7 @@ Page({
|
|
|
const videoInfo = this.data.videoInfo;
|
|
const videoInfo = this.data.videoInfo;
|
|
|
return {
|
|
return {
|
|
|
title: videoInfo.title,
|
|
title: videoInfo.title,
|
|
|
- path: `/pages/video/detail?id=${videoInfo.id}&title=${encodeURIComponent(videoInfo.title)}&tag_id=${videoInfo.tag_ids[0]}`,
|
|
|
|
|
|
|
+ path: `/pages/video/video?shared_video_id=${videoInfo.id}&title=${encodeURIComponent(videoInfo.title)}&tag_id=${videoInfo.tag_ids[0]}`,
|
|
|
imageUrl: videoInfo.cover,
|
|
imageUrl: videoInfo.cover,
|
|
|
success: function(res) {
|
|
success: function(res) {
|
|
|
wx.showToast({
|
|
wx.showToast({
|
|
@@ -412,7 +412,7 @@ Page({
|
|
|
const videoInfo = this.data.videoInfo;
|
|
const videoInfo = this.data.videoInfo;
|
|
|
return {
|
|
return {
|
|
|
title: videoInfo.title,
|
|
title: videoInfo.title,
|
|
|
- query: `id=${videoInfo.id}&title=${encodeURIComponent(videoInfo.title)}&tag_id=${videoInfo.tag_ids[0]}`,
|
|
|
|
|
|
|
+ query: `shared_video_id=${videoInfo.id}&title=${encodeURIComponent(videoInfo.title)}&tag_id=${videoInfo.tag_ids[0]}`,
|
|
|
imageUrl: videoInfo.cover
|
|
imageUrl: videoInfo.cover
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|