
<image src="{{detail.fullCoverImg}}" mode="widthFix" class="top_img"></image>

<view class="flex-row info">
  <view class="info_left flex-column">
    <view class="info_name over-ellipsis">{{detail.name}}</view>

    <!-- <view class="info_coupon_num">3张代金券、3张折扣券</view> -->
    <view class="info_coupon_num" wx:if="{{detail.cashCouponNum > 0 && detail.discountCouponNum > 0}}">含{{detail.cashCouponNum}}张代金券、{{detail.discountCouponNum}}张折扣券</view>
      <view class="info_coupon_num" wx:if="{{detail.cashCouponNum ==0 && detail.discountCouponNum > 0}}">含{{detail.discountCouponNum}}张折扣券</view>
      <view class="info_coupon_num" wx:if="{{detail.cashCouponNum > 0 && detail.discountCouponNum == 0}}">含{{detail.cashCouponNum}}张代金券</view>
      <view class="info_coupon_num" wx:if="{{detail.cashCouponNum ==0 && detail.discountCouponNum ==0}}"></view>
    <view class="flex-row">

      <view class="flex-row">
      <image src="/images/welfareMall/right_1.png" class="right_icon"></image>
      <view class="right_text">仅支持整单</view>
      </view>
      <view class="flex-row">
      <image src="/images/welfareMall/right_1.png" class="right_icon"></image>
      <view class="right_text">过期自动退</view>
      </view>
      <view class="flex-row">
      <image src="/images/welfareMall/right_1.png" class="right_icon"></image>
      <view class="right_text">退款说明</view>
      </view>

    </view>
  </view>

  <view class="info_right flex-column">
  <view class="info_right_top" wx:if="{{detail.isPay!=0}}">{{detail.priceFormatter}}元</view>
  <view class="info_right_top" wx:else>免费</view>
  <view class="info_right_bottom">价值￥{{detail.showPriceFormatter}}</view>
  </view>
</view>

<view  class="bottom_title flex-column">
<view class="flex-row bottom_title_top">
<image src="/images/welfareMall/bag_content.png" class="bottom_icon"></image>
<view class="bottom_tilte_text">礼包内容</view>
</view>
<view class="bottom_title_b" wx:if="{{detail.cashCouponNum > 0 && detail.discountCouponNum > 0}}">代金券 X {{detail.cashCouponNum}} ,折扣券 X {{detail.discountCouponNum}}</view>
      <view class="bottom_title_b" wx:if="{{detail.cashCouponNum ==0 && detail.discountCouponNum > 0}}">折扣券 X {{detail.discountCouponNum}}</view>
      <view class="bottom_title_b" wx:if="{{detail.cashCouponNum > 0 && detail.discountCouponNum == 0}}">代金券 X {{detail.cashCouponNum}}</view>
      <view class="bottom_title_b" wx:if="{{detail.cashCouponNum ==0 && detail.discountCouponNum ==0}}"></view>

</view>

<view  class="bottom_title flex-column">
<view class="flex-row bottom_title_top">
<image src="/images/welfareMall/buy_info.png" class="bottom_icon"></image>
<view class="bottom_tilte_text">购买须知</view>
</view>
<rich-text class="bottom_title_b" nodes="{{detail.remark}}"></rich-text>

</view>

<view  class="bottom_title flex-column" style="margin-bottom: 100px;">
<view class="flex-row bottom_title_top">
<image src="/images/welfareMall/use_info.png" class="bottom_icon"></image>
<view class="bottom_tilte_text">使用说明</view>
</view>
<rich-text class="bottom_title_b" nodes="{{detail.remark}}"></rich-text>

</view>

<view class="bottom_button" wx:if="{{detail.status ==2 && detail.stock !=0}}">
  <view class="now_buy" bindtap="nowBuy" wx:if="{{userMobile.length>0}}">{{buttonText}}</view>
  <button class="now_buy_button" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber" wx:else>{{buttonText}}</button>
</view>
<view class="go_buy"  style="background-color:#bdbdbd" wx:else>{{statusShowText}}</view>

<view class="bg-zindex" wx:if="{{hideWindowValue}}">

    <view class="success_window flex-column">
    <view class="w_title">购买成功</view>
    <view class="w_name">{{detail.name}}</view>
    <view class="w_text">已发送至您的卡包</view>
    <view class="w_border"></view>
    <view class="w_go_order" bindtap="goToOrderList">去看看</view>

    </view>
   <image class="widow_del" src="/images/welfareMall/window_del.png"  bindtap="hideWindow"></image>
</view>