<!--pages/couponCodeDetail.axml-->
<view class="container-coupon page">
  <view class="panel">
    <view class="qrcode">
      <view class="avatar-img">
        <image a:if="{{codeDetail.couponDetail.style.takeCouponBgimg}}" src="{{codeDetail.couponDetail.style.takeCouponBgimg}}"></image>
        <image a:else src="/assets/imgs/avatar.png"></image>
      </view>
      <view class="title fs-36">{{codeDetail.couponSetting.title}}</view>
    </view>
    <view class="line">
      <image src="/assets/imgs/line.png"></image>
    </view>
    <view class="barcode">
      <canvas id="barcode" binderror="canvasIdErrorCallback"/>
    </view>
    <view class="bottom-code">{{cardno}}</view>
  </view>
</view>