<view class="bgc">
  <view class="couponBig">
    <!-- <image class="backgroundImage" src="https://we-spa.oss-cn-shenzhen.aliyuncs.com/wxapp/20220822/%E7%BC%96%E7%BB%84%203%402x%20%283%29.png"></image> -->
    <!-- 优惠券 -->
    <view class="couponBig-box">
      <view class="coupon" wx:for="{{CouponList}}" wx:key="index">
        <view class="couponLeft">
          <!-- 优惠券类型，1无条件抵扣券，2满减券，3全额券，4卡券，项目全减券 -->
          <view class="couponType">{{couponType[item.type-1]}}</view>
          <view class="price" wx:if="{{item.type==3||item.type==4}}">
            <text class="a">全免</text>
          </view>
          <view class="price" wx:else>
            <view>
              <text>￥</text>
              <text class="a">{{item.price}}</text>
            </view>
            <view wx:if="{{item.type==2}}" class="full_price">满{{item.full_price}}可用</view>
          </view>
        </view>
        <view class="couponRight">
          <view class="couponRight-box">
            <view class="title">{{item.coupon_name}}</view>
            <!-- <view class="condition" wx:if="{{item.type==2}}">满{{item.full_price}}元可用</view> -->
            <view wx:if="{{item.coupon_desc!=''}}" class="condition coupon_desc">{{item.coupon_desc}}</view>
          </view>
          <view class="button" bindtap="getCoupon" data-activeId="{{item.id}}" wx:if="{{item.status==1}}">领取</view>
          <!-- <view class="button-open" wx:else>已领取</view> -->
          <view class="button" bindtap="goProject" wx:else>去使用</view>
        </view>
      </view>
    </view>
  </view>
</view>