|
@@ -1,13 +1,16 @@
|
|
|
<!--pages/luckDraw/recordPrize.wxml-->
|
|
|
<button class="luck-draw-cz" wx:if="{{!isLogin}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">请登录</button>
|
|
|
-<navigator class="{{item.isHit == 1?'record flex-row':'no-record flex-row'}}" wx:for="{{userDrawItemList}}" wx:key="index" data-id="{{item.id}}" target="miniProgram" app-id="wxd92a2d29f8022f40" path="{{item.isHit == 1?'pages/index/index':''}}" extra-data="{foo: 'bar'}" open-type="{{item.isHit == 1?'navigate':''}}">
|
|
|
+<navigator class="{{item.isHit == 1?'record flex-row':'no-record flex-row'}}" wx:for="{{userDrawItemList}}" wx:key="index" data-id="{{item.id}}" target="{{(item.goodsId == 1 || item.goodsId == 2)?'miniProgram':''}}" app-id="wxd92a2d29f8022f40" path="{{(item.goodsId == 1 || item.goodsId == 2)?'pages/index/index':''}}" open-type="{{(item.goodsId == 1 || item.goodsId == 2)?'navigate':''}}" data-src="{{item.fullGoodsBigImage}}" catchtap="{{item.goodsId == 3?'toLookHitPhoto':''}}">
|
|
|
<view class="record-content">
|
|
|
<view class="record-title over-ellipsis">{{item.goodsName?item.goodsName:'未设置名称'}}</view>
|
|
|
<view class="record-data flex-row">
|
|
|
<view class="record-data-time">{{item.createTime}}</view>
|
|
|
- <view class="record-refund flex-row" wx:if="{{item.isHit == 1}}" >
|
|
|
+ <view class="record-refund flex-row" wx:if="{{item.goodsId == 1 || item.goodsId == 2}}" >
|
|
|
<view class="lower-record-text">立即使用</view>
|
|
|
</view>
|
|
|
+ <view class="record-refund flex-row" wx:if="{{item.goodsId == 3}}" >
|
|
|
+ <view class="lower-record-text">立即兑换</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="record-img flex-column">
|
|
@@ -19,4 +22,5 @@
|
|
|
|
|
|
|
|
|
<!-- 底部导航 -->
|
|
|
-<!-- <tab-bar /> -->
|
|
|
+<!-- <tab-bar /> -->
|
|
|
+<custom-preview-image wx:if="{{showCustomPreview}}" src="{{previewImgSrc}}" bind:closeCallback="closePreviewImage" />
|