<view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
  <block wx:if="{{List.length>0}}" wx:for="{{List}}" wx:key="index">
    <view class='panel FlexRow' bindtap="goto" data-id="{{item.ID}}">
      <view class='panel1 FlexColumn'>
        <view class='Title1'>{{item.Body}}</view>
        <view class='Title2'>{{item.TradeNo}}</view>
        <view class='Title3'>{{item.PayEndTime}}</view>
      </view>
      <view class='panel2 FlexRow'>
        <view class='Title4' wx:if="{{item.PayType==5 && item.ExchangeUserID>0}}">已领取</view>
        <image src='../images/universalpic_indicator_right_gray.png' class="universalpic_indicator_right_gray" />
      </view>
    </view>
    <view class='lineFooter'></view>
  </block>

  <view class='panelNull FlexColumn' wx:if="{{List.length==0}}" bindtap='gotoGiftList'>
    <view class='Title5'>没有礼品卡</view>
    <view class='Title6'>乘此机会挑选一张吧</view>
    <view class='Title7'>去选购</view>
  </view>
  <view style='height:100rpx;'></view>
</view>