|
@@ -129,12 +129,12 @@ To change this template use File | Settings | File Templates.
|
|
|
<li class="true"><a
|
|
|
href="${pageContext.request.contextPath}/person.html?usesrid=${users.id}">
|
|
|
<c:if test="${userSession.id==users.id}">我的发布</c:if>
|
|
|
- <c:if test="${userSession.id!=users.id}">TA的发布</c:if>(${pageInfo.total})</a>
|
|
|
+ <c:if test="${userSession.id!=users.id}">TA的发布</c:if>(${userscount})</a>
|
|
|
</li>
|
|
|
<li class="my-current"><a
|
|
|
href="${pageContext.request.contextPath}/download.html?usersid=${users.id}&type=1">
|
|
|
<c:if test="${userSession.id==users.id}">我的下载</c:if>
|
|
|
- <c:if test="${userSession.id!=users.id}">TA的下载</c:if>(${downloadlists.size()})</a>
|
|
|
+ <c:if test="${userSession.id!=users.id}">TA的下载</c:if>(${pageInfo.total})</a>
|
|
|
</li>
|
|
|
<li class="true"><a
|
|
|
href="${pageContext.request.contextPath}/collect.html?usersid=${users.id}&type=2">
|
|
@@ -159,7 +159,7 @@ To change this template use File | Settings | File Templates.
|
|
|
</span>
|
|
|
|
|
|
<span class="fl"><a
|
|
|
- href="${pageContext.request.contextPath}/person.html?usesrid=${users.id}.html"
|
|
|
+ href="${pageContext.request.contextPath}/person.html?usesrid=${users.id}"
|
|
|
class="mess-avatar"
|
|
|
style="background-image: url(${pageContext.request.contextPath}/${itme.users.tximg});"></a></span>
|
|
|
<div class="clearfix fl">
|
|
@@ -191,7 +191,8 @@ To change this template use File | Settings | File Templates.
|
|
|
</c:if>
|
|
|
<div class="mess-meta clearfix">
|
|
|
<c:forEach items="${itme.htype}" var="htypes">
|
|
|
- <a class="mess-tag select" id="${htypes.id}">#${htypes.title}</a>
|
|
|
+ <a class="mess-tag select" onclick="sechindex(${htypes.id})"
|
|
|
+ id="${htypes.id}">#${htypes.title}</a>
|
|
|
</c:forEach>
|
|
|
</div>
|
|
|
<div class="mess-meta mess-meta-cmt clearfix">
|
|
@@ -247,9 +248,9 @@ To change this template use File | Settings | File Templates.
|
|
|
<span id="loves">${itme.lovecount}</span></a>
|
|
|
<div class="mess-btn">
|
|
|
<c:if test="${itme.fileurl != null && itme.fileurl != ''}">
|
|
|
- <c:if test="${downloadlists != null && downloadlists != ''}">
|
|
|
+ <c:if test="${downloadlist != null && downloadlist != ''}">
|
|
|
<c:set var="download" value="1" scope="session"/>
|
|
|
- <c:forEach items="${downloadlists}" var="downloadlists">
|
|
|
+ <c:forEach items="${downloadlist}" var="downloadlists">
|
|
|
<c:if test="${downloadlists.forumid == itme.id}">
|
|
|
<c:set var="download" value="2" scope="session"/>
|
|
|
</c:if>
|
|
@@ -276,7 +277,7 @@ To change this template use File | Settings | File Templates.
|
|
|
</c:if>
|
|
|
</c:if>
|
|
|
</c:if>
|
|
|
- <c:if test="${downloadlists == null || downloadlists == ''}">
|
|
|
+ <c:if test="${downloadlist == null || downloadlist == ''}">
|
|
|
<c:if test="${itme.money == 0}">
|
|
|
<a class="my-download my-downloadbtn xiaz"
|
|
|
id="${itme.fileurl}" title="${itme.id}"><i
|
|
@@ -366,16 +367,16 @@ To change this template use File | Settings | File Templates.
|
|
|
<%--</li>--%>
|
|
|
</ul>
|
|
|
</div>
|
|
|
- <c:if test="${pageInfo.total > 10}">
|
|
|
- <div class="load-more">
|
|
|
- <div class="load-more-content" style="display: block;">
|
|
|
- <i class="iconfont"></i><input type="button" onclick="getfourm()"
|
|
|
- class="load-more-content-btn"
|
|
|
- value="加载更多">
|
|
|
- <input hidden value="${pageInfo.nextPage}" id="pagenum"/>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </c:if>
|
|
|
+ <%-- <c:if test="${pageInfo.total > 10}">--%>
|
|
|
+ <%-- <div class="load-more">--%>
|
|
|
+ <%-- <div class="load-more-content" style="display: block;">--%>
|
|
|
+ <%-- <i class="iconfont"></i><input type="button" onclick="getfourm()"--%>
|
|
|
+ <%-- class="load-more-content-btn"--%>
|
|
|
+ <%-- value="加载更多">--%>
|
|
|
+ <%-- <input hidden value="${pageInfo.nextPage}" id="pagenum"/>--%>
|
|
|
+ <%-- </div>--%>
|
|
|
+ <%-- </div>--%>
|
|
|
+ <%-- </c:if>--%>
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
@@ -494,6 +495,7 @@ To change this template use File | Settings | File Templates.
|
|
|
*/
|
|
|
function getfourm() {
|
|
|
var pagenum = $("#pagenum").val();
|
|
|
+ console.log(pagenum);
|
|
|
if (0 != pagenum) {
|
|
|
$.post("${pageContext.request.contextPath}/ajaxperson", {
|
|
|
"page": pagenum,
|
|
@@ -579,7 +581,7 @@ To change this template use File | Settings | File Templates.
|
|
|
if (x.htype != null && x.htype != '') {
|
|
|
for (var p = 0; p < x.htype.length; p++) {
|
|
|
if (x.htype[p] != null && x.htype[p] != '') {
|
|
|
- htypehtml = '<a class="mess-tag select" id=' + x.htype[p].id + ' >#' + x.htype[p].title + '</a>' + htypehtml;
|
|
|
+ htypehtml = '<a class="mess-tag select htypes" id=' + x.htype[p].id + ' >#' + x.htype[p].title + '</a>' + htypehtml;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -659,6 +661,15 @@ To change this template use File | Settings | File Templates.
|
|
|
$("#dload-urls").attr("title", $(this).attr('title'));
|
|
|
})
|
|
|
|
|
|
+ function sechindex(id) {
|
|
|
+ window.location.href = 'sechindex.html?typeid=' + id;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ $("body").on('click', ".htypes", function () {
|
|
|
+ var id = $(this).attr("id");
|
|
|
+ window.location.href = 'sechindex.html?typeid=' + id;
|
|
|
+ })
|
|
|
|
|
|
$("body").on('click', ".goum", function () {
|
|
|
$("#mibi").text($(this).attr('id') + "金币");
|