<view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
  <block wx:if="{{List.length>0}}">
    <view style="height:50rpx;"></view>
    <view class="panel FlexColumn" wx:for="{{List}}" wx:key="index" bindtap="getCoupon" data-coupontype="{{item.CouponType}}" data-couponnumber="{{item.CouponNumber}}" data-isloseefficacy="{{item.IsLoseEfficacy}}">
      <view class="panel1 FlexColumn">
        <view class="panel11 FlexRow">
          <view class="text1">{{item.Content[0]}}</view>
          <view class="text2"><block wx:if="{{item.IsLoseEfficacy==1}}">已过期</block></view>
        </view>
        <view class="panel12">{{item.Content[1]}}</view>
      </view>
      <view class="line"></view>
      <view class="panel1 FlexColumn">
        <text class="text3">使用说明：</text>
        <text class="text4">{{item.Content[2]}}</text>
        <text class="text5">优惠券有效期：</text>
        <text class="text4">{{item.LimitTime}}</text>
      </view>

      <view class="line"></view>
      <view class="panel3 FlexRow">
        <view class="panel31 FlexColumn">
          <block wx:if="{{item.CouponType>=134}}">兑换</block>
          <block wx:if="{{item.CouponType<134}}">使用</block>
        </view>
        <image src='../images/universalpic_indicator_right_gray.png' class="Arrow" />
      </view>
    </view>
  </block>
  <block wx:if="{{List.length==0}}">
    <view class="panelNone">没有优惠券</view>
  </block>
</view>

<view class="Success container FlexColumn" style='min-height:{{Containnerheight}}rpx;' wx:if="{{IsSuccess}}">
  
  <image src="../images/universalpic_logo_200x200.png" class='img' />

  <text class="text10">兑换成功\n重启后生效</text>
  <text class="text11">您的秒过有效期将从</text>
  <text class="text12">{{ProductServiceTimeOld}} 延长到 {{ProductServiceTimeNew}}</text>

  <button bindtap="gotoIndex" class="btn FlexRow">
    <view>重启</view>
  </button>

  <text class="text13">重启后可在“用户手册”检查有效期</text>

</view>