<view class="charge-off">
    <page-loding wx:if="{{showLoding}}"></page-loding>
    <view class="coupon__box">
        <navigator class="coupon__box__title" url="/pages/goodsDetails/goodsDetails?id={{ordercart[0].id}}">{{ordercart[0].shop.name}}</navigator>
        <view class="coupon__box__split"></view>
        <view class="coupon__box__qrcode">
            <view class="qrcode-area">
                <view class="{{verificationQrcode.status==1?'img':'img gray'}}" id="qrcode">
                    <image alt="Scan me!" mode="widthFix" src="{{verificationQrcode.image}}"></image>
                </view>
                <view class="txt" wx:if="{{verificationQrcode.status!=1}}">不可使用</view>
            </view>
            <view class="tips">请将此二维码展示给商家核销</view>
        </view>
    </view>
    <view class="box">
        <view class="tips">
            <view>核销码 <view class="til">点击核销码可复制</view>
            </view>
        </view>
        <view>
            <view bindtap="copy" class="box-items" data-code="{{item.code}}" wx:for="{{orderVerification}}">
                <view class="item__bd">
                    <view class="line"></view>
                    <view class="code">{{item.code}}</view>
                    <view class="name">{{item.name}}</view>
                    <view class="merchant">
                        <image class="shop" src="/img/shop.png"></image>{{item.merchantname}}</view>
                </view>
            </view>
        </view>
    </view>
    <view class="box">
        <view class="tips">
            <view>订单总价：</view>
            <view class="right">¥{{orderData.total_price}} </view>
        </view>
        <view class="box-items">
            <view class="item__bd">
                <view class="line">
                    <view class="info">姓名：{{orderData.recipient_name}}</view>
                </view>
                <view class="line">
                    <view class="info">支付时间：{{orderData.updatetime}}</view>
                </view>
                <view class="line">
                    <view class="info">订单号：{{orderData.orderid}}</view>
                </view>
                <view class="line">
                    <view class="info">有效期：{{orderValidity[0]}} 至 {{orderValidity[1]}}</view>
                </view>
            </view>
        </view>
    </view>
    <view class="box">
        <view class="tips">
            <view>商家信息:</view>
        </view>
        <view>
            <view class="box-items" wx:for="{{companyList}}" wx:key="index">
                <view class="item__tips">{{item.name}}</view>
                <view class="item__bd">
                    <view class="line">
                        <view class="info">营业时间：{{item.businesshours}}</view>
                    </view>
                    <view class="line">
                        <view class="info">商家电话：{{item.tel}}</view>
                        <view bindtap="call" class="btn" data-tel="{{item.tel}}">拨号</view>
                    </view>
                    <view class="line">
                        <view class="info">商家地址：{{item.address}}</view>
                        <view bindtap="toMap" class="btn" data-latitude="{{item.lat*1}}" data-longitude="{{item.lng*1}}">导航</view>
                    </view>
                </view>
            </view>
        </view>
    </view>
    <view class="box" wx:if="{{purchasenotes}}">
        <view class="tips">
            <view>注意事项:</view>
        </view>
        <view class="list_body">
            <view class="content">
                <rich-text nodes="{{purchasenotes}}"></rich-text>
            </view>
        </view>
    </view>
</view>
