<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8"%>
<%@ page isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%
    String basePath = request.getContextPath();
%>
<div class="table-responsive">
    <table class="table table-striped table-bordered table-hover " >
        <thead>
        <tr>
            <th colspan="6" >数据</th>
            <th colspan="5">API</th>
            <th colspan="5">微应用</th>
        </tr>
        <tr>
            <th>用户</th>
            <th>浏览量</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>

        <c:choose>
            <c:when test="${list!=null}">
                <c:forEach items="${list}" var="item" >
                    <tr>
                        <td>${item.userName}</td>
                        <td>${item.viewTimesData}</td>
                        <td>${item.followData}</td>
                        <td>${item.applyCountdata}</td>
                        <td></td>

                        <td>${item.viewTimesApi}</td>
                        <td>${item.followApi}</td>
                        <td>${item.applyCountApi}</td>
                        <td></td>

                        <td>${item.viewTimesMicroapp}</td>
                        <td>${item.followMicroapp}</td>
                        <td>${item.applyCountMicroapp}</td>
                        <td></td>
                    </tr>
                </c:forEach>
            </c:when>
            <c:otherwise>
                <tr>
                    <td colspan="4">无数据</td>
                </tr>
            </c:otherwise>
        </c:choose>
        </tbody>
    </table>
</div>
<jsp:include page="../../../common/admin/pager.jsp">
    <jsp:param name="pageNo" value="${pager.pageNo}"/>
    <jsp:param name="pageSize" value="${pager.pageSize}"/>
    <jsp:param name="total" value="${pager.total}"/>
</jsp:include>
<script type="text/javascript">

</script>