From 6851680b996e64c1d66c035245b2f0f6eb3425c6 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期六, 07 九月 2024 15:33:42 +0800 Subject: [PATCH] 1 --- pages/home/home.js | 28 ++++++++++++++++++++++++---- 1 files changed, 24 insertions(+), 4 deletions(-) diff --git a/pages/home/home.js b/pages/home/home.js index b6977fe..4f8fb6e 100644 --- a/pages/home/home.js +++ b/pages/home/home.js @@ -248,9 +248,9 @@ const obj = { storeInfo: "app.config.goodsStore", path: item.pathList + '\\' + item.id, - coverSize: { - width: 260 - }, + // coverSize: { + // height: 205 + // }, paging: { start: 0, size: 4 @@ -446,6 +446,11 @@ }); }, goSubjectDetail(e) { + // return wx.showToast({ + // title: "寤鸿涓�", + // icon: 'none', + // duration: 1000 + // }) const item = e.currentTarget.dataset.book console.log(item); wx.navigateTo({ @@ -453,11 +458,16 @@ }); }, goCourseDetail(e) { + // return wx.showToast({ + // title: "寤鸿涓�", + // icon: 'none', + // duration: 1000 + // }) const { book } = e.currentTarget.dataset; wx.navigateTo({ - url: '/pages/digitalCourses/digitalCoursesDetails/index?id=' + book.id, + url: '/pages/digitalCourses/digitalCoursesDetails/index?id=' + book.id + '&path=' + book.idPath, }); }, goReadBookDetail(e) { @@ -577,11 +587,21 @@ url: '/pages/home/digitalRead/index' }) } else if (type == "zhuantitaolun") { + // return wx.showToast({ + // title: "寤鸿涓�", + // icon: 'none', + // duration: 1000 + // }) wx.navigateTo({ url: '/pages/specialDiscussion/index' }) } else if (type == "jingxuankecheng") { + // return wx.showToast({ + // title: "寤鸿涓�", + // icon: 'none', + // duration: 1000 + // }) wx.navigateTo({ url: '/pages/digitalCourses/index?courseTypeActive=' + this.data.courseTypeActive }) -- Gitblit v1.9.1