<nav type="back" background-color="#46a9a4" title="核销" />
<block wx:if="{{id}}">
    <view class="top">
        <image class="top-image" src="{{order.images[0]}}"></image>
        <view class="title">
            <view class="order-name">{{order.name}}</view>
            <view class="order-time">营业时间：{{order.shopStore.workingTime}}</view>
            <view class="order-price">￥{{order.price}}</view>
        </view>
    </view>
    <view class="order-prompt">
        <view class="prompt-title">订房须知</view>
        <block>
            <rich-text nodes="{{order.room.note}}" style="width: 100%;height: 100%; margin-right: 0 auto;"></rich-text>
        </block>
    </view>
    <view class="order-prompt">
        <view class="prompt-title">订单信息</view>
        <view class="order-number">
            订单编号：
            <view class="number">{{order.orderNum}}</view>
        </view>
        <view class="order-number">
            下单时间：
            <view class="number">{{order.createdAt}}</view>
        </view>
        <view class="order-number">
            入住时间：
            <view class="number">{{order.startTime}}——{{order.endTime}}</view>
        </view>
        <view class="order-number">
            数量：
            <view class="number">{{order.day}}</view>
        </view>
        <view class="order-number">
            总价：
            <view class="number">￥{{order.price}}</view>
        </view>
    </view>
</block>
<block wx:if="{{!id}}">
    <van-empty description="暂无" />
</block>
<view class="bommon" bindtap="submit">确认核销</view>