<view class="content">
  <scroll-view scroll-y="true" style="height:calc({{windowHeight}}px - 40rpx)" bindscrolltolower="lower" wx:if="{{prize.length>0}}">
    <view class="prize" wx:for="{{prize}}" wx:key="index">
      <view class="prize_img">
        <image src="{{item.logo}}"></image>
      </view>
      <view class="prize_info">
        <view>{{item.title}}</view>
        <view>{{item.mtitle}}</view>
        <view>中奖时间：{{item.winTime}}</view>
      </view>
      <view class="prize_status">
        <view class="status {{item.status==2?'color':''}}">{{item.status==2?'已发奖':"待发奖"}}</view>
        <view class="active">
          <view class="btn1" wx:if="{{item.status==2 && item.needMailAddress && item.expNo && item.expCode}}" bindtap="logistics" data-item="{{item}}">查看物流</view>
          <view class="btn2" wx:if="{{item.status==1 && item.needMailAddress==1}}"data-item="{{item}}" bindtap="sub">{{item.fillType==0?'填写地址':'修改地址'}}</view>
        </view>
      </view>
    </view>
  </scroll-view>
  <view class="no_List" wx:else>
    <view class="article">暂无中奖记录，快去抽奖吧~</view>
    <view class="btn">
      <button type="warn" bindtap="getprize">去抽奖</button>
    </view>
  </view>
</view>
<sendAddress theam="{{theam}}" show="{{showAddress}}" prizeId="{{prizeId}}" bind:close="closeTip"></sendAddress>
