|
@@ -2594,12 +2594,12 @@ export default {
|
|
|
//暂停
|
|
|
polyvPlayerContext.exitFullScreen();
|
|
|
polyvPlayerContext.pause();
|
|
|
- if (uni.getStorageSync('tabkePhotoShow')) {
|
|
|
+ if (uni.getStorageSync(`tabkePhotoShow${this.goodsId}`) == this.goodsId) {
|
|
|
this.photoIndex = i;
|
|
|
this.openPhoto();
|
|
|
} else {
|
|
|
this.popupPhotoShow = true
|
|
|
- uni.setStorageSync('tabkePhotoShow', 1) // 本地缓存用来判断是否已经弹出过弹窗
|
|
|
+ uni.setStorageSync(`tabkePhotoShow${this.goodsId}`, this.goodsId) // 本地缓存用来判断是否已经弹出过弹窗
|
|
|
}
|
|
|
|
|
|
}
|