<nav-bar navbar-data='{{navbarData}}' bind:back="back"></nav-bar>
<view class="main" style="padding-top:{{height}}px;height:{{windowHeight-height}}px">
  <view class="one" bindtap="showQR">
    <text class="iconfont icon-erweima"></text>
    <text>{{info.date}}</text>
    <text>{{info.label}}</text>
    <text>{{meal.is_use==0?'待使用':meal.is_use=='1'?'待评价':meal.is_use=='2'?'已完成':meal.is_use=='3'?'已失效':'未识别'}}</text>
  </view>
  <view class="two">
    <view class="list" wx:key="item" wx:for="{{meal.list}}" data-id="{{item.id}}">
      <view class="list_1">
        <image src="{{item.url}}"></image>
      </view>
      <view class="list_2">{{item.name}}</view>
      <view class="list_3">{{item.num}}份</view>
    </view>
  </view>
  <van-overlay show="{{ show }}" bind:click="clearQR">
    <view class="wrapper">
      <view class="block" catch:tap="noop"><canvas class="qrcode" canvas-id="myQrcode"></canvas></view>
    </view>
  </van-overlay>
</view>