<!-- 订单详情 -->
<view class="orderData">
    <view class="orderBack">
        <image src="/static/images/wl.png" mode="widthFix"></image>{{orderData.state_text}}
    </view>
    <view class="orderCont">
        <view class="orderSite">
            <view class="orderSite-laebl">
                <image src="/static/mall_icon/mallAddress_00.png"></image>
                <view class="orderSite-laeb-name">{{orderData.express.name}}<text>{{orderData.express.mobile}}</text>
                </view>
            </view>
            <view class="orderSite-laebl">
                <image src="/static/mall_icon/mallAddress_02.png"></image>
                <view class="orderSite-laeb-address">{{orderData.express.address}}</view>
            </view>
        </view>
        <view class="orderGoods">
            <view class="top">
                <view class="ctime">{{orderData.created_at}} <span>{{orderData.state_text}}</span> </view>
                <view class="content">
                    <image src="{{orderData.items[0].cover}}" mode="aspectFill"></image>
                    <view style="margin-left:20rpx;flex:1;">
                        <view class="title"><span class="title1">{{orderData.items[0].title}}</span><span
                                class="num">￥{{orderData.items[0].price}}</span>
                        </view>
                        <view class="title mt10">{{orderData.items[0].value}} x {{orderData.items[0].qty}}</view>
                    </view>
                </view>
                <view class="total">
                    <view>共<span class="num"> {{orderData.items[0].qty}} </span>件商品 实付:￥<span class="num">
                            {{orderData.items[0].price}}
                        </span></view>
                    <view class="time">项目结束时间：{{orderData.crowdfund_end_at}}</view>
                </view>
                <view class="title pt10"><span class="title1">应付</span><span
                        class="num2">￥{{orderData.items[0].price}}</span>
                </view>
                <view class="title pt10"><span class="title1">实付</span><span
                        class="num2">￥{{orderData.items[0].price}}</span>
                </view>
            </view>
        </view>
        <view class="orderLabel">
            <view class="title">订单详情</view>
            <view class="order-input" wx:if='{{orderData.orderid}}'><label>订单编号：</label> <text>{{orderData.orderid}}</text> </view>
            <view class="order-input" wx:if='{{orderData.created_at}}'><label>创建时间：</label> <text>{{orderData.created_at}}</text></view>
            <view class="order-input" wx:if='{{orderData.paid_at}}'><label>支付时间：</label> <text>{{orderData.paid_at}}</text></view>
            <view class="order-input" wx:if='{{orderData.deliver_at}}'><label>发货时间：</label> <text>{{orderData.deliver_at}}</text></view>
            <view class="order-input" wx:if='{{orderData.receive_at}}'><label>签收时间：</label> <text>{{orderData.receive_at}}</text></view>
            <view class="order-input"><label>订单备注：</label> <text>{{orderData.remark || '暂无'}}</text></view>
        </view>
        <view class="orderLabel" wx:if='{{orderData.express.company}}'>
            <view class="title">物流信息</view>
            <view class="order-input" wx:if='{{orderData.orderid}}'><label>快递名称：</label> <text>{{orderData.express.company}}</text> </view>
            <view class="order-input" wx:if='{{orderData.created_at}}'><label>快递单号：</label> <text>{{orderData.express.number}}</text></view>
        </view>
    </view>
</view>


<!-- 订单工具 -->
<view class="orderFooter">
    <view class="orderFooter-btn" wx:if="{{orderData.canCancel == true}}" data-orderid="{{orderData.orderid}}"
        bindtap="orderDelete">
        取消订单
    </view>
    <view class="orderFooter-btn orderFooter-btn-back" wx:if="{{orderData.canPay == true}}"
        data-orderid="{{orderData.orderid}}" bindtap="orderPay">
        立即支付
    </view>
    <view class="orderFooter-btn" wx:if="{{orderData.canSign == true}}" data-orderid="{{orderData.orderid}}"
        bindtap="orderSign">
        立即签收
    </view>
    <navigator class="orderFooter-btn" wx:if="{{orderData.canRefund == true}}"
        url="../projectRefund/projectRefund?orderId={{orderData.orderid}}">申请退款</navigator>
    <!-- <view class="orderFooter-btn" bindtap="logisticsShow">查看物流</view> -->
    <view class="orderFooter-btn" bindtap="orderRun">返回订单</view>
</view>


<!-- 物流 -->
<view class="logistics-back {{logisticsPop ? 'active':''}}" bindtap="logisticsHide"></view>
<view class="logistics-cont {{logisticsPop ? 'active':''}}">
    <image class="logistics-close" src="/static/mall_icon/mall_close.png" bindtap="logisticsHide"></image>
    <view class="nowrap-multi logistics-title">
        <view class="logistics-title-icon">
            <image src="/static/mall_icon/mallAddress_02.png"></image>
        </view>
        收货地址：黑龙江省哈尔滨市测试区域测试地址123
    </view>
    <view class="logistics-list">
        <view class="logistics-label">
            您的快件由【青岛】准备发往【上海】
        </view>
        <view class="logistics-label">
            您的快件由【青岛】准备发往【上海】
        </view>
        <view class="logistics-label">
            您的快件由【青岛】准备发往【上海】
        </view>
        <view class="logistics-label">
            您的快件由【青岛】准备发往【上海】
        </view>
        <view class="logistics-label">
            您的快件由【青岛】准备发往【上海】
        </view>
        <view class="logistics-label">
            您的快件由【青岛】准备发往【上海】
        </view>
        <view class="logistics-label">
            您的快件由【青岛】准备发往【上海】
        </view>
        <view class="logistics-label">
            您的快件由【青岛】准备发往【上海】
        </view>
        <view class="logistics-label">
            您的快件由【青岛】准备发往【上海】
        </view>
        <view class="logistics-label">
            您的快件由【青岛】准备发往【上海】
        </view>
        <view class="logistics-label">
            您的快件由【青岛】准备发往【上海】
        </view>
        <view class="logistics-label">
            您的快件由【青岛】准备发往【上海】
        </view>
        <view class="logistics-label">
            您的快件由【青岛】准备发往【上海】
        </view>
        <view class="logistics-label">
            您的快件由【青岛】准备发往【上海】
        </view>
        <view class="logistics-label">
            您的快件由【青岛】准备发往【上海】111
        </view>
    </view>
</view>