From 96b0b8bb1597d825004f5a8da0728c48b6ce7dba Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期四, 27 三月 2025 15:22:22 +0800
Subject: [PATCH] 首页登录去除侧式

---
 pages/study/index.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pages/study/index.js b/pages/study/index.js
index 0fc70a6..a925f80 100644
--- a/pages/study/index.js
+++ b/pages/study/index.js
@@ -241,6 +241,7 @@
     const {
       book
     } = e.currentTarget.dataset;
+    console.log(book);
     if (this.data.active == 0) {
       wx.navigateTo({
         url: `/packageBookService/pages/bookServices/detail/index?id=${book.product.id}&name=${book.product.name}`,
@@ -248,7 +249,7 @@
     }
     if (this.data.active == 1) {
       wx.navigateTo({
-        url: `/pages/digitalCourses/digitalCoursesDetails/index?id=${book.product.id}`,
+        url: `/pages/digitalCourses/digitalCoursesDetails/index?id=${book.product.id}&path=${book.product.linkPathList[1] + '\\' + book.product.id}`,
       });
     }
     if (this.data.active == 2) {

--
Gitblit v1.9.1