소스 검색

Merge remote-tracking branch 'origin/jeffrey/feat/coupon-center' into jeffrey/feat/coupon-center

kk.shi 3 년 전
부모
커밋
de5f394235
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      pages/luckDraw/detail.wxml

+ 4 - 2
pages/luckDraw/detail.wxml

@@ -108,7 +108,8 @@
             </view>
             <view class="prize-subtitle">离奖品只差一个手势~</view>
             <view class="prize-figure">
-               <image src="/images/luck-draw/nogift.png" mode="aspectFit" />
+               <image wx:if="{{noHitResult.goodsBigImage}}" src="{{noHitResult.goodsBigImage}}" mode="aspectFit" />
+               <image src="/images/luck-draw/nogift.png" mode="aspectFit" wx:else />
             </view>
             <view class="prize-tip">点击确认继续抽奖!</view>
             <view class="btns">
@@ -128,7 +129,8 @@
             </view>
             <view class="prize-subtitle">离奖品只差一个手势~</view>
             <view class="prize-figure">
-            <image src="/images/luck-draw/nogift.png" mode="aspectFit" />
+               <image wx:if="{{noHitResult.goodsBigImage}}" src="{{noHitResult.goodsBigImage}}" mode="aspectFit" />
+               <image src="/images/luck-draw/nogift.png" mode="aspectFit" wx:else />
             </view>
             <view class="prize-tip">分享可获得更多抽奖机会!</view>
             <view class="btns">