微信小程序目前是在体验版,分享某个页面在MAC上打开白屏,在别的地方打开,安卓、ios、windows都是正常显示,会是什么问题导致?
async onShareAppMessage() {
let res = await this.getShareCode(),
shareCode
shareCode = res.data ? res.data.shareCode : ''
let id = this.isCountDown ? this.queryData.goodsId : this.queryData.prodId
let bseUrl = '/pages/goodsDetails/index?prodId=' + id
if (shareCode) {
bseUrl += `&shareCode=${shareCode}`
}
if (this.isCountDown) {
bseUrl += `&roundId=${this.queryData.roundId}&goodsId=${this.queryData.goodsId}`
}
// console.log('adsdadadsf',bseUrl +
// `?mallCode=${wx.getStorageSync('userChoosedMall').mallCode}&mallName=${
// wx.getStorageSync('userChoosedMall').mallName
// }&shareMemberCode=${wx.getStorageSync('wxUserCode')}`)
return {
title: this.prodName,
desc: '',
path:
bseUrl +
`&mallCode=${wx.getStorageSync('userChoosedMall').mallCode}&mallName=${
wx.getStorageSync('userChoosedMall').mallName
}&shareMemberCode=${wx.getStorageSync('wxUserCode')}`,
success: function(res) {
console.log(res)
},
fail: function(err) {
console.log(err)
}
}
},