<page-loding wx:if="{{showLoding}}"></page-loding>
<view class="payorder">
    <view class="container">
        <view class="order-time" wx:if="{{orderData.status==0}}">
            <view>支付剩余时间</view>
            <view class="time">{{restTime}}</view>
        </view>
        <view class="order-time" wx:if="{{orderData.status==-1}}">
            <view>订单已过期，请重新下单</view>
        </view>
        <view class="section">
            <view class="user-info">
                <view class="top">
                    <view class="name">{{name}}</view>
                    <view class="tel">{{mobile}}</view>
                </view>
            </view>
        </view>
        <view class="section">
            <view class="goods-info thin-border_b" wx:for="{{ordercart}}" wx:key="index">
                <view class="lt">
                    <view class="lt_pic">
                        <image mode="widthFix" src="{{item.image}}"></image>
                    </view>
                </view>
                <view class="rt">
                    <view class="rt_tit">{{item.shop.name}}</view>
                    <view class="_btm">
                        <view></view>
                        <view class="rt_num">×{{item.shop_num}}</view>
                    </view>
                </view>
            </view>
            <view class="order-area thin-border_b">
                <view class="order-item">
                    <view class="hd">订单编号：</view>
                    <view class="bd">{{data.orderid||orderid}}</view>
                </view>
                <view class="order-item">
                    <view class="hd">下单时间：</view>
                    <view class="bd">{{orderData.updatetime}}</view>
                </view>
            </view>
            <view class="order-area thin-border_b">
                <view class="order-item">
                    <view class="van-cell van-field" style="padding: 0px;">
                        <view class="van-cell__title van-field__label">
                            <view>订单备注：</view>
                        </view>
                        <view class="van-cell__value van-field__value">
                            <view class="van-field__body">
                                <input bindinput="input" class="van-field__control" placeholder="订单备注" placeholderClass="placehoder" type="text" value="{{tips}}"></input>
                            </view>
                        </view>
                    </view>
                </view>
            </view>
            <input hidden="hidden" name="order_id" type="text"></input>
        </view>
        <view class="section-money">
            <view class="money__row">
                <view class="title title--big">商品总额</view>
                <view class="money money--black">¥{{orderData.total_price}}</view>
            </view>
            <view class="money__total"> 共{{orderData.total_num}}件商品，实付： <view>¥ </view>
                <view class="money"> {{orderData.pay_money}}</view>
            </view>
        </view>
        <view bindtap="topay" class="pay-btn">
            <view class="area">
                <view class="btn" url="/pages/orderList/orderList">立即支付</view>
            </view>
        </view>
    </view>
</view>
