liukangdong
2024-08-05 00bf17838b496e6fcfed2e521f9c27f8f0e3e3c7
wechat_staff/pages/detailDis/case.js
@@ -97,10 +97,11 @@
        actionType: flag ? 'collect' : 'collect_cancel'
      }).then(res => {
        info.isCollection = flag
        wx.showToast({title: flag ? '收藏成功' : '取消收藏'})
        wx.showToast({title: flag ? '收藏成功' : '取消收藏',icon: 'none'})
        this.setData({
          info
        })
        })
        wx.setStorageSync('conentCountTemp', this.data.info)
      })
    }
  },
@@ -115,6 +116,7 @@
      this.setData({info})
      wx.showToast({
        title: actionType == 'collect' ? '收藏成功' : '取消收藏',
        icon: 'none'
      })
    })
  },
@@ -127,7 +129,8 @@
      }})
      wx.setNavigationBarTitle({
        title: res.data.title
     })
     })
     wx.setStorageSync('conentCountTemp', this.data.info)
    })
  },
  handleDesign() {