<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="https://www.thymeleaf.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="https://www.thymeleaf.org ">
<head>
    <title>采美365网-中国美业全方位线上交易服务互动平台，做美业，上采美</title>
    <template th:replace="components/head-link"></template>
    <link th:href="@{/css/base/center.css(v=${version})}" rel="stylesheet" type="text/css">
    <link th:href="@{/css/supplier-center/record.css(v=${version})}" rel="stylesheet" type="text/css">
</head>
<body>
<!-- 引用头部 -->
<template th:replace="components/header"></template>

<!-- 我的采美 -->
<div id="deliveryRecode">
    <div class="navLayout">
        <div class="crumbs" v-if="isPC">
            <span>我的交易</span>
            <span>&gt;</span>
            <span>我的订单</span>
            <span>&gt;</span>
            <span>发货记录</span>
        </div>
        <div v-else class="wrap_tittle mIcon" @click="opentittle">
            <i class="mIcon open"></i><span style="margin-left: 25px;">发货</span>
        </div>
        <div class="wrap clear">
            <!--左侧面包屑-->
<!--            <div v-show="open">-->
                <template th:replace="supplier-center/components/tableft"></template>
<!--            </div>-->
            <div class="right">
                <div class="userinfo">
                    <p class="info">
                        <span>买家信息</span>
                        <button type="button" class="comback" @click="history.go(-1)">返回</button>
                    </p>
                    <div class="user">
                        <p>买家名称：<span>{{userInfo.name}}</span></p>
                        <p>收货人：<span>{{userInfo.shouHuoRen}}</span></p>
                        <p>联系方式：<span>{{userInfo.mobile}}</span></p>
                    </div>
                    <p class="address">收货地址：<span>{{userInfo.address}}</span></p>
                </div>
                <div class="record-product">
                    <div class="protitle">发货记录</div>
                    <div class="no-delivery-record" v-if="isShow">
                        <img src="/img/order/kon.png">
                        <p>此订单还没有发货记录，快去<span>补充</span>他吧</p>
                    </div>
                    <div class="product" v-else>
                        <ul class="product-title">
                            <li>商品信息</li>
                            <li>购买数量</li>
                            <li>已发数量</li>
                            <li>未发数量</li>
                            <li>本次发货</li>
                        </ul>
                        <ul class="product-info">
                            <li>
                                <div class="product-img">
                                    <img src="https://img-b.caimei365.com/group1/M00/02/F7/Cmgy619YcouAR3uWAABdjZxswlA610.jpg"/>
                                    <h3>皮肤冷却仪冷风机皮肤冷却仪冷风风皮肤冷却仪冷风机</h3>
                                </div>
                                <div>10</div>
                                <div>100</div>
                                <div>1000</div>
                                <div>10000</div>
                            </li>
                            <p class="record-time">发货时间：2019-04-03 16:45</p>
                            <div class="img-remark">
                                <span>图片备注：</span>
                                <ul>
                                    <li>
                                        <img src="https://img-b.caimei365.com/group1/M00/02/F7/Cmgy619YcouAR3uWAABdjZxswlA610.jpg">
                                    </li>
                                    <li>
                                        <img src="https://img-b.caimei365.com/group1/M00/02/F7/Cmgy619YcouAR3uWAABdjZxswlA610.jpg">
                                    </li>
                                </ul>
                            </div>
                            <p class="remark">文字备注：<span>这里是我写的文字备注这里是我写的文字备注这里是我写的文字备注这里是我写的文字备注这里是我写的文字备注</span></p>
                        </ul>
                        <div class="record-button">
                            <button class="view-logistics" type="button">查看物流</button>
                            <button class="add-logistics" type="button">添加物流</button>
                        </div>
                    </div>
                </div>
            </div>
            <div v-if="(!isPC) && noMore" class="noMore">---- 没有更多了 ----</div>
            <div class="pageWrap clear" v-if="isPC && pageTotal>1">
                <a v-if="params.pageNum>1" class="prev" @click="toPagination(params.pageNum*1-1)"
                   href="javascript:void(0);"></a>
                <template v-for="n in showPageBtn">
                    <a v-if="n" :class="{'on':(n==params.pageNum)}" @click="toPagination(n)" href="javascript:void(0);"
                       v-text="n"></a>
                    <span v-else>···</span>
                </template>
                <a v-if="params.pageNum<pageTotal" class="next" @click="toPagination(params.pageNum*1+1)"
                   href="javascript:void(0);"></a>
                <span>共<b v-text="pageTotal>1?pageTotal:1"></b>页</span>
                <span>跳至</span>
                <input v-model="pageInput" @blur="checkNum()"/>
                <span>页</span>&nbsp;
                <a class="btn" href="javascript:void(0);" @click="toPagination(pageInput)">点击跳转</a>
            </div>

        </div>
    </div>
</div>

<!-- 引入底部 -->
<template th:replace="components/footer"></template>
<template th:replace="components/foot-link"></template>
<script charset="utf-8" type="text/javascript"
        th:src="@{/js/common/serviceapi/supplier.service.js(v=${version})}"></script>
<script charset="utf-8" type="text/javascript" th:src="@{/js/supplier-center/record.js(v=${version})}"></script>
</body>
</html>
