<view class="container">
  <header text="我的优惠券"></header>
  <view class="content">
    <view wx:if="{{status == 0}}">
      <view class="title">烤鸭券</view>
      <view class="time">2025-01-01到期</view>
    </view>
    <view class="code-box" wx:if="{{status == 0}}">
      <view class="code-img"></view>
      <view class="code-text">使用时向服务业出示此码</view>
      <view class="barcode">切换至条形码</view>
    </view>
    <view class="code-box" wx:if="{{status == 1}}">
      <image class="yhx-img" src="/static/image/yhx-bg.png" mode="aspectFit"/>
      <view class="code-yhx-text">已核销</view>
      <view class="barcode-yhx">2020-01-01 12:23:12核销</view>
    </view>
    <view class="store-box" bindtap="goPage">
      <view class="box-lf">
        <image class="store-img" src="/static/image/md.png" mode="aspectFit"/>
        <view>适用门店</view>
      </view>
      <view class="box-ri">
        <view>去查看12家</view>
        <image class="arrow-right" src="/static/image/arrow-right.png" mode="aspectFit"/>
      </view>
    </view>
    <view class="explanation">
      <image class="store-img" src="/static/image/sm.png" mode="aspectFit"/>
      <view class="explanation-text">
        <view>其他说明</view>
        <view class="period">时段设置:全天可用 00:00-23:59</view>
      </view>
    </view>
  </view>
</view>
