<!--pages/luckDraw/recordPrize.wxml-->
<view class="personal">
<!-- 中奖记录 -->
    <view class="luck-draw-theme" catchtap="turnPrize">
      <button class="luck-draw-cz" wx:if="{{!isLogin}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" >请登录</button>
      <!-- 奖品 -->
      <view class="luck-draw-content" wx:for="{{userDrawItemList}}" wx:key="index" data-id="{{item.id}}">
        <view class="luck-draw-words" wx:if="{{item.isHit == 1}}">
          <view class="luck-draw-discount1">
            
            <image class="luck-draw-zkz5" src="/images/luck-draw/recordPrize.png" />
          </view>
          <view class="luck-draw-discount2">
            <view class="luck-draw-zkz1">{{item.goodsName}}</view>
            <view class="luck-draw-zkz3">{{item.createTime}}</view>
          </view>
        </view>

        <view class="luck-draw-words1" wx:if="{{item.isHit != 1}}">
          <view class="luck-draw-discount12">
            
            <image class="luck-draw-zkz52" src="/images/luck-draw/prizeNo.png" />
          </view>
          <view class="luck-draw-discount2">
            <view class="luck-draw-zkz1"><text decode="true">很遗憾！您没中奖&gt;&lt;</text></view>
            <view class="luck-draw-zkz3">{{item.createTime}}</view>
          </view>
        </view>
      </view>
      <view class="no_result" wx:if="{{noResult}}">———— 抱歉，您暂无抽奖记录 ————</view>
      <view class="no_result" wx:if="{{noMore}}">———— 更多抽奖 | 敬请期待 ————</view>
    </view>
</view>


<!-- 底部导航 -->
<tab-bar />


