1
YM
2024-09-10 e38c14de9637d22d0a35ae06bede82dcf31b64ec
pages/digitalTextbooks/digitalTextbooksDetails/index.js
@@ -92,7 +92,13 @@
    const token = wx.getStorageSync(app.config.tokenKey)
    if (!token) {
      loginInfo(app, (data) => {
        if (data) {} else {}
        if (data) {
          this.digitalTextbooksDetailsGet(this.data.digitalTextId)
          this.getType()
          this.getCertificateList()
        } else {
        }
      })
    }
    this.digitalTextbooksDetailsGet(this.data.digitalTextId)
@@ -244,7 +250,7 @@
          isBuy: false
        })
      }
      res.datas.publicationDate = moment(res.datas.publicationDate).format('YYYY年MM月DD日')
      res.datas.publicationDate = moment(res.datas.publicationDate).format('YYYY年MM月')
      if (res.datas.icon == '') {
        res.datas.icon = '/static/images/default-book-img.png'
      }
@@ -522,7 +528,6 @@
  },
  onTabClick(e) {
    // debugger
    console.log(e);
    let tab = e.currentTarget.dataset.tab;