| | |
| | | <!-- <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'}}">资源下载申请正在审核中,请耐心等待!</view> |
| | | <view wx:if="{{applyState == 'Normal'}}"> |
| | |
| | | }); |
| | | }, |
| | | 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({ |
| | |
| | | }); |
| | | }, |
| | | goCourseDetail(e) { |
| | | return wx.showToast({ |
| | | title: "建设中", |
| | | icon: 'none', |
| | | duration: 1000 |
| | | }) |
| | | // return wx.showToast({ |
| | | // title: "建设中", |
| | | // icon: 'none', |
| | | // duration: 1000 |
| | | // }) |
| | | const { |
| | | book |
| | | } = e.currentTarget.dataset; |
| | |
| | | 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 |
| | | }) |
| | |
| | | { |
| | | title: '我的证书', |
| | | icon: '/static/images/personal/certificate.png', |
| | | url: '', |
| | | // url: '/pages/personalCenter/certificate/index', |
| | | // url: '', |
| | | url: '/pages/personalCenter/certificate/index', |
| | | type: 'certificate', |
| | | }, |
| | | { |
| | |
| | | { |
| | | 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', |
| | | } |
| | | ]; |
| | |
| | | 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}`, |
| | |
| | | text: '数字课程', |
| | | key: 2, |
| | | icon: '/static/images/home/shuzikecheng@2x.png', |
| | | // url: '/pages/digitalCourses/index', |
| | | url: '' |
| | | url: '/pages/digitalCourses/index', |
| | | // url: '' |
| | | }, |
| | | { |
| | | text: '数字教材', |
| | |
| | | text: '专题活动', |
| | | key: 4, |
| | | icon: '/static/images/home/zhuantitaolun@2x.png', |
| | | // url: '/pages/specialDiscussion/index', |
| | | url: '' |
| | | url: '/pages/specialDiscussion/index', |
| | | // url: '' |
| | | }, |
| | | { |
| | | text: '线上书展', |
| | |
| | | text: '我要出书', |
| | | key: 9, |
| | | icon: '/static/images/home/xueshuzhuzuo@2x.png', |
| | | // url: '/packageDomain/pages/publickBookForm/index', |
| | | url: '', |
| | | url: '/packageDomain/pages/publickBookForm/index', |
| | | // url: '', |
| | | }, |
| | | ], |
| | | }; |