两个list分别是allUserinfo 和 ifmutual
<c:forEach items="${allUserinfo }" var="userinfo" varStatus="loop">
<div class="container">
<div class="row">
<div class="col-md-12" >
<c:if test="${userinfo.headimage != '' }">
<img width="50" height="50" src="logos/${userinfo.headimage}" class="img-circle"/>
</c:if>
${userinfo.nick }
<c:if test="${ifmutual[loop.count-1] == 0}">
<a class="btn btn-danger cancle" href="javascript:checkDel('${userinfo.usertable_id }')">取消关注</a>
</c:if>
<c:if test="${ifmutual[loop.count-1] == 1}">
<a class="btn btn-default cancle" href="javascript:checkDel('${userinfo.usertable_id }')">互相关注</a>
</c:if>
</div>
</div>
</div>
</c:forEach>