<view>
  <image class="xc-coupon-img" src="{{h_pic}}"></image>
  <view class="flex pd20 jc_sb fs28">
    <view>单品名称</view>
    <view>数量</view>
  </view>
  <view class="flex pd20 jc_sb fs26" wx:for="{{xp_list}}" wx:key="id">
    <view>{{item.PrivilegeName}}</view>
    <view class="c-a4">x{{item.SecondNo}}</view>
  </view>
  <view class="btn-container">
    <!-- <view wx:if="{{details.isget}}" data-type="1" class="btn" style="background-color:#aaa;color: #fff">
      已使用{{list[0].freebh}}
   </view> -->
    <view wx:if="{{is_use}}" class="btn1">已使用</view>
    <block wx:else>
      <view wx:if="{{!is_appoint_storage || qr_code_object.StorageID}}" bindtap="show_hxm" data-type="1" class="btn">立即使用</view>
      <view wx:else bindtap="select_product" data-type="1" class="btn">登记取货</view>
    </block>
    <!-- <view bindtap="right_use" class="btn">立即使用</view></view> -->
  </view>
</view>

<!-- 弹出框扫描 -->
<qr_code id="qc_com" bindclose="close"></qr_code>

<!-- 门店选择弹窗 -->
<store_popup store="{{store}}" bindcallback="callback" ></store_popup>