litian
2024-09-06 611457d5bedd5386999dbbbee55048dc1e1ee624
test
5个文件已修改
84 ■■■■ 已修改文件
packageBookService/pages/bookServices/detail/components/teachResource/index.wxml 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/home/home.js 40 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/personalCenter/index.js 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/study/index.js 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
services/home/home.js 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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'}}">资源下载申请正在审核中,请耐心等待!</view>
  <view wx:if="{{applyState == 'Normal'}}">
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
      })
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',
  }
];
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}`,
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: '',
        },
      ],
    };