<!-- 订单详情 -->
<view class="orderData">
    <view class="orderBack">
        <image src="/static/images/wl.png" mode="widthFix"></image>{{orderData.state.remark}}
    </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.order.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.order.paid_at}}'><label>支付时间：</label>
                <text>{{orderData.order.paid_at}}</text></view>
            <view class="order-input"><label>订单备注：</label> <text>{{orderData.remark || '暂无'}}</text></view>
        </view>
    </view>
</view>


<!-- 订单工具 -->
<view class="orderFooter">
    <view class="orderFooter-btn" bindtap="orderRun">返回订单</view>
    <view class="orderFooter-btn"  data-refundid="{{orderData.refund_id}}" bindtap="refunds">
        退款进度
    </view>
</view>
