index.html 9.43 KB
<!DOCTYPE html>
<html lang="en">

<head>
    <title>个人中心</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="format-detection" content="telephone=no">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="alternate icon" type="image/png" href="../../staticImages/logo-realestate.png">
    <link rel='icon' href='favicon.ico' type='image/x-ico' />
    <meta name="description" content="" />
    <meta name="keywords" content="" />
    <link rel="stylesheet" type="text/css" href="../../staticCss/common.css" />
    <link rel="stylesheet" type="text/css" href="../../staticLib/layui/css/layui.css" />
    <link rel="stylesheet" type="text/css" href="./css/index.css">
</head>

<body>
    <div class="main">
        <div class="subject top-logo">
            <div class="top_logo_content">
                <h1><a href="index.html"><img src="./../../staticImages/logo.jpg" alt="西安市不动产登记平台" /></a></h1>
                <div class="top_logo_search">
                    <input type="text" name="title" required lay-verify="required" placeholder="请输入关键字搜索"
                        autocomplete="off" class="layui-input">
                    <i class="layui-icon layui-icon-search" style="font-size: 14px;"></i>
                </div>
                <ul class="login">
                    <li>登录</li>
                    <li>注册</li>
                </ul>
            </div>
        </div>
        <div class="navigation">
            <ul class="layui-nav layui-bg-blue" lay-filter="">
                <li class="layui-nav-item"><a href="./../../staticIndex.html">首页</a></li>
                <li class="layui-nav-item"><a href="./../../staticViews/xwdt/index.html">新闻动态</a></li>
                <li class="layui-nav-item"><a href="">业务办理</a></li>
                <li class="layui-nav-item"><a href="./../../staticViews/bszn/index.html">办事指南</a></li>
                <li class="layui-nav-item">
                    <a href="javascript:;">查验中心</a>
                    <dl class="layui-nav-child">
                        <!-- 二级菜单 -->
                        <dd><a href="">移动模块</a></dd>
                        <dd><a href="">后台模版</a></dd>
                        <dd><a href="">电商平台</a></dd>
                    </dl>
                </li>
                <li class="layui-nav-item"><a href="">在线缴费</a></li>
                <li class="layui-nav-item" class="item_last_child"><a href="">好差评</a></li>
            </ul>
        </div>
        <div class="navigation_crumbs">
            <div class="contentBox">
                <span class="layui-breadcrumb">
                    <a href="../../staticIndex.html">首页</a>
                    <a href="../grzx/index.html">个人中心</a>
                    <a><cite>我的预约</cite></a>
                </span>
            </div>
        </div>
        <!-- -----------------个人信息------------------------ -->
        <div class="perinfo contentBox layui-bg-gray">
            <div class="perinfo_left">
                <img src="../../staticImages/logo-realestate.png" alt="">
                <ul>
                    <li>
                        <span>上午好:</span>
                        <p>任超</p>
                    </li>
                    <li>
                        <span>身份证号:</span>
                        <p>61012216464646</p>
                    </li>
                </ul>
            </div>
            <a class="my_appointment" href="../yyxz/index.html">在线预约</a>
            <div class="time">
                登录时间:2088-20-88
            </div>
        </div>
        <!-- -------------预约列表--------------- -->
        <div class="appointment_list contentBox">
            <table class="layui-hide" id="test" lay-filter="test"></table>
        </div>
        <div class="footer">
            <div class="system_service">
                <ul class="">
                    <li>
                        <a href="">
                            <span>公示公告</span>
                        </a>
                    </li>
                    <li>
                        <a href="">
                            <span>法律法规</span>
                        </a>
                    </li>
                    <li>
                        <a href="">
                            <span>相应政策</span>
                        </a>
                    </li>
                    <li>
                        <a href="">
                            <span>下载服务</span>
                        </a>
                    </li>
                    <li>
                        <a href="">
                            <span>关于我们</span>
                        </a>
                    </li>
                </ul>
            </div>
            <div class="subject">
                <div class="footer_logo">
                    <a href="">
                        <img src="./../../staticImages/jiguan.png">
                    </a>
                </div>
                <ul>
                    <li>
                        西安市自然资源和规划局
                    </li>
                    <li>
                        电话:028-456465
                    </li>
                    <li>
                        地址:西安市丰城8路
                    </li>
                    <li>
                        网站标识吗:87987987
                    </li>
                    <li>
                        备案:陕IPC456465465
                    </li>
                    <li>
                        陕公网备案:456465465
                    </li>
                </ul>
                <ol>
                    <li>
                        <img src="./../../staticImages/code.png">
                        <p>扫描关注公众号</p>
                    </li>
                    <li>
                        <img src="./../../staticImages/code.png">
                        <p>扫描关注公众号</p>
                    </li>
                </ol>
            </div>
        </div>
    </div>
</body>

</html>
<!--[if (gte IE 9)|!(IE)]><!-->
<script type="text/javascript" src="../../staticLib/jquery/jquery.min.js"></script>
<!--<![endif]-->
<script type="text/javascript" src="../../staticLib/handlebars/handlebars.min.js"></script>
<script type="text/javascript" src="../../staticLib/iscroll/iscroll-probe.js"></script>
<script type="text/javascript" src="../../staticLib/amazeui/amazeui.min.js"></script>
<script type="text/javascript" src="../../staticLib/raty/jquery.raty.js"></script>
<script type="text/javascript" src="../../staticJs/main.min.js?t=1"></script>
<script type="text/javascript" src="../../staticLib/layui/layui.js"></script>
<!-- ----------------------------静态文件-------------------------------------- -->
<script type="text/javascript" src="./lib/index.json"></script>
<script type="text/javascript">
    layui.use('element', function () {
        let element = layui.element; //导航的hover效果、二级菜单等功能,需要依赖element模块
        //监听导航点击
        element.on('nav(demo)', function (elem) {
            //console.log(elem)
            layer.msg(elem.text());
        });
    });
    layui.use('table', function () {
        var table = layui.table;
        table.render({
            elem: '#test'
            , url: './lib/index.json'
            , cellMinWidth: 80 //全局定义常规单元格的最小宽度,layui 2.2.1 新增
            , cols: [[
                { field: 'zizeng', title: '序号', templet: '#zizeng', align: 'center' }
                , { field: 'username', title: '预约号', align: 'center' } //width 支持:数字、百分比和不填写。你还可以通过 minWidth 参数局部定义当前单元格的最小宽度,layui 2.2.1 新增
                , { field: 'sex', title: ' 预约人', align: 'center' }
                , { field: 'city', title: '办事大厅', align: 'center' }
                , { field: 'sign', title: ' 预约业务', align: 'center' }
                , { field: 'classify', title: '预约时间', align: 'center' }
                , { field: 'state', title: '状态', align: 'center', templet: '#state' }
                , { fixed: 'right', title: '操作', toolbar: '#barDemo', width: 150, align: 'center' }
            ]]
            , parseData: function (res) { //将原始数据解析成 table 组件所规定的数据
                return {
                    "code": res.code, //解析接口状态
                    "data": res.data //解析数据列表
                };
            }
        });
        //监听行工具事件
        table.on('tool(test)', function (obj) {
            var data = obj.data;
            console.log(data)
            if (obj.event === 'del') {
            } else if (obj.event === 'edit') {

            }
        });
    });
</script>
<script type="text/html" id="zizeng">
    {{d.LAY_TABLE_INDEX+1}}
</script>
<script type="text/html" id="barDemo">
    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
</script>
<script type="text/html" id="state">
    {{#  if(d.state=='1'){ }}
        
    {{#  } else{}}
        
    {{#  } }}
</script>