<!--pages/couponCodeDetail.wxml-->
<view class="container-coupon page">
  <view class="panel">
    <view class="qrcode">
      <view class='avatar-img'>
        <image wx:if="{{codeDetail.couponDetail.style.takeCouponBgimg}}" src='{{codeDetail.couponDetail.style.takeCouponBgimg}}'></image>
        <image wx: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 canvas-id="barcode" binderror="canvasIdErrorCallback"/>
    </view>
    <view class='bottom-code'>{{cardno}}</view>
  </view>
</view>