|
@@ -0,0 +1,832 @@
|
|
|
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
|
|
+<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
|
|
|
+<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
|
|
+<%--
|
|
|
+Created by IntelliJ IDEA.
|
|
|
+User: edz
|
|
|
+Date: 2019-12-11
|
|
|
+Time: 10:05
|
|
|
+To change this template use File | Settings | File Templates.
|
|
|
+--%>
|
|
|
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
|
|
+<!DOCTYPE html>
|
|
|
+<html>
|
|
|
+<head>
|
|
|
+ <meta charset="utf-8">
|
|
|
+ <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
+ <meta http-equiv="window-target" content="_top">
|
|
|
+ <meta http-equiv="cache-control" content="max-age=600">
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
|
+ <meta name="keywords" content="">
|
|
|
+ <meta name="description" content="">
|
|
|
+ <link rel="stylesheet" href="css/amazeui.min.css"/>
|
|
|
+ <link rel="stylesheet" href="css/bootstrap.min.css">
|
|
|
+ <link rel="stylesheet" href="css/bootstrap-theme.min.css">
|
|
|
+ <link rel="stylesheet" type="text/css" href="css/main.63.css">
|
|
|
+ <link rel="stylesheet" type="text/css" href="css/react-datepicker.css">
|
|
|
+ <link rel="stylesheet" type="text/css" href="css/icon/iconfont.css">
|
|
|
+ <link rel="stylesheet" type="text/css" href="css/intro/introjs.css">
|
|
|
+ <!-- <script type="text/javascript">
|
|
|
+ var Sys = {};
|
|
|
+ var ua = navigator.userAgent.toLowerCase();
|
|
|
+ var s;
|
|
|
+ Sys.ie = (ua.match(/msie ([\d.]+)/) || ua.indexOf("rv:11.0") > -1) ? 1 : 0;
|
|
|
+ if (Sys.ie) {
|
|
|
+ alert("尊敬的用户,网站改版后,网站使用了新的WebGL,消息通讯技术,将无法支持Internet Explorer浏览器,推荐您使用最新的Google Chrome浏览器。如遇到QQ/微信第三方登录点击没反应的,请关闭浏览器弹窗/广告屏蔽,谢谢");
|
|
|
+ }
|
|
|
+ </script> -->
|
|
|
+ <title>汽车数据之家</title>
|
|
|
+ <meta name="description" content="" data-doc-meta="true">
|
|
|
+ <meta name="keywords" content="" data-doc-meta="true">
|
|
|
+</head>
|
|
|
+<body>
|
|
|
+<div>
|
|
|
+ <div style="height: 100%; position: relative;">
|
|
|
+ <!-- react-empty: 2 -->
|
|
|
+ <nav class="navbar navbar-fixed-top navstyle">
|
|
|
+ <div class="container-fluid" style="margin: 0px auto;">
|
|
|
+ <div class="navbar-header">
|
|
|
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
|
|
|
+ data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
|
|
|
+ <span class="tgl-bar"></span>
|
|
|
+ <span class="tgl-bar"></span>
|
|
|
+ <span class="tgl-bar"></span>
|
|
|
+ </button>
|
|
|
+ <a class="logo" href="index.html">汽车数据之家</a>
|
|
|
+ </div>
|
|
|
+ <div class="nav-menu clearfix">
|
|
|
+ <ul class="nav navbar-nav navbar-left">
|
|
|
+ <li><a href="fenlei.html?type=1">分类</a></li>
|
|
|
+ <li><a href="fenlei.html?type=2">软件</a></li>
|
|
|
+ </ul>
|
|
|
+ <c:if test="${userSession == null}">
|
|
|
+ <ul class="nav navbar-nav navbar-right">
|
|
|
+ <li style="padding-left: 15px;"><a href="login.html">登录</a></li>
|
|
|
+ <li style="padding-left: 15px;"><a href="register.html">注册</a></li>
|
|
|
+ </ul>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${userSession != null}">
|
|
|
+ <ul class="nav navbar-nav navbar-right">
|
|
|
+ <li><a href="chongzhi_line.html"><strong class="iconfont"
|
|
|
+ style="margin-right: 4px;"></strong>微币</a>
|
|
|
+ </li>
|
|
|
+ <li class="setlist"><a><strong class="iconfont"></strong>
|
|
|
+ <c:if test="${userSession.phone != null && userSession.phone != ''}">
|
|
|
+ ${userSession.phone}
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${userSession.phone == null || userSession.phone == ''}">
|
|
|
+ <c:if test="${userSession.email != null && userSession.email != ''}">
|
|
|
+ ${userSession.email}
|
|
|
+ </c:if>
|
|
|
+ </c:if>
|
|
|
+ </a>
|
|
|
+ <ul class="setlist-menu">
|
|
|
+ <em class="tri"></em><em class="tri-bg"></em>
|
|
|
+ <li><a href="person.html?usesrid=${userSession.id}">我的主页</a></li>
|
|
|
+ <li><a href="basic.html">账号管理</a></li>
|
|
|
+ <li onclick="exits()"><a>退出</a></li>
|
|
|
+ </ul>
|
|
|
+ </li>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+ </c:if>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </nav>
|
|
|
+
|
|
|
+ <div class="index-container index-bg">
|
|
|
+ <div class="index-content">
|
|
|
+ <div class="index-center">
|
|
|
+ <div class="sx_w">
|
|
|
+ <ul class="pbl-sels clearfix">
|
|
|
+ <%--<c:if test="${type == 1}">--%>
|
|
|
+ <li <c:if test="${id == 0}"> class="cur" </c:if>><a
|
|
|
+ href="fenlei.html?type=${type}">不限行业</a></li>
|
|
|
+ <c:forEach items="${htypes}" var="htypes">
|
|
|
+ <li <c:if test="${id == htypes.id }"> class="cur" </c:if>><a
|
|
|
+ href="fenlei.html?type=${type}&id=${htypes.id}">${htypes.title}</a></li>
|
|
|
+ </c:forEach>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ <div class="mess-search clearfix">
|
|
|
+ <div class="search-box" style="width:100%;">
|
|
|
+ <a class="search_btn">
|
|
|
+ <span class="search_text">全部</span><span class="caret"></span></a><input type="text"
|
|
|
+ value="${title}"
|
|
|
+ id="searchci"
|
|
|
+ class="sch-input sch-input2"
|
|
|
+ placeholder="输入感兴趣的关键字…"><a
|
|
|
+ onclick="ses()"><i
|
|
|
+ class="iconfont"
|
|
|
+ style="font-size: 18px;"></i></a>
|
|
|
+ <ul id="sch-cons" class="sch-cons" style="display: none;">
|
|
|
+ <li type="searchtype"><a class="sch-current" type="3">全部</a></li>
|
|
|
+ <li type="searchtype"><a type="1">标题</a></li>
|
|
|
+ <li type="searchtype"><a type="2">正文</a></li>
|
|
|
+ <%--<li type="searchtype"><a type="4">话题</a></li>--%>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+
|
|
|
+
|
|
|
+ <c:forEach items="${pageInfo.list}" var="itme">
|
|
|
+ <div class="mess-item box-shadow img-transition">
|
|
|
+ <div class="mess-author clearfix">
|
|
|
+ <span class="mess-title fl">
|
|
|
+ <span class="mess-title-left">
|
|
|
+ <span class="select">${itme.title}</span>
|
|
|
+ <c:if test="${itme.money != 0}">
|
|
|
+ <span class="mess-price"> <i
|
|
|
+ class="iconfont"></i>${itme.money}</span>
|
|
|
+ </c:if>
|
|
|
+ </span>
|
|
|
+ </span>
|
|
|
+
|
|
|
+ <span class="fl"><a
|
|
|
+ href="person.html?usesrid=${itme.users.id}"
|
|
|
+ class="mess-avatar"
|
|
|
+ style="background-image: url(${pageContext.request.contextPath}/${itme.users.tximg});"></a></span>
|
|
|
+ <div class="clearfix fl">
|
|
|
+ <div class="mess-meta-details fl">
|
|
|
+ <span>${itme.users.username}</span><span> | </span><span></span><span
|
|
|
+ class="addtime"><fmt:formatDate
|
|
|
+ value="${itme.addtime}"
|
|
|
+ pattern="yyyy-MM-dd"/></span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <p class="mess-content select">
|
|
|
+ ${itme.contexts}
|
|
|
+ </p>
|
|
|
+ <c:if test="${itme.imgurl != null && itme.imgurl != ''}">
|
|
|
+ <ul class="img-mini clearfix" data-am-widget="gallery"
|
|
|
+ data-am-gallery="{ pureview: true }">
|
|
|
+ <c:if test="${itme.imgurl.contains(',')}">
|
|
|
+ <c:set value="${fn:split(itme.imgurl, ',') }" var="arr"/>
|
|
|
+ <c:forEach items="${arr}" var="arrs">
|
|
|
+ <li><img src="${arrs}">
|
|
|
+ </li>
|
|
|
+ </c:forEach>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${!itme.imgurl.contains(',')}">
|
|
|
+ <li><img src="${itme.imgurl}">
|
|
|
+ </li>
|
|
|
+ </c:if>
|
|
|
+ </ul>
|
|
|
+ </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>
|
|
|
+ </c:forEach>
|
|
|
+ </div>
|
|
|
+ <div class="mess-meta mess-meta-cmt clearfix">
|
|
|
+ <a title="${itme.id}" style="display: block;" class="dz">
|
|
|
+ <c:if test="${userSession.uping.contains(',')}">
|
|
|
+ <c:set value="${fn:split(userSession.uping, ',') }" var="arr"/>
|
|
|
+ <c:set var="vals" value="1" scope="request"/>
|
|
|
+ <c:forEach items="${arr}" var="arrs">
|
|
|
+ <c:if test="${arrs == itme.id}">
|
|
|
+ <c:set var="vals" value="2" scope="request"/>
|
|
|
+ </c:if>
|
|
|
+ </c:forEach>
|
|
|
+ <c:if test="${vals == 2}">
|
|
|
+ <i class="iconfont icon-dianzan-selected"></i>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${vals == 1}">
|
|
|
+ <i class="iconfont icon-dianzan-normal"></i>
|
|
|
+ </c:if>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${!userSession.uping.contains(',')}">
|
|
|
+ <c:if test="${userSession.uping == itme.id}">
|
|
|
+ <i class="iconfont icon-dianzan-selected"></i>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${userSession.uping != itme.id}">
|
|
|
+ <i class="iconfont icon-dianzan-normal"></i>
|
|
|
+ </c:if>
|
|
|
+ </c:if>
|
|
|
+ <span id="dianz">${itme.countup}</span></a>
|
|
|
+ <a title="${itme.id}" class="sc">
|
|
|
+ <c:if test="${userSession.loveing.contains(',')}">
|
|
|
+ <c:set value="${fn:split(userSession.loveing, ',') }" var="arr"/>
|
|
|
+ <c:set var="vals" value="1" scope="request"/>
|
|
|
+ <c:forEach items="${arr}" var="arrs">
|
|
|
+ <c:if test="${arrs == itme.id}">
|
|
|
+ <c:set var="vals" value="2" scope="request"/>
|
|
|
+ </c:if>
|
|
|
+ </c:forEach>
|
|
|
+ <c:if test="${vals == 2}">
|
|
|
+ <i class="iconfont icon-shoucang"></i>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${vals == 1}">
|
|
|
+ <i class="iconfont icon-qupingfen"></i>
|
|
|
+ </c:if>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${!userSession.loveing.contains(',')}">
|
|
|
+ <c:if test="${userSession.loveing == itme.id}">
|
|
|
+ <i class="iconfont icon-shoucang"></i>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${userSession.loveing != itme.id}">
|
|
|
+ <i class="iconfont icon-qupingfen"></i>
|
|
|
+ </c:if>
|
|
|
+ </c:if>
|
|
|
+ <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:set var="download" value="1" scope="session"/>
|
|
|
+ <c:forEach items="${downloadlists}" var="downloadlists">
|
|
|
+ <c:if test="${downloadlists.forumid == itme.id}">
|
|
|
+ <c:set var="download" value="2" scope="session"/>
|
|
|
+ </c:if>
|
|
|
+ </c:forEach>
|
|
|
+ <c:if test="${download == 2}">
|
|
|
+ <a class="my-download my-downloadbtn xiaz"
|
|
|
+ id="${itme.fileurl}" title="${itme.id}"><i
|
|
|
+ class="iconfont icon-xiazai"></i>下载
|
|
|
+ ${itme.counts}</a>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${download != 2}">
|
|
|
+ <c:if test="${itme.money != 0}">
|
|
|
+ <a class="my-download buy-mdl goum" id="${itme.money}"
|
|
|
+ title="${itme.id}"><i
|
|
|
+ class="iconfont icon-goumai"></i>购买 ${itme.counts}
|
|
|
+ </a>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${itme.money == 0}">
|
|
|
+ <a class="my-download my-downloadbtn xiaz"
|
|
|
+ id="${itme.fileurl}"
|
|
|
+ title="${itme.id}"><i
|
|
|
+ class="iconfont icon-xiazai"></i>下载
|
|
|
+ ${itme.counts}</a>
|
|
|
+ </c:if>
|
|
|
+ </c:if>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${downloadlists == null || downloadlists == ''}">
|
|
|
+ <c:if test="${itme.money == 0}">
|
|
|
+ <a class="my-download my-downloadbtn xiaz"
|
|
|
+ id="${itme.fileurl}" title="${itme.id}"><i
|
|
|
+ class="iconfont icon-xiazai"></i>下载
|
|
|
+ ${itme.counts}</a>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${itme.money != 0}">
|
|
|
+ <a class="my-download buy-mdl goum" id="${itme.money}"
|
|
|
+ title="${itme.id}"><i
|
|
|
+ class="iconfont icon-goumai"></i>购买 ${itme.counts}
|
|
|
+ </a>
|
|
|
+ </c:if>
|
|
|
+ </c:if>
|
|
|
+ </c:if>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </c:forEach>
|
|
|
+ </div>
|
|
|
+ <div class="vx-timeline" style="display: block;">
|
|
|
+ <ul id="timeline">
|
|
|
+ <li
|
|
|
+ <c:if test="${data == '' || data == null}">class="current"</c:if>
|
|
|
+ onclick="searchdata('','12')"><a>最近</a></li>
|
|
|
+ <li <c:if test="${data == '2019'}">class="current"</c:if>><a>2019</a>
|
|
|
+ <ul class="vx-month">
|
|
|
+ <li onclick="searchdata('2019','12')"
|
|
|
+ <c:if test="${ri == '12'}">class="current"</c:if>><a><em
|
|
|
+ class="line-t"></em><em class="dot"></em><em
|
|
|
+ class="line-b"></em><span>12月</span></a></li>
|
|
|
+ <c:forEach items="${riqi}" var="rq">
|
|
|
+ <li onclick="searchdata('2019','${rq}')"
|
|
|
+ <c:if test="${ri == rq}">class="current"</c:if>><a><em
|
|
|
+ class="line-t"></em><em
|
|
|
+ class="dot"></em><em class="line-b"></em><span>${rq}月</span></a>
|
|
|
+ </li>
|
|
|
+ </c:forEach>
|
|
|
+ </ul>
|
|
|
+ </li>
|
|
|
+ <li <c:if test="${data == '2018'}">class="current"</c:if>><a>2018</a>
|
|
|
+ <ul class="vx-month">
|
|
|
+ <li onclick="searchdata('2018','12')"
|
|
|
+ <c:if test="${ri == 12}">class="current"</c:if>><a><em class="line-t"></em><em
|
|
|
+ class="dot"></em><em class="line-b"></em><span>12月</span></a>
|
|
|
+ </li>
|
|
|
+ <c:forEach items="${riqi}" var="rq">
|
|
|
+ <li onclick="searchdata('2018','${rq}')"
|
|
|
+ <c:if test="${ri == rq}">class="current"</c:if>><a><em
|
|
|
+ class="line-t"></em><em
|
|
|
+ class="dot"></em><em class="line-b"></em><span>${rq}月</span></a>
|
|
|
+ </li>
|
|
|
+ </c:forEach>
|
|
|
+ </ul>
|
|
|
+ </li>
|
|
|
+ <li <c:if test="${data == '2017'}">class="current"</c:if>><a>2017</a>
|
|
|
+ <ul class="vx-month">
|
|
|
+ <li onclick="searchdata('2017','12')"
|
|
|
+ <c:if test="${ri == 12}">class="current"</c:if>><a><em class="line-t"></em><em
|
|
|
+ class="dot"></em><em class="line-b"></em><span>12月</span></a>
|
|
|
+ </li>
|
|
|
+ <c:forEach items="${riqi}" var="rq">
|
|
|
+ <li onclick="searchdata('2017','${rq}')"
|
|
|
+ <c:if test="${ri == rq}">class="current"</c:if>><a><em
|
|
|
+ class="line-t"></em><em
|
|
|
+ class="dot"></em><em class="line-b"></em><span>${rq}月</span></a>
|
|
|
+ </li>
|
|
|
+ </c:forEach>
|
|
|
+ </ul>
|
|
|
+ </li>
|
|
|
+ <li <c:if test="${data == '2016'}">class="current"</c:if>><a>2016</a>
|
|
|
+ <ul class="vx-month">
|
|
|
+ <li onclick="searchdata('2016','12')"
|
|
|
+ <c:if test="${ri == 12}">class="current"</c:if>><a><em class="line-t"></em><em
|
|
|
+ class="dot"></em><em class="line-b"></em><span>12月</span></a>
|
|
|
+ </li>
|
|
|
+ <c:forEach items="${riqi}" var="rq">
|
|
|
+ <li onclick="searchdata('2016','${rq}')"
|
|
|
+ <c:if test="${ri == rq}">class="current"</c:if>><a><em
|
|
|
+ class="line-t"></em><em
|
|
|
+ class="dot"></em><em class="line-b"></em><span>${rq}月</span></a>
|
|
|
+ </li>
|
|
|
+ </c:forEach>
|
|
|
+ </ul>
|
|
|
+ </li>
|
|
|
+ <li <c:if test="${data == '2015'}">class="current"</c:if>><a>2015</a>
|
|
|
+ <ul class="vx-month">
|
|
|
+ <li onclick="searchdata('2015','12')"
|
|
|
+ <c:if test="${ri == 12}">class="current"</c:if>><a><em class="line-t"></em><em
|
|
|
+ class="dot"></em><em class="line-b"></em><span>12月</span></a>
|
|
|
+ </li>
|
|
|
+ <c:forEach items="${riqi}" var="rq">
|
|
|
+ <li onclick="searchdata('2015','${rq}')"
|
|
|
+ <c:if test="${ri == rq}">class="current"</c:if>><a><em
|
|
|
+ class="line-t"></em><em
|
|
|
+ class="dot"></em><em class="line-b"></em><span>${rq}月</span></a>
|
|
|
+ </li>
|
|
|
+ </c:forEach>
|
|
|
+ </ul>
|
|
|
+ </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>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="bottom">
|
|
|
+ <div id="footer">
|
|
|
+ <footer class="footcopy">
|
|
|
+ <div>
|
|
|
+ <span>Copyright© 2012 - 2017 汽车数据之家 All Rights Reserved.</span>
|
|
|
+ <a href="#" target="_blank">站点地图</a>
|
|
|
+ <a href="#" target="_blank"> 联系我们 </a>
|
|
|
+ <a href="#" target="_blank">沪ICP备14053256号</a>
|
|
|
+
|
|
|
+ <a href="#" target="_blank">站长统计</a>
|
|
|
+ </div>
|
|
|
+ </footer>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+</div>
|
|
|
+</div>
|
|
|
+
|
|
|
+<div class="dialogbox dialogboxbuy" style="display:none;">
|
|
|
+ <div class="filter">
|
|
|
+ </div>
|
|
|
+ <div class="publish-diag dld-diag clearfix">
|
|
|
+ <div>
|
|
|
+ <p class="sm-title">
|
|
|
+ 付费下载
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <i class="iconfont close"></i>
|
|
|
+ <div class="dld-content">
|
|
|
+ <span id="mibi"></span>
|
|
|
+ <p style="color: rgb(204, 204, 204);">
|
|
|
+ 支付后即可查看所有信息及下载附件
|
|
|
+ <%--,文件大小(22.31MB)--%>
|
|
|
+ </p>
|
|
|
+ <p style="color: rgb(66, 165, 219);">
|
|
|
+ 注:您购买的图纸,90个自然日内可以重复下载,超过时间后,普通会员或VIP均需重新购买,请妥善保存图纸,谢谢!<br>
|
|
|
+ 此条款从汽车数据之家开办之日至今未改变,请知悉!
|
|
|
+ </p>
|
|
|
+ <p style="color: rgb(66, 165, 219);">
|
|
|
+ </p>
|
|
|
+ <p style="color: rgb(66, 165, 219); display:none;" class="pay_shibai">
|
|
|
+ <a href="${pageContext.request.contextPath}/chongzhi_line.html">购买失败,余额不足,请先充值</a>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <div class="mess-btn dload-btn">
|
|
|
+ <input type="button" class="go_pay" id="gotozf" onclick="gotozf(this)" value="去支付">
|
|
|
+ <a type="button" id="dload-url" disabled="" download class="null-url" value="下载">下载</a>
|
|
|
+ </div>
|
|
|
+ <div style="margin-top: 10px;">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+
|
|
|
+
|
|
|
+<div class="dialogbox dialogboxdown" style="display:none;">
|
|
|
+ <div class="filter">
|
|
|
+ </div>
|
|
|
+ <div class="publish-diag dld-diag clearfix">
|
|
|
+ <div>
|
|
|
+ <p class="sm-title">
|
|
|
+ 免费下载
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <i class="iconfont close"></i>
|
|
|
+ <div class="dld-content">
|
|
|
+ <p style="color: rgb(204, 204, 204);">
|
|
|
+ 支付后即可查看所有信息及下载附件
|
|
|
+ <%--,文件大小(188.15KB)--%>
|
|
|
+ </p>
|
|
|
+ <p style="color: rgb(66, 165, 219);">
|
|
|
+ </p>
|
|
|
+ <p style="color: rgb(66, 165, 219);">
|
|
|
+ <a href="/setting/currency"></a>
|
|
|
+ </p>
|
|
|
+ </div>
|
|
|
+ <div class="mess-btn dload-btn">
|
|
|
+ <a type="button" id="dload-urls" onclick="addcounts(this)" value="下载">下载</a>
|
|
|
+ </div>
|
|
|
+ <div style="margin-top: 10px;">
|
|
|
+ <!-- react-empty: 5894 -->
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+
|
|
|
+<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.min.js"></script>
|
|
|
+<script type="text/javascript" src="${pageContext.request.contextPath}/js/bootstrap.min.js"></script>
|
|
|
+<script type="text/javascript" src="${pageContext.request.contextPath}/js/spark-md5.min.js"></script>
|
|
|
+<script type="text/javascript" src="${pageContext.request.contextPath}/js/animation.js"></script>
|
|
|
+<script type="text/javascript" src="${pageContext.request.contextPath}/js/tween.js"></script>
|
|
|
+<script type="text/javascript" src="${pageContext.request.contextPath}/js/amazeui.js"></script>
|
|
|
+<script src="${pageContext.request.contextPath}/static/js/layer/layer.js" type="text/javascript"></script>
|
|
|
+
|
|
|
+<script type="text/javascript">
|
|
|
+
|
|
|
+ function searchdata(data, riqi) {
|
|
|
+ window.location.href = 'person.html?usesrid=' + '${users.id}' + '&data=' + data + '&ri=' + riqi;
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ var downloadarr = new Array();
|
|
|
+ <c:forEach items='${downloadlists}' var="download">
|
|
|
+ downloadarr.push('${download}');
|
|
|
+ </c:forEach>
|
|
|
+
|
|
|
+ var uping = '${userSession.uping}';
|
|
|
+ var loveing = '${userSession.loveing}';
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 分页ajax
|
|
|
+ */
|
|
|
+ function getfourm() {
|
|
|
+ var pagenum = $("#pagenum").val();
|
|
|
+ if (0 != pagenum) {
|
|
|
+ $.post("${pageContext.request.contextPath}/ajaxperson", {
|
|
|
+ "page": pagenum,
|
|
|
+ "rows": 2,
|
|
|
+ "types": 1,
|
|
|
+ "usersid": '${users.id}',
|
|
|
+ }, function (data) {
|
|
|
+ if (data.is) {
|
|
|
+ $("#pagenum").val(data.data.nextPage);
|
|
|
+ var html = '';
|
|
|
+ var yhtml = $(".list-item").html();
|
|
|
+ var list = data.data.list;
|
|
|
+ console.log(list);
|
|
|
+ for (var i = 0; i < list.length; i++) {
|
|
|
+ var moneyhtml = '';
|
|
|
+ var imgurlhtml = '';
|
|
|
+ var htypehtml = '';
|
|
|
+ var upinghtml = '';
|
|
|
+ var loveinghtml = '';
|
|
|
+ var fileurlhtml = '';
|
|
|
+ var x = list[i];
|
|
|
+ if (uping.indexOf(",")) {
|
|
|
+ var uplist = uping.split(",");
|
|
|
+ var vals = 1;
|
|
|
+ for (var l = 0; l < uplist.length; l++) {
|
|
|
+ var k = uplist[l];
|
|
|
+ if (k == x.id) {
|
|
|
+ vals = 2;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (vals == 2) {
|
|
|
+ upinghtml = '<i class="iconfont icon-dianzan-selected"></i>';
|
|
|
+ } else {
|
|
|
+ upinghtml = ' <i class="iconfont icon-dianzan-normal"></i>';
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ if (uping == x.id) {
|
|
|
+ upinghtml = '<i class="iconfont icon-dianzan-selected"></i>';
|
|
|
+ } else {
|
|
|
+ upinghtml = ' <i class="iconfont icon-dianzan-normal"></i>';
|
|
|
+ }
|
|
|
+ }
|
|
|
+ upinghtml = upinghtml + '<span id="dianz">' + x.countup + '</span></a>';
|
|
|
+ if (loveing.indexOf(",")) {
|
|
|
+ var lovelist = loveing.split(",");
|
|
|
+ var vals = 1;
|
|
|
+ for (var y = 0; y < lovelist.length; y++) {
|
|
|
+ var e = lovelist[y];
|
|
|
+ if (e == x.id) {
|
|
|
+ vals = 2;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (vals == 2) {
|
|
|
+ loveinghtml = '<i class="iconfont icon-shoucang"></i>';
|
|
|
+ } else {
|
|
|
+ loveinghtml = '<i class="iconfont icon-qupingfen"></i>';
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ if (loveing == x.id) {
|
|
|
+ loveinghtml = '<i class="iconfont icon-shoucang"></i>';
|
|
|
+ } else {
|
|
|
+ loveinghtml = '<i class="iconfont icon-qupingfen"></i>';
|
|
|
+ }
|
|
|
+ }
|
|
|
+ loveinghtml = loveinghtml + '<span id="loves">' + x.lovecount + '</span></a>';
|
|
|
+ var dateTime = getMyDate(parseInt(x.addtime));
|
|
|
+ if (x.money != 0) {
|
|
|
+ moneyhtml = '<span class="mess-price"> <i class="iconfont"></i>' + x.money + '</span>'
|
|
|
+ }
|
|
|
+ if (x.imgurl != '' && x.imgurl != null) {
|
|
|
+ imgurlhtml = '<ul class="img-mini clearfix" data-am-widget="gallery" data-am-gallery="{ pureview: true }">'
|
|
|
+ if (x.imgurl.indexOf(',')) {
|
|
|
+ var arr = x.imgurl.split(",");
|
|
|
+ for (var j = 0; j < arr.length; j++) {
|
|
|
+ var t = arr[j];
|
|
|
+ imgurlhtml = imgurlhtml + '<li><img src="' + t + '"></li>'
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ imgurlhtml = imgurlhtml + '<li><img src="' + x.imgurl + '"></li>'
|
|
|
+ }
|
|
|
+ imgurlhtml = imgurlhtml + '</ul>';
|
|
|
+ }
|
|
|
+ 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;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (x.fileurl != null && x.fileurl != '') {
|
|
|
+ if (downloadarr != null && downloadarr != '') {
|
|
|
+ var vals = 1;
|
|
|
+ for (var q = 0; q < downloadarr.length; q++) {
|
|
|
+ var w = downloadarr[q];
|
|
|
+ if (w.forumid == x.id) {
|
|
|
+ vals = 2;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ if (vars = 2) {
|
|
|
+ fileurlhtml = '<a class="my-download my-downloadbtn xiaz" id="' + x.fileurl + '" title=' + x.id + '><i class="iconfont icon-xiazai"></i>下载 ' + x.counts + '</a>';
|
|
|
+ } else {
|
|
|
+ if (x.money == 0) {
|
|
|
+ fileurlhtml = '<a class="my-download my-downloadbtn xiaz" id="' + x.fileurl + '" title=' + x.id + '><i class="iconfont icon-xiazai"></i>下载 ' + x.counts + '</a>';
|
|
|
+ } else {
|
|
|
+ fileurlhtml = '<a class="my-download buy-mdl goum" id="' + x.money + '" title="' + x.id + '" ><i class="iconfont icon-goumai"></i>购买 ' + x.counts + ' </a>'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ if (x.money == 0) {
|
|
|
+ fileurlhtml = '<a class="my-download my-downloadbtn xiaz" id="' + x.fileurl + '" title=' + x.id + '><i class="iconfont icon-xiazai"></i>下载 ' + x.counts + '</a>';
|
|
|
+ } else {
|
|
|
+ fileurlhtml = '<a class="my-download buy-mdl goum" id="' + x.money + '" title="' + x.id + '" ><i class="iconfont icon-goumai"></i>购买 ' + x.counts + ' </a>'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ html = '<div class="mess-item box-shadow img-transition">' +
|
|
|
+ '<div class="mess-author clearfix"><span class="mess-title fl">' +
|
|
|
+ '<span class="mess-title-left"><span class="select">' + x.title + '</span>' + moneyhtml +
|
|
|
+ '</span></span><span class="fl">' +
|
|
|
+ '<a href="person.html?usesrid=' + x.users.id + '" class="mess-avatar" style="background-image: url(' + x.users.tximg + ');"></a></span>' +
|
|
|
+ '<div class="clearfix fl"><div class="mess-meta-details fl">' +
|
|
|
+ '<span>' + x.users.username + '</span><span> | </span><span class="addtime">' + dateTime + '</span>' +
|
|
|
+ ' </div></div></div><p class="mess-content select">' + x.contexts + '</p>' + imgurlhtml +
|
|
|
+ '<div class="mess-meta clearfix">' + htypehtml + '</div>' +
|
|
|
+ '<div class="mess-meta mess-meta-cmt clearfix"><a title="' + x.id + '" style="display: block;" class="dz">' + upinghtml +
|
|
|
+ '<a class="sc" title=' + x.id + '>' + loveinghtml + '<div class="mess-file-tree no-response"><div class="no-response">' +
|
|
|
+ '<p class="no-response"><i class="iconfont icon-fujian no-response"></i>附件信息</p>' +
|
|
|
+ '</div></div><div class="mess-btn">' + fileurlhtml + '</div></div></div>' + html;
|
|
|
+ }
|
|
|
+ $(".list-item").html(yhtml + html);
|
|
|
+ }
|
|
|
+ }, "json")
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ function getMyDate(str) {
|
|
|
+ var oDate = new Date(str),
|
|
|
+ oYear = oDate.getFullYear(),
|
|
|
+ oMonth = oDate.getMonth() + 1,
|
|
|
+ oDay = oDate.getDate(),
|
|
|
+ oHour = oDate.getHours(),
|
|
|
+ oTime = oYear + '-' + addZero(oMonth) + '-' + addZero(oDay)
|
|
|
+ return oTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ //补零操作
|
|
|
+ function addZero(num) {
|
|
|
+ if (parseInt(num) < 10) {
|
|
|
+ num = '0' + num;
|
|
|
+ }
|
|
|
+ return num;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 退出登录
|
|
|
+ */
|
|
|
+ function exits() {
|
|
|
+ $.post("exits", {}, function (data) {
|
|
|
+ window.location.href = 'login.html';
|
|
|
+ });
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 下载
|
|
|
+ * fileurl 文件路径
|
|
|
+ */
|
|
|
+ $("body").on('click', ".xiaz", function () {
|
|
|
+ $(".dialogboxdown").show();
|
|
|
+ $("#dload-urls").attr("href", $(this).attr("id"));
|
|
|
+ $("#dload-urls").attr("download", $(this).attr('id'));
|
|
|
+ $("#dload-urls").attr("title", $(this).attr('title'));
|
|
|
+ })
|
|
|
+
|
|
|
+
|
|
|
+ $("body").on('click', ".goum", function () {
|
|
|
+ $("#mibi").text($(this).attr('id') + "金币");
|
|
|
+ $("#gotozf").attr("title", $(this).attr('title'));
|
|
|
+ $(".dialogboxbuy").show();
|
|
|
+ })
|
|
|
+
|
|
|
+
|
|
|
+ var users = '${userSession}';
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 下载文件
|
|
|
+ */
|
|
|
+ function addcounts(obj) {
|
|
|
+ if (users != null) {
|
|
|
+ $.post("${pageContext.request.contextPath}/downloadForum", {"id": $(obj).attr("title")}, function (data) {
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ layer.msg("请登录后操作");
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 支付
|
|
|
+ */
|
|
|
+ function gotozf(obj) {
|
|
|
+ var title = $(obj).attr("title");
|
|
|
+ $.post("${pageContext.request.contextPath}/payforum", {"id": title}, function (data) {
|
|
|
+ if (data.is) {
|
|
|
+ layer.msg(data.msg, {time: 1000});
|
|
|
+ // window.location.href = window.location.href;
|
|
|
+ } else {
|
|
|
+ console.log(data.msg)
|
|
|
+ if (data.msg == '余额不足!') {
|
|
|
+ $(".pay_shibai").show();
|
|
|
+ } else if (data.msg == '请登录后操作!') {
|
|
|
+ layer.msg(data.msg);
|
|
|
+ } else if (data.msg = '该产品已购买') {
|
|
|
+ layer.msg('该产品已购买过,请直接点击下载');
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }, "json");
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 搜索
|
|
|
+ */
|
|
|
+ function ses() {
|
|
|
+ var typee = '${type}';
|
|
|
+ var val = $("#searchci").val();
|
|
|
+ var type = $(".sch-current").attr("type");
|
|
|
+ if (typee != null && typee != '') {
|
|
|
+ window.location.href = "fenlei.html?title=" + val + "&types=" + type + '&type=' + typee;
|
|
|
+ } else {
|
|
|
+ window.location.href = "fenlei.html?title=" + val + "&types=" + type;
|
|
|
+ }
|
|
|
+
|
|
|
+ // if (val == null || val == '') {
|
|
|
+ // layer.msg("关键词不能为空");
|
|
|
+ // return false;
|
|
|
+ // }
|
|
|
+ }
|
|
|
+
|
|
|
+ $(function () {
|
|
|
+
|
|
|
+ $(".setlist").click(function () {
|
|
|
+ if ($(this).children(".setlist-menu").hasClass("open")) {
|
|
|
+ $(this).children(".setlist-menu").removeClass("open")
|
|
|
+ } else {
|
|
|
+ $(this).children(".setlist-menu").addClass("open")
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+ $('body').on("click", '.dz', function () {
|
|
|
+ if ($(this).children("i").hasClass("icon-dianzan-selected")) {
|
|
|
+ var that = $(this);
|
|
|
+ $.post("${pageContext.request.contextPath}/addcountForum", {
|
|
|
+ "id": $(this).attr("title"),
|
|
|
+ "type": 1,
|
|
|
+ "status": 2
|
|
|
+ }, function (data) {
|
|
|
+ if (data.is) {
|
|
|
+ that.find('span').text(data.data);
|
|
|
+ that.children("i").removeClass("icon-dianzan-selected")
|
|
|
+ that.children("i").addClass("icon-dianzan-normal");
|
|
|
+ } else {
|
|
|
+ layer.msg(data.msg);
|
|
|
+ }
|
|
|
+ }, 'json')
|
|
|
+ } else {
|
|
|
+ var that = $(this);
|
|
|
+ $.post("${pageContext.request.contextPath}/addcountForum", {
|
|
|
+ "id": $(this).attr("title"),
|
|
|
+ "type": 1,
|
|
|
+ "status": 1
|
|
|
+ }, function (data) {
|
|
|
+ if (data.is) {
|
|
|
+ that.find('span').text(data.data);
|
|
|
+ that.children("i").addClass("icon-dianzan-selected");
|
|
|
+ that.children("i").removeClass("icon-dianzan-normal");
|
|
|
+ } else {
|
|
|
+ layer.msg(data.msg);
|
|
|
+ }
|
|
|
+ }, 'json')
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+ $('body').on("click", '.sc', function () {
|
|
|
+ if ($(this).children("i").hasClass("icon-shoucang")) {
|
|
|
+ var that = $(this);
|
|
|
+ $.post("${pageContext.request.contextPath}/addcountForum", {
|
|
|
+ "id": $(this).attr("title"),
|
|
|
+ "type": 2,
|
|
|
+ "status": 2
|
|
|
+ }, function (data) {
|
|
|
+ if (data.is) {
|
|
|
+ that.find('span').text(data.data);
|
|
|
+ that.children("i").removeClass("icon-shoucang")
|
|
|
+ that.children("i").addClass("icon-qupingfen")
|
|
|
+ } else {
|
|
|
+ layer.msg(data.msg);
|
|
|
+ }
|
|
|
+ }, 'json')
|
|
|
+ } else {
|
|
|
+ var that = $(this);
|
|
|
+ $.post("${pageContext.request.contextPath}/addcountForum", {
|
|
|
+ "id": $(this).attr("title"),
|
|
|
+ "type": 2,
|
|
|
+ "status": 1
|
|
|
+ }, function (data) {
|
|
|
+ if (data.is) {
|
|
|
+ that.find('span').text(data.data);
|
|
|
+ that.children("i").addClass("icon-shoucang");
|
|
|
+ that.children("i").removeClass("icon-qupingfen");
|
|
|
+ } else {
|
|
|
+ layer.msg(data.msg);
|
|
|
+ }
|
|
|
+ }, 'json')
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ $("#timeline li").click(function () {
|
|
|
+ $(this).addClass("current");
|
|
|
+ $(this).siblings().removeClass("current");
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ $(".close").click(function () {
|
|
|
+ $(".dialogboxbuy").hide();
|
|
|
+ });
|
|
|
+
|
|
|
+
|
|
|
+ $(".close").click(function () {
|
|
|
+ $(".dialogboxdown").hide();
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
+ $(".dload-btn").click(function () {
|
|
|
+ $(".dialogboxdown").hide();
|
|
|
+
|
|
|
+ });
|
|
|
+ })
|
|
|
+</script>
|
|
|
+</body>
|
|
|
+</html>
|