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 | 42 +++++++++++++++++++++--------------------- 1 files changed, 21 insertions(+), 21 deletions(-) diff --git a/pages/home/home.js b/pages/home/home.js index cfeb887..4f8fb6e 100644 --- a/pages/home/home.js +++ b/pages/home/home.js @@ -446,11 +446,11 @@ }); }, goSubjectDetail(e) { - return wx.showToast({ - title: "寤鸿涓�", - icon: 'none', - duration: 1000 - }) + // return wx.showToast({ + // title: "寤鸿涓�", + // icon: 'none', + // duration: 1000 + // }) const item = e.currentTarget.dataset.book console.log(item); wx.navigateTo({ @@ -458,16 +458,16 @@ }); }, goCourseDetail(e) { - return wx.showToast({ - title: "寤鸿涓�", - icon: 'none', - duration: 1000 - }) + // 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) { @@ -587,21 +587,21 @@ url: '/pages/home/digitalRead/index' }) } else if (type == "zhuantitaolun") { - return wx.showToast({ - title: "寤鸿涓�", - icon: 'none', - duration: 1000 - }) + // 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 - }) + // return wx.showToast({ + // title: "寤鸿涓�", + // icon: 'none', + // duration: 1000 + // }) wx.navigateTo({ url: '/pages/digitalCourses/index?courseTypeActive=' + this.data.courseTypeActive }) -- Gitblit v1.9.1