index.html 5.8 KB
<include file="public@header"/>
<link rel="stylesheet" href="__STATIC__/install/css/mdialog.css">
<style>
    .popup,.popdown{
        width: 250px;
        height: 100px;
        background-color: rgba(0,0,0,0.5);
        position: fixed;
        top: 50%;
        transform: translateY(-50px);
        left: 0;
        right: 0;
        margin: 0 auto;
        border-radius: 5px;
        color: #ffffff;
    }
    .popup p,.popdown p{
        text-align: center;
        margin-top: 20px;
    }
    .popup span,.popdown span{
        text-align: center;
        line-height: 30px;
        cursor: pointer;
    }
    .popup .queding,.popdown .sure{
        display: inline-block;
        width: 80px;
        height: 30px;
        background-color: #1E9FFF;
        border-radius: 3px;
    }
    .popup span:hover,.popdown span:hover{
        opacity: 0.8;
    }
    .popup .quxiao,.popdown .re{
        display: inline-block;
        width: 80px;
        height: 30px;
        ckground-color: #9cb945 ;
        color: #333333;
        border-radius: 3px;
        background-color:#fff;
        margin-left: 35px;
    }
    .btn_list{
        margin: 0 auto;
        width: 200px;
    }
</style>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a>投诉管理</a></li>
    </ul>
    <form class="well form-inline margin-top-20" method="post" action="{:url('Complaint/index')}">
        时间:
        <input type="text" class="form-control js-bootstrap-datetime" name="start_time"
               value="{$start_time|default=''}"
               style="width: 140px;" autocomplete="off"> -
        <input type="text" class="form-control js-bootstrap-datetime" name="end_time"
               value="{$end_time|default=''}"
               style="width: 140px;" autocomplete="off"> &nbsp; &nbsp;
        用户名:
        <input type="text" class="form-control" name="name" style="width: 200px;"
               value="{$name|default=''}" placeholder="请输入姓名">
        手机号:
        <input type="text" class="form-control" name="tel" style="width: 200px;"
               value="{$tel|default=''}" placeholder="请输入手机号">
        <input type="submit" class="btn btn-primary" value="搜索"/>
        <a class="btn btn-danger" href="{:url('Refund/index')}">清空</a>
        <!--<span class="btn btn-default" onclick="window.history.back(-1)" >返回</span>-->
    </form>


    <form method="post" class="js-ajax-form margin-top-20">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th>ID</th>
                <th>用户id</th>
                <th>用户名</th>
                <th>手机号</th>
                <th>类型</th>
                <th>退款金额</th>
                <th>退款单号</th>
                <th>退款方式</th>
                <th>退款原因</th>
                <th>退款时间</th>
                <th>退款成功时间</th>
                <th>状态</th>
                <!--<th>操作</th>-->
            </tr>
            </thead>
            <tbody>
            <foreach name="lists" item="vo">
                <tr>
                    <td>{$vo.id}</td>
                    <td>{$vo.user_id}</td>
                    <td>{$vo.name}</td>
                    <td>{$vo.tel}</td>
                    <td>
                        <eq name="vo.user_type" value="1">
                            用户
                        </eq>
                        <eq name="vo.user_type" value="2">
                           中介
                        </eq>

                    </td>
                    <td>{$vo.money}</td>
                    <td>{$vo.refund_id}</td>
                    <td>
                        <eq name="vo.pay_type" value="1">
                            支付宝
                        </eq>
                        <eq name="vo.pay_type" value="2">
                            微信
                        </eq>
                    </td>
                    <td>
                        <eq name="vo.reason" value="1">
                            报价人数不足
                        </eq>
                        <eq name="vo.reason" value="2">
                            用户未选择
                        </eq>
                        <eq name="vo.reason" value="3">
                            用户未确认
                        </eq>
                        <eq name="vo.reason" value="4">
                            中介未确认
                        </eq>
                    </td>
                    <td>{:date('Y-m-d H:i:s',$vo['create_time'])}</td>
                    <td>{:date('Y-m-d H:i:s',$vo['refund_time'])}</td>
                    <td>
                        <eq name="vo.status" value="1">
                            <span index="{$vo.id}" style="color: #858585">退款处理中</span>
                        </eq>
                        <eq name="vo.status" value="2">
                            <span   index="{$vo.id}" style="color: #858585">退款成功</span>
                        </eq>
                        <eq name="vo.status" value="3">
                            <span   index="{$vo.id}" style="color: #858585">退款关闭</span>
                        </eq>
                        <eq name="vo.status" value="4">
                            <span   index="{$vo.id}" style="color: #858585">退款异常</span>
                        </eq>
                    </td>

                </tr>
            </foreach>

            </tbody>

        </table>
        <ul class="pagination">{$page|default=''}</ul>
    </form>

</div>
<script src="__STATIC__/js/admin.js"></script>
<script src="__STATIC__/js/layer/layer.js"></script>
<script type="text/javascript" src="__STATIC__/js/zepto.min.js"></script>
<script type="text/javascript" src="__STATIC__/js/mdialog.js"></script>
<script type="">


</script>
</body>
</html>