From 611457d5bedd5386999dbbbee55048dc1e1ee624 Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期五, 06 九月 2024 14:43:44 +0800
Subject: [PATCH] test

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

diff --git a/pages/study/index.js b/pages/study/index.js
index 45af0a6..0fc70a6 100644
--- a/pages/study/index.js
+++ b/pages/study/index.js
@@ -132,23 +132,23 @@
         titleBook: "鍥句功锛�" + res.totalSize + "鏈級",
       })
     })
-    // let data1 = {
-    //   Size: 9999,
-    //   Start: 0,
-    //   sort: {
-    //     type: "Desc",
-    //     field: "CreateDate",
-    //   },
-    //   searchList: [{
-    //     keywords: 'jsek_digitalCourses',
-    //     field: "ProductType",
-    //   }],
-    // }
-    // app.MG.store.getPurchasedProductList(data1).then((res) => {
-    //   that.setData({
-    //     titleCourse: "璇剧▼锛�" + res.totalSize + "闂級",
-    //   })
-    // })
+    let data1 = {
+      Size: 9999,
+      Start: 0,
+      sort: {
+        type: "Desc",
+        field: "CreateDate",
+      },
+      searchList: [{
+        keywords: 'jsek_digitalCourses',
+        field: "ProductType",
+      }],
+    }
+    app.MG.store.getPurchasedProductList(data1).then((res) => {
+      that.setData({
+        titleCourse: "璇剧▼锛�" + res.totalSize + "闂級",
+      })
+    })
     let data2 = {
       Size: 9999,
       Start: 0,
@@ -247,9 +247,9 @@
       });
     }
     if (this.data.active == 1) {
-      // wx.navigateTo({
-      //   url: `/packageBookService/pages/bookServices/detail/index?id=${book.product.id}&name=${book.product.name}`,
-      // });
+      wx.navigateTo({
+        url: `/pages/digitalCourses/digitalCoursesDetails/index?id=${book.product.id}`,
+      });
     }
     if (this.data.active == 2) {
       wx.navigateTo({

--
Gitblit v1.9.1