<page-loding wx:if="{{showLoding}}"></page-loding>
<view>
    <view class="page-container order" style="background-color: rgb(255, 255, 255);">
        <view class="page-content" style="padding-bottom: 48px;">
            <view class="section">
                <view class="wp">
                    <view class="goods-info">
                        <view class="lt">
                            <view class="lt_pic">
                                <image mode="aspectFit" src="{{shoppingCartList.shop.image}}"></image>
                            </view>
                        </view>
                        <view class="rt">
                            <view class="rt_tit">{{shoppingCartList.shop.name}}</view>
                            <view class="rt_price">
                                <view class="now">
                                    <view>¥</view>{{shoppingCartList.shop.price}}</view>
                                <view class="old">¥{{shoppingCartList.shop.marketprice}}</view>
                            </view>
                        </view>
                    </view>
                </view>
                <view class="wp"></view>
                <view class="wp">
                    <view class="attr-wrap thin-border_t">
                        <view class="label">购买数量</view>
                        <view class="van-stepper-container">
                            <view class="van-stepper">
                                <view bindtap="changeNum" class="van-stepper__minus {{num<=1?'van-stepper__minus--disabled':''}}" data-types="minus" type="button">-</view>
                                <input bindblur="blur" bindinput="input" class="van-stepper__input" placeholderClass="placehoder" type="number" value="{{num}}"></input>
                                <view bindtap="changeNum" class="van-stepper__plus {{num>=allowMaxNum?'van-stepper__minus--disabled':''}}" data-types="plus" type="button">+</view>
                            </view>
                        </view>
                    </view>
                </view>
                <view class="wp" wx:if="{{allow_useintegral==1}}">
                    <view class="attr-wrap thin-border_t">
                        <view class="label">使用{{currency}}（最多可用{{allow_useintegralmax}}元）</view>
                        <view class="van-stepper-container">
                            <view class="van-stepper">
                                <view bindtap="changeNum" class="van-stepper__minus {{useMoney<=0?'van-stepper__minus--disabled':''}}" data-name="money" data-types="minus" type="button">-</view>
                                <input bindblur="blur" bindinput="input" class="van-stepper__input" data-name="money" placeholderClass="placehoder" type="number" value="{{useMoney}}"></input>
                                <view bindtap="changeNum" class="van-stepper__plus {{useMoney==allow_useintegralmax?'van-stepper__minus--disabled':''}}" data-name="money" data-types="plus" type="button">+</view>
                            </view>
                        </view>
                    </view>
                </view>
            </view>
            <view class="section">
                <view class="order-form van-cell-group van-hairline--top-bottom" style="position: relative;">
                    <view class="van-cell van-cell--required van-field">
                        <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="inputtext" class="van-field__control" data-text="name" placeholder="请输入姓名" placeholderClass="placehoder" type="text" value="{{name}}"></input>
                            </view>
                        </view>
                    </view>
                    <view class="van-cell van-cell--required van-field">
                        <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="inputtext" class="van-field__control" data-text="mobile" placeholder="请输入你的手机号码" placeholderClass="placehoder" type="number" value="{{mobile}}"></input>
                            </view>
                        </view>
                    </view>
                </view>
            </view>
        </view>
        <view class="page-footer">
            <view class="order-menu thin-border_t">
                <view class="order_price wp"> 合计： <view class="num">¥ {{totalprice}}</view>
                </view>
                <view bindtap="pay" class="order_btn">
                    <button class="btn btn-confirm"> 立即支付 </button>
                </view>
            </view>
        </view>
    </view>
</view>
