<view class="orderData">
    <view class="While">
        <view class="orderData-cont-label">
            <image class="orderData-cont-img" src="/static/icons/orderIcon_01.png" mode="aspectFill"></image>
            <view class="orderData-cont-text">
                <view class="orderData-cont-name">订单编号</view>
                <view class="orderData-cont-copy">
                    <text class="nowrap">{{ goodsData.order_no }}</text>
                    <view bindtap="copyUrl" data-no="{{goodsData.order_no}}">复制</view>
                </view>
            </view>
        </view>
        <view class="orderData-cont-label">
            <image class="orderData-cont-img" src="/static/icons/orderIcon_00.png" mode="aspectFill"></image>
            <view class="orderData-cont-text">
                <view class="orderData-cont-name">{{ goodsData.express.name }} <text>{{ goodsData.express.mobile }}</text></view>
                <view class="orderData-cont-copy">
                    {{ goodsData.express.full_address }}
                </view>
            </view>
        </view>
    </view>

    <view class="While orderGoods">
        <view class="orderGoods-wares" wx:for="{{goodsData.items}}" wx:key="items">
            <!-- 先默认固定图 -->
            <image class="orderGoods-img" src="http://api.siyuankunlun.com/storage/materials/2022/09/14/photo.png" mode="widthFix"></image>
            <view class="orderGoods-cont">
                <view class="nowrap orderGoods-name">{{ item.sku.goods_name }}</view>
                <view class="orderGoods-price">
                    <view class="orderGoods-number">{{ item.price }}</view><text>x{{ item.qty }}</text>
                </view>
            </view>
        </view>
    </view>

    <view class="While reserveCont">
        <view class="reserveCont-title">订单信息</view>
        <view class="reserve-label">
            <view class="reserve-name">交易时间</view>
            <view class="reserve-text">{{ goodsData.created_at }}</view>
        </view>
        <view class="reserve-label">
            <view class="reserve-name">总水滴数</view>
            <view class="reserve-text reserve-red">{{ goodsData.amount }}</view>
        </view>
        <view class="reserve-label">
            <view class="reserve-name">运费金额</view>
            <view class="reserve-text">{{ goodsData.freight == 0 ? '免邮' : goodsData.freight }}</view>
        </view>
        <view class="reserve-label">
            <view class="reserve-name">交易状态</view>
            <view class="reserve-text green">{{ goodsData.state }}</view>
        </view>
    </view>
    <view class="While reserveCont" wx:if="{{express.express_name}}">
        <view class="reserveCont-title">物流信息</view>
        <view class="reserve-label">
            <view class="reserve-name">物流公司</view>
            <view class="reserve-text">{{ express.express_name }}</view>
        </view>
        <view class="reserve-label">
            <view class="reserve-name">收货姓名</view>
            <view class="reserve-text green">{{ express.name }}</view>
        </view>
        <view class="reserve-label">
            <view class="reserve-name">收货电话</view>
            <view class="reserve-text green">{{ express.mobile }}</view>
        </view>
        <view class="reserve-label">
            <view class="reserve-name">物流单号</view>
            <view class="reserve-text">{{ express.express_no }}<view class="reserve-copy" bindtap="copyUrl" data-no="{{express.express_no}}">复制</view>
            </view>
        </view>
    </view>
</view>
<view class="order-data-footer">
    <navigator hover-class="none" class="order-btn" open-type="navigateBack">返回订单</navigator>
    <view class="order-btn" bindtap="signClick" wx:if="{{sign}}">签收订单</view>
</view>