litian
2024-03-27 08bcd17001c34265d77b684cfe1bfb1eb1a08113
packageBookService/pages/bookServices/detail/index.js
@@ -1428,7 +1428,7 @@
  recordBuyMock() {
    const num = this.data.mockData.mockList.length
    const id = tool.uuid(8)
    const createDate = new Date().getTime()
    const createDate = this.DateFormat(new Date().getTime(), 'yyyy-MM-dd')
    const mockList = this.data.mockData.mockList
    mockList.push({ id, createDate, name: `第${num + 1}套试卷`, state: '0' })
    this.setData({
@@ -1447,7 +1447,7 @@
  },
  // 底部购买按钮
  buyBtn() {
    if (this.data.tabValue == 'brief') {
    if (this.data.tabValue == 'brief' && !this.data.bookBuy) {
      this.buyBook()
    }
    else if (this.data.tabValue == 'jsek_cloudLearning') {