From 611457d5bedd5386999dbbbee55048dc1e1ee624 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期五, 06 九月 2024 14:43:44 +0800 Subject: [PATCH] test --- pages/home/home.js | 40 ++++++++++---------- pages/study/index.js | 10 ++-- packageBookService/pages/bookServices/detail/components/teachResource/index.wxml | 10 ++-- pages/personalCenter/index.js | 12 +++--- services/home/home.js | 12 +++--- 5 files changed, 42 insertions(+), 42 deletions(-) diff --git a/packageBookService/pages/bookServices/detail/components/teachResource/index.wxml b/packageBookService/pages/bookServices/detail/components/teachResource/index.wxml index 78e6737..c101bbe 100644 --- a/packageBookService/pages/bookServices/detail/components/teachResource/index.wxml +++ b/packageBookService/pages/bookServices/detail/components/teachResource/index.wxml @@ -1,13 +1,13 @@ -<!-- <view class="teach-btn"> --> -<!-- <t-button theme="primary" style="width: 120px; height: 36px" class="btn-upload" bind:tap="uploadBtn"> +<view class="teach-btn"> + <t-button theme="primary" style="width: 120px; height: 36px" class="btn-upload" bind:tap="uploadBtn"> <t-image src="/static/images/bookService/detail/upload.png" style="margin-top: 20rpx"></t-image> <text>涓婁紶璧勬簮</text> - </t-button> --> -<!-- <t-button theme="primary" style="width: 120px; height: 36px"> + </t-button> + <!-- <t-button theme="primary" style="width: 120px; height: 36px"> <t-image src="/static/images/bookService/detail/download.png"></t-image> 鎵归噺涓嬭浇 </t-button> --> -<!-- </view> --> +</view> <view class="applyResult {{applyState == 'none' ? 'applyNone' : applyState == 'Normal' ? 'applyPass' : applyState == 'WaitAudit' ? 'applying' :applyState == 'Reject' ? 'applyReject' :'' }}"> <view wx:if="{{applyState == 'WaitAudit'}}">璧勬簮涓嬭浇鐢宠姝e湪瀹℃牳涓紝璇疯�愬績绛夊緟锛�</view> <view wx:if="{{applyState == 'Normal'}}"> diff --git a/pages/home/home.js b/pages/home/home.js index cfeb887..e34d902 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,11 +458,11 @@ }); }, goCourseDetail(e) { - return wx.showToast({ - title: "寤鸿涓�", - icon: 'none', - duration: 1000 - }) + // return wx.showToast({ + // title: "寤鸿涓�", + // icon: 'none', + // duration: 1000 + // }) const { book } = e.currentTarget.dataset; @@ -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 }) diff --git a/pages/personalCenter/index.js b/pages/personalCenter/index.js index da20ca8..45fbc34 100644 --- a/pages/personalCenter/index.js +++ b/pages/personalCenter/index.js @@ -18,8 +18,8 @@ { title: '鎴戠殑璇佷功', icon: '/static/images/personal/certificate.png', - url: '', - // url: '/pages/personalCenter/certificate/index', + // url: '', + url: '/pages/personalCenter/certificate/index', type: 'certificate', }, { @@ -43,15 +43,15 @@ { title: '鎴戠殑涓婁紶', icon: '/static/images/personal/upload.png', - url: '', - // url: '/pages/personalCenter/myUpload/index', + // url: '', + url: '/pages/personalCenter/myUpload/index', type: 'upload', }, { title: '鍑轰功鐢宠', icon: '/static/images/personal/chushu.png', - url: '', - // url: '/packagePersonal/pages/publishBooks/index', + // url: '', + url: '/packagePersonal/pages/publishBooks/index', type: 'publishBooks', } ]; diff --git a/pages/study/index.js b/pages/study/index.js index 943c756..0fc70a6 100644 --- a/pages/study/index.js +++ b/pages/study/index.js @@ -246,11 +246,11 @@ url: `/packageBookService/pages/bookServices/detail/index?id=${book.product.id}&name=${book.product.name}`, }); } - // if (this.data.active == 1) { - // wx.navigateTo({ - // url: `/pages/digitalCourses/digitalCoursesDetails/index?id=${book.product.id}`, - // }); - // } + if (this.data.active == 1) { + wx.navigateTo({ + url: `/pages/digitalCourses/digitalCoursesDetails/index?id=${book.product.id}`, + }); + } if (this.data.active == 2) { wx.navigateTo({ url: `/pages/digitalTextbooks/digitalTextbooksDetails/index?id=${book.product.id}`, diff --git a/services/home/home.js b/services/home/home.js index 612511b..a9919ea 100644 --- a/services/home/home.js +++ b/services/home/home.js @@ -21,8 +21,8 @@ text: '鏁板瓧璇剧▼', key: 2, icon: '/static/images/home/shuzikecheng@2x.png', - // url: '/pages/digitalCourses/index', - url: '' + url: '/pages/digitalCourses/index', + // url: '' }, { text: '鏁板瓧鏁欐潗', @@ -35,8 +35,8 @@ text: '涓撻娲诲姩', key: 4, icon: '/static/images/home/zhuantitaolun@2x.png', - // url: '/pages/specialDiscussion/index', - url: '' + url: '/pages/specialDiscussion/index', + // url: '' }, { text: '绾夸笂涔﹀睍', @@ -66,8 +66,8 @@ text: '鎴戣鍑轰功', key: 9, icon: '/static/images/home/xueshuzhuzuo@2x.png', - // url: '/packageDomain/pages/publickBookForm/index', - url: '', + url: '/packageDomain/pages/publickBookForm/index', + // url: '', }, ], }; -- Gitblit v1.9.1