• 主页面代码示例

    <!DOCTYPE html>
    <html>
    <head>
        <title>深入浅出带你领略前端魅力 - uiZjs</title>
        <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="0" />
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <meta name="apple-mobile-web-app-status-bar-style" content="black" />
        <meta name="format-detection" content="telephone=no" />
        <link href="/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
        <!--字体图标-->
        <link href="/js/layout.m.css" rel="stylesheet" />
        <!--移动端和PC端通用主样式-->
        <link href="/js/laycolor-min.css" rel="stylesheet" />
        <!--色彩配置-->
        <script src="/js/m.zepto.1.1.6.js"></script>
        <!--zepto文件-->
        <script src='/js/m.cselector.config.js'></script>
        <!--uizjs配置文件-->
        <script src="/js/m.cselector.1.0.js"></script>
        <!--uizjs主文件-->
        <script src="/js/m.controller.js"></script>
        <!--主控制器文件-->
    </head>
    <body>
        <div class="headers">
            <!--公共头部-->
            <header id="indexheader" style="display: none;"><!--首页头部-->
                <div class="topbar">
                    <div class="header-title">深入浅出带你领略前端魅力 - uiZjs</div>
                </div>
            </header>
            <header id="meheader" style="display: none;"><!--个人中心头部-->
                <div class="">
                    <a class="appmenus" href="?page=index"><i class="iconfont">&#xe67c;</i></a>
                </div>

            </header>

            <!--其他头部自行添加-->

        </div>
        <!--主容器-->
        <div class="view">
            
        </div>
        <div class="navs">
            <!--公共底部-->
            <nav id="indexnav" style="display: none;"><!--首页底部-->
                <a href="?page=sindex"><i class="iconfont">&#xe6d9;</i><span>去学</span></a>
                <a href="?page=index" class="homeimg">
                    <div>
                        <img src="/img/logo.png" /><span>去动</span>
                    </div>
                </a>
                <a href="?page=me"><i class="iconfont">&#xe6cc;</i><span>我</span></a>
            </nav>
            <nav id="orderinfonav" style="display: none;"><!--订单下单底部-->
                <div class="myinfobtnbox btnbox">
                    <a class="btna btn-org paybtn" style="display: none;">立即支付</a>
                </div>
            </nav>
            <!--其他底部自行添加-->
        </div>
    </body>
    </html>

继续阅读

    uiZjs