erekook 8 месяцев назад
Родитель
Сommit
bcac48b3d2
1 измененных файлов с 7 добавлено и 1 удалено
  1. 7 1
      pages/video/video.js

+ 7 - 1
pages/video/video.js

@@ -106,10 +106,16 @@ Page({
     }
     console.log("入口:", options);
     try {
-      let { type, jump, shared_video_id, tag_id, collectId } = options;
+      let { type, jump, shared_video_id, tag_id, collectId, tid } = options;
       const scene = wx.getStorageSync("scene");
       console.log("入口:", type, jump, scene, shared_video_id);
       if ((type === "share" || type === "tuiguang") && shared_video_id) {
+        SendEvent("enter_wxwork_material", {
+          materialId: shared_video_id,
+          type: "video",
+          tag_id: tag_id,
+          task_id: tid,
+        });
         if (jump === "1") {
           console.log("jump为1直接跳转到视频详情页");
           // 延迟跳转,确保列表页已经加载完成