packageDomain/pages/resourceDetails/document/index.js
@@ -30,6 +30,18 @@ * 生命周期函数--监听页面加载 */ onLoad(options) { wx.setNavigationBarTitle({ title: '资源详情' }); console.log(options); const systInfo = wx.getSystemInfoSync(); const menu = wx.getMenuButtonBoundingClientRect(); // 胶囊信息 @@ -252,7 +264,7 @@ console.log(item, 'item11111'); if (item.selectType == 'picture') { this.setData({ showData: item.file ? app.config.requestCtx + '/file/api/ApiDownload?md5=' + item.file : app.config.requestCtx + '/file/api/ApiDownload?md5=' + item.freeFile, })