<view class="container FlexColumn" style='min-height:{{Containnerheight}}rpx;'>
  <view class='text1'>礼品卡</view>
  <view class='text2'>这是</view>
  <view class='text3'>{{GiftInfo.GiftNickName}}</view>
  <view class='text4'>送您的礼物</view>
  <view class='panel1 FlexColumn'>
    <image src='../images/program_giftcard_illus_01.png' class="program_giftcard_illus_01" wx:if="{{GiftInfo.GiftNumber==5}}" />
    <image src='../images/program_giftcard_illus_02.png' class="program_giftcard_illus_02 program_giftcard_illus_01" wx:if="{{GiftInfo.GiftNumber==1}}" />
    <view class='text5'>卡内包含</view>
    <view class='text6'>一套专业的小学生学科练习工具</view>
    <view class='programItem FlexRow' wx:for="{{ProgramList}}" wx:key="index" wx:if="{{(GiftInfo.GiftNumber==5 && item.IsShow2) || (GiftInfo.GiftNumber==1 && !item.IsShow && item.IsShow2)}}">
      <view class='FlexRow'>
        <image src='../../pages/images/{{item.ImageUrl}}' class="universalpic_product_jisuanti_icon_size01" />
        <view class="name1">{{item.Name}}</view>
      </view>
      <view class="name2">{{item.Name2}}</view>
    </view>
    <view class='panel11 FlexRow'>
      <view class='text7'>零售价</view>
      <view class="textTitle" style='right:{{NumberWidth}}rpx;font-size:{{FontSize}}rpx;'>
        <view class="textTitle1">{{GiftInfo.PriceTotal}}</view>
        <view class="textTitle2">{{GiftInfo.PriceTotal}}</view>
      </view>
      <view class='text8'>元</view>
    </view>
    <view class='text9'>{{GiftInfo.UseTime}}</view>
  </view>

  <button class='btn1 FlexRow' open-type="getUserInfo" bindgetuserinfo="goto"  wx:if="{{GiftInfo.PayType==5 && (GiftInfo.ExchangeUserID==0 || GiftInfo.ExchangeUserID==CurrentUserID)}}">
    <view>立即领取</view>
  </button>
  <view class='btn2 btn1 FlexRow' wx:if="{{GiftInfo.PayType==5 && GiftInfo.ExchangeUserID>0 && GiftInfo.ExchangeUserID!=CurrentUserID}}">
    <view>已被领取</view>
  </view>

  <view class='text10' wx:if="{{GiftInfo.PayType==5 && GiftInfo.ExchangeUserID==0}}">该功能需要微信授权</view>
  <view class='text14 text10' bindtap='gotoDefault' wx:if="{{GiftInfo.PayType==5 && GiftInfo.ExchangeUserID>0}}">前往产品首页</view>
  
  <view class='text11 FlexRow'>如遇问题，请切换到“唱意教育家长助手”中
    <view class='text12' bindtap='gotoFeedback'>咨询客服</view>。</view>
  <view class='line1'></view>
  <text class='text13'>　　非常高兴与您相遇。感谢您选用唱意教育的“刻意练习系列产品”。本礼品卡是由您的微信好友购买并馈赠您和家人的学习礼物。请立即领取，然后按指导要求完成产品激活。\n　　唱意教育是一家专业提供小学生学科练习服务并致力于协助家长改善家庭教育环境的创新教育团队。目前已推出小学语文、数学、英语练习产品，是微信小程序平台最佳教育类原创产品，敬请使用。</text>
  <image src='../images/program_giftcard_footer.png' class="program_giftcard_footer" />
  <view style='height:1rpx;'></view>
</view>