<%@ 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="/static/weixin/activity/css/emperor.css">
    <link rel="stylesheet" href="/static/weixin/activity/css/public.css">
    <script src="/static/weixin/activity/js/flexible.js"></script>
    <style>
        ul.activity-product li a span {
            word-break: normal;
            white-space: normal;
        }
        ul.activity-product li a h2 {
            word-break: normal;
            white-space: normal;
        }
    </style>
    <title>展会活动</title>
</head>
<body id="contain">
<div class="contain">
    <div class="bai-head">
        <span style="display: block;text-align: center">展会活动</span>
        <a href="/weixin/share/index" class="left">
            <img src="/static/weixin/activity/images/head-left.png"/>
        </a>
        <i id="chuang"  onclick="addActivity()">创建活动</i>
    </div>
    <div class="administer-head">
        <input type="text" id="searchText" placeholder="请输入活动名称/活动地址">
        <span class="head-remove"></span>
        <a href="javascript:;"  id="search" onclick="serach()" class="head-serach">搜索</a>
    </div>
    <div class="exhibition-activities">
        <ul class="exhibition-select">
            <li>
                <a href="/weixin/activity/activityListOnline">已上架</a>
                <div class="line"></div>
            </li>
            <li class="active">
                <a href="#">已下架</a>
                <div class="line"></div>
            </li>
        </ul>
    </div>
    <div id="wrapper" class="activity-ert">
        <div id="scroller">
            <ul class="activity-product" id="assigned-list">

            </ul>
            <div id="pullUp">
                <span class="pullUpLabel">上拉加载更多...</span>
            </div>
            <p id="ert"></p>
        </div>
    </div>
    <%--<div class="exhibition-add">--%>
        <%--<img src="/static/weixin/activity/images/jia.png"  onclick="addActivity()"/>--%>
    <%--</div>--%>
</div>


<script src="/static/weixin/activity/js/jquery-1.8.3.min.js"></script>
<script src="/static/weixin/activity/js/iscroll.js"></script>
<script src="/static/weixin/activity/js/emperor-two.js"></script>
<script src="/static/weixin/activity/js/emperor.js"></script>
<script src="${ctxwxsta}/js/g.js"></script>
<script>
    $(document).ready(function(){
        getData(0);
    });
    function serach() {
        var searchText=$("#searchText").val();
        $("#assigned-list").html("");
        getData(0);
        myScroll.refresh();
    }
    function addActivity() {
        localStorage.removeItem("add_activity_info");
        localStorage.removeItem("add_exhibitions");
        window.location.href="/weixin/activity/activityDetatil";
    }
</script>
</body>
</html>