ordertail.html 5.1 KB
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
    <link rel="stylesheet" href="https://at.alicdn.com/t/font_886149_x7uh64tifl.css">

    <!--<link rel="stylesheet" href="__TMPL__/public/assets/css/example.css"/>-->
    <link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
    <link rel="stylesheet" href="__TMPL__/public/assets/css/ordertail.css">



    <title>我要雇人</title>
    <script type="text/javascript" src="__TMPL__/public/assets/js/jquery.min.js"></script>
    <script type="text/javascript" src="__TMPL__/public/assets/js/base.js"></script>
    <style>

    </style>
</head>
<body>
<div class="container">
    <div class="head">
        <p class="ordernum">订单号:{$list.order_sn}</p>
        <eq name="list.status" value="2"><p class="orderstate">待审核</p></eq>
        <eq name="list.status" value="3"><p class="orderstate">待付款</p></eq>
        <eq name="list.status" value="4"><p class="orderstate">审核未通过</p></eq>
        <eq name="list.status" value="5"><p class="orderstate">已取消</p></eq>
        <eq name="list.status" value="6"><p class="orderstate">待完成</p></eq>
        <eq name="list.status" value="10"><p class="orderstate">待完成</p></eq>
        <eq name="list.status" value="7"><p class="orderstate">待评价</p></eq>
        <eq name="list.status" value="8"><p class="orderstate">已评价</p></eq>
    </div>
    <div class="ordercontent">
        <p class="content_name">{$list.select_name}</p>
        <p class="content_price">¥{$list.money}/天</p>
        <p class="content_date">{$list.start_time}-{$list.end_time}</p>
        <in name="list.status" value="6,7,8">
        <p class="content_date">雇佣人员: {$list.user_name}</p>
        <p class="content_date">联系电话: {$list.user_tel}</p>
        </in>
    </div>
    <div class="companyinfo">
        <p class="signcompany">
            <img src="__TMPL__/public/assets/images/companysign.png" alt="">
        </p>
        <div class="textcompany">
            <p class="company_name">公司名称</p>
            <div class="companytext_name">
                {$list.title}
            </div>
        </div>


    </div>

    <div class="companyinfo">
        <p class="signcompany">
            <img src="__TMPL__/public/assets/images/companysign.png" alt="">
        </p>
        <div class="textcompany">
            <p class="company_name">工作地点</p>
            <div class="companytext_name">
                {$list.address}
            </div>
        </div>


    </div>

    <div class="companyinfo">
        <p class="signcompany">
            <img src="__TMPL__/public/assets/images/companysign.png" alt="">
        </p>
        <div class="textcompany">
            <p class="company_name">工作要求</p>
            <div class="companytext_name">
                {$list.else}

            </div>
        </div>
    </div>
    <div class="companyinfo">
        <p class="signcompany">
            <img src="__TMPL__/public/assets/images/companysign.png" alt="">
        </p>
        <div class="textcompany">
            <p class="company_name">招聘人数</p>
            <div class="companytext_name">
                {$list.people} 人

            </div>
        </div>
    </div>
    <eq name="list.status" value="4">
        <div class="companyinfo">
            <p class="signcompany">
                <img src="__TMPL__/public/assets/images/companysign.png" alt="">
            </p>
            <div class="textcompany">
                <p class="company_name">审核不通过原因</p>
                <div class="companytext_name">
                    抱歉,您的资料填写不完整
                </div>
            </div>
        </div>
    </eq>

        <div class="orderfoot">
            <eq name="list.status" value="3">
            <p class="sure">取消订单</p>
            <p class="pay">付款</p>
            </eq>
            <eq name="list.status" value="6">
                    <p class=" pay sure">确认完成</p>
            </eq>
            <eq name="list.status" value="7">
                    <p class="pay common">评价</p>
            </eq>
        </div>


</div>

<script>
    window.alert = function(name){
        var iframe = document.createElement("IFRAME");
        iframe.style.display="none";
        document.documentElement.appendChild(iframe);
        window.frames[0].window.alert(name);
        iframe.parentNode.removeChild(iframe);
    }
    window.confirm = function (message) {
        var iframe = document.createElement("IFRAME");
        iframe.style.display = "none";
        iframe.setAttribute("src", 'data:text/plain,');
        document.documentElement.appendChild(iframe);
        var alertFrame = window.frames[0];
        var result = alertFrame.window.confirm(message);
        iframe.parentNode.removeChild(iframe);
        return result;
    }



    $(".cancelorder").click(function(){
        var a=confirm("是否取消订单");
        if(a==true){
            alert("取消订单")
        }
    })
</script>
</body>
</html>