<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"%>
<%@ include file="/WEB-INF/include/taglib.jsp"%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <link rel="stylesheet" href="${ctxwxsta}/css/public.css">
    <link rel="stylesheet" href="${ctxwxsta}/css/basic.css">
    <script src="${ctxwxsta}/js/flexible.js"></script>
    <script src="/static/weixin/common/layer_mobile/layer.js"></script>
    <link rel="stylesheet" href="/static/weixin/common/layer_mobile/need/right.css">
    <title>下级管理</title>
    <style>
        .layui-layer-molv{
            font-size: 500px;
        }
    </style>
</head>
<body id="contain">
<div class="contain">
    <div class="bai-head">
        <span>下级管理</span>
        <a href="javascript:;" onclick="menuList()" class="left">
            <img src="${ctxwxsta}/images/head-left.png"/>
        </a>
    </div>
    <div class="administer-head">
        <input id="searchText"  type="text" placeholder="请输入分销商名称/联系人名/手机号码">
        <span class="head-remove"></span>
        <a href="javascript:;" id="search" onclick="serach()" class="head-serach">搜索</a>
    </div>
    <div id="wrapper" class="inferiors-cont adminuster-wed">
        <div class="administer" id="scroller">
            <ul id="admin-test">

            </ul>
            <div id="pullUp">
                <span class="pullUpLabel">上拉加载更多</span>
            </div>
            <p id="ert"></p>
        </div>
    </div>

</div>
<div class="inferiors-jia">
    <img src="${ctxwxsta}/images/jia.png" onclick="addPartner()"/>
</div>
<script src="${ctxwxsta}/js/jquery-1.8.3.min.js"></script>
<script src="${ctxwxsta}/js/fanhui.js"></script>
<script type="text/javascript" src="${ctxwxsta}/js/iscroll.js"></script>
<script type="text/javascript" src="${ctxwxsta}/js/partner_xia.js"></script>
<script type="text/javascript" src="${ctxwxsta}/js/basicOne.js"></script>

<script>
    var baseUrl = '${pageContext.request.contextPath }';
    $(document).ready(function(){
        getData(0);
    });
    function  addPartner(){
        window.location.href=baseUrl+"/weixin/partner/addPartner";
    }

   function serach() {
       var searchText=$("#searchText").val();
       $("#admin-test").html("");
       getData(0);
       myScroll.refresh();
   }
   function menuList(){
       window.location.href=baseUrl+"/weixin/primaryPage/listNew";
   }
    
</script>



</body>
</html>