<!--pages/pay-result/pay-result.wxml-->
<view class='container'>
  <view  wx:if="{{sts == 0}}">
    <view class="pay-sts fail">支付失败</view>
    <view class='tips'>请在
      <text class="warn">30分钟</text>内完成付款</view>
    <view class='tips'>否则订单会被系统取消</view>
    <view class="btns">
      <text class='button checkorder' bindtap='toOrderList'>查看订单</text>
      <text class='button payagain' bindtap='payAgain'>重新支付</text>
    </view>
  </view>

  <view wx:if="{{sts == 1}}">
    <view class="pay-sts succ">支付成功</view>
    <view class='tips'>感谢您的购买</view>
    <view class="btns">
      <text class='button checkorder' bindtap='toOrderList'>查看订单</text>
      <text class='button shopcontinue' bindtap='toIndex'>继续购物</text>
    </view>
  </view>

</view>