|
@@ -495,9 +495,15 @@ Page({
|
|
|
},
|
|
|
|
|
|
toLookHitPhoto() {
|
|
|
+ let url = '';
|
|
|
+ if (this.data.hitResult.goodsData && this.data.hitResult.goodsData.fullPhotoUrl) {
|
|
|
+ url = this.data.hitResult.goodsData.fullPhotoUrl
|
|
|
+ } else {
|
|
|
+ url = this.data.hitResult.goodsBigImage
|
|
|
+ }
|
|
|
this.setData({
|
|
|
showCustomPreview: true,
|
|
|
- previewImgSrc: this.data.hitResult.goodsBigImage,
|
|
|
+ previewImgSrc: url
|
|
|
})
|
|
|
},
|
|
|
closePreviewImage() {
|