wangkaiyue %!s(int64=6) %!d(string=hai) anos
pai
achega
9a7dc7bb8f

+ 6 - 0
src/jfw/front/front.go

@@ -135,6 +135,8 @@ type Front struct {
 
 	//静态页面通用地址
 	staticPage xweb.Mapper `xweb:"/front/staticPage/(.+)"`
+	//数据服务页面
+	dataService xweb.Mapper `xweb:"/front/dataService.html"`
 }
 
 var sewx util.SimpleEncrypt //微信的加密方法
@@ -178,6 +180,10 @@ func (f *Front) Hpshare() error {
 	_, err := w.Write(pngdat)
 	return err
 }
+func (f *Front) DataService() {
+	f.T["logid"] = f.GetSession("userId")
+	f.Render("/pc/dataService.html", &f.T)
+}
 
 //
 func (f *Front) RecInof() error {

+ 29 - 31
src/jfw/modules/app/src/web/templates/weixin/historypush.html

@@ -382,36 +382,32 @@ function structureHtml(object){
 		if(obj.ca_visit==1){
 			visited="visited"
 		}
-		listhtml+=`<div class="tslist" words="`+mWords+`">
-						<div class="resnumb">
-							<div class="one">
-								<span class="xh `+visited+`">`+count+`.</span>
-							</div>
-							<div class="two bt-parent" style="padding-left:`+paddingLeft+`px;">
-								<a class="bt `+visited+`" target="_blank" eid="`+obj["_id"]+`" href="javascript:void(0);"  push_date="`+obj["ca_date"]+`" openlist_index="`+obj["ca_openlist_index"]+`">
-								`+title+`
-								</a>
-							</div>
-						</div>
-						<div style="clear:both;">
-						</div>
-						<div class="restime time-diff">
-						`+areaList+datatypeList+industryListname+showdateList+`
-						</div>
-						<div style="clear:both;"></div>
-					</div>`
+		listhtml+='<div class="tslist" words="'+mWords+'">'
+						+'<div class="resnumb">'
+							+'<div class="one">'
+								+'<span class="xh '+visited+'">'+count+'.</span>'
+							+'</div>'
+							+'<div class="two bt-parent" style="padding-left:'+paddingLeft+'px;">'
+								+'<a class="bt '+visited+'" target="_blank" eid="'+obj["_id"]+'" href="javascript:void(0);"  push_date="'+obj["ca_date"]+'" openlist_index="'+obj["ca_openlist_index"]+'">'+title+'</a>'
+							+'</div>'
+						+'</div>'
+						+'<div style="clear:both;">'
+						+'</div>'
+						+'<div class="restime time-diff">'+areaList+datatypeList+industryListname+showdateList+'</div>'
+						+'<div style="clear:both;"></div>'
+					+'</div>'
 					
-		tablehtml+=`<tr class="`+visited+`" onclick="tablejump('`+obj["_id"]+`','','`+mWords+`',$(this))" push_date="`+obj["ca_date"]+`" openlist_index="`+obj["ca_openlist_index"]+`">
-						<td>`+count+`</td>
-						<td>`+title+`</td>
-						<td>`+datatypeTable+`</td>
-						<td>`+budgetTable+`</td>
-						<td>`+buyerTable+`</td>
-						<td><div>`+opentimeTable+`</div></td>
-						<td class="tt-l"><div>`+winnerTable+`</div></td>
-						<td class="tt-r"><div>`+bidamountTable+`</div></td>
-						<td>`+showdateTable+`</td>
-					</tr>`
+		tablehtml+='<tr class="'+visited+'" onclick="tablejump($(this))"  data_id="'+obj["_id"]+'"  data_mWords="'+mWords+'"  push_date="'+obj["ca_date"]+'" openlist_index="'+obj["ca_openlist_index"]+'">'
+						+'<td>'+count+'</td>'
+						+'<td>'+title+'</td>'
+						+'<td>'+datatypeTable+'</td>'
+						+'<td>'+budgetTable+'</td>'
+						+'<td>'+buyerTable+'</td>'
+						+'<td><div>'+opentimeTable+'</div></td>'
+						+'<td class="tt-l"><div>'+winnerTable+'</div></td>'
+						+'<td class="tt-r"><div>'+bidamountTable+'</div></td>'
+						+'<td>'+showdateTable+'</td>'
+					+'</tr>'
 		
 	}
 	appendList($("<div>"+listhtml+"</div>"),tablehtml);
@@ -460,8 +456,10 @@ function appendList(content,tablehtml){
 	$(".findnull").hide();
 	$(".listcontent").show();
 }
-
-function tablejump(eid,h,sds,t){
+function tablejump(t){
+  var eid = t.attr("data_id");
+  var h = "";
+  var sds = t.attr("data_mWords");
 	var index = t.attr("openlist_index");//序列
 	var pdate =t.attr("push_date");//日期id
 	var isv=t.hasClass("visited");//是否为已读

+ 307 - 0
src/web/staticres/css/dataService.css

@@ -0,0 +1,307 @@
+.content{
+	padding: 100px 0px;
+	width:100%;
+	height:100%;
+	background:#FAFAFA;
+}
+
+.data {
+	display: flex;
+	padding-top: 76px;
+	width: 1200px;
+	margin: 0 auto;
+	opacity: 1;
+}
+
+.dataCorporation {
+	width: 380px;
+	height: 650px;
+	background: rgba(255, 255, 255, 1);
+	border: 1px solid rgba(230, 230, 230, 1);
+	opacity: 1;
+	border-radius: 12px;
+}
+
+.dataCorporation .top {
+	margin-top: 53px;
+	margin-left: 80px;
+}
+
+.dataCorporation .top span {
+	width: 168px;
+	height: 41px;
+	font-size: 28px;
+	font-family: "Microsoft YaHei",sans-serif;
+	font-weight: 500;
+	line-height: 41px;
+	color: rgba(51, 182, 202, 1);
+	opacity: 1;
+}
+
+.dataCorporation .top .left1 {
+	position: relative;
+	left: -3px;
+	top: 5px;
+}
+
+.dataCorporation .top .right1 {
+	position: relative;
+	top: 5px;
+	left: 3px;
+}
+
+.dataCorporation .kf {
+	margin-left: 150px;
+	margin-top: 40px;
+}
+
+.dataCorporation .kf p {
+	width: 80px;
+	height: 29px;
+	font-size: 20px;
+	font-family: "Microsoft YaHei",sans-serif;
+	font-weight: 400;
+	line-height: 29px;
+	color: rgba(102, 102, 102, 1);
+	opacity: 1;
+}
+
+.dataCorporation .jy {
+	margin-left: 30px;
+	margin-top: 15px;
+}
+
+.dataCorporation .jy p {
+	width: 337px;
+	height: 96px;
+	font-size: 16px;
+	font-family: "Microsoft YaHei",sans-serif;
+	font-weight: 400;
+	line-height: 24px;
+	color: rgba(102, 102, 102, 1);
+	opacity: 1;
+}
+
+.dataCorporation .apply {
+	margin-left: 150px;
+	margin-top: 40px;
+}
+
+.dataCorporation .apply p {
+	width: 80px;
+	height: 29px;
+	font-size: 20px;
+	font-family: "Microsoft YaHei",sans-serif;
+	font-weight: 400;
+	line-height: 29px;
+	color: rgba(102, 102, 102, 1);
+	opacity: 1;
+}
+
+.dataCorporation .rr {
+	margin-left: 30px;
+	margin-top: 15px;
+}
+
+.dataCorporation .rr p:nth-of-type(1) {
+	width: 316px;
+	height: 48px;
+	font-size: 16px;
+	font-family: "Microsoft YaHei",sans-serif;
+	font-weight: 400;
+	line-height: 24px;
+	color: rgba(102, 102, 102, 1);
+	opacity: 1;
+}
+
+.dataCorporation .rr p:nth-of-type(2) {
+	width: 259px;
+	height: 48px;
+	font-size: 16px;
+	font-family: "Microsoft YaHei",sans-serif;
+	font-weight: 400;
+	line-height: 24px;
+	color: rgba(102, 102, 102, 1);
+	opacity: 1;
+	margin-top: 20px;
+}
+
+.dataCorporation button {
+	width: 180px;
+	height: 46px;
+	background: rgba(255, 255, 255, 1);
+	border: 1px solid rgba(51, 182, 202, 1);
+	opacity: 1;
+	border-radius: 6px;
+	margin-left: 100px;
+	margin-top: 20px;
+}
+
+.dataCorporation button span {
+	width: 76px;
+	height: 21px;
+	font-size: 16px;
+	font-family: "Microsoft YaHei",sans-serif;
+	font-weight: 400;
+	line-height: 24px;
+	color: rgba(51, 182, 202, 1);
+	opacity: 1;
+}
+
+.dataExport {
+	width: 380px;
+	height: 650px;
+	background: rgba(255, 255, 255, 1);
+	border: 1px solid rgba(230, 230, 230, 1);
+	opacity: 1;
+	border-radius: 12px;
+	margin-left: 32px;
+}
+
+.dataExport .top {
+	margin-top: 53px;
+	margin-left: 80px;
+}
+
+.dataExport .top .left1 {
+	position: relative;
+	left: -3px;
+	top: 5px;
+}
+
+.dataExport .top .right1 {
+	position: relative;
+	top: 5px;
+	left: 3px;
+}
+
+.dataExport .top span {
+	width: 168px;
+	height: 41px;
+	font-size: 28px;
+	font-family: "Microsoft YaHei",sans-serif;
+	font-weight: 500;
+	line-height: 41px;
+	color: rgba(51, 182, 202, 1);
+	opacity: 1;
+}
+
+.dataExport .rr {
+	margin-left: 30px;
+	margin-top: 82px;
+}
+
+.dataExport .rr p {
+	width: 320px;
+	height: 113px;
+	font-size: 16px;
+	font-family: "Microsoft YaHei",sans-serif;
+	font-weight: 400;
+	line-height: 24px;
+	color: rgba(102, 102, 102, 1);
+	opacity: 1;
+}
+
+.dataExport button {
+	width: 180px;
+	height: 46px;
+	background: rgba(255, 255, 255, 1);
+	border: 1px solid rgba(51, 182, 202, 1);
+	opacity: 1;
+	border-radius: 6px;
+	margin-left: 100px;
+	margin-top: 215px;
+}
+
+.dataExport button span {
+	width: 76px;
+	height: 21px;
+	font-size: 16px;
+	font-family: "Microsoft YaHei",sans-serif;
+	font-weight: 400;
+	line-height: 24px;
+	color: rgba(51, 182, 202, 1);
+	opacity: 1;
+}
+
+.dataCustom {
+	width: 380px;
+	height: 650px;
+	background: rgba(255, 255, 255, 1);
+	border: 1px solid rgba(230, 230, 230, 1);
+	opacity: 1;
+	border-radius: 12px;
+	margin-left: 32px;
+}
+
+.dataCustom .top {
+	margin-top: 53px;
+	margin-left: 80px;
+}
+
+.dataCustom .top .left1 {
+	position: relative;
+	left: -3px;
+	top: 5px;
+}
+
+.dataCustom .top .right1 {
+	position: relative;
+	top: 5px;
+	left: 3px;
+}
+
+.dataCustom .top span {
+	width: 168px;
+	height: 41px;
+	font-size: 28px;
+	font-family: "Microsoft YaHei",sans-serif;
+	font-weight: 500;
+	line-height: 41px;
+	color: rgba(51, 182, 202, 1);
+	opacity: 1;
+}
+
+.dataCustom .rr {
+	margin-left: 30px;
+	margin-top: 82px;
+}
+
+.dataCustom .rr p {
+	width: 320px;
+	height: 113px;
+	font-size: 16px;
+	font-family: "Microsoft YaHei",sans-serif;
+	font-weight: 400;
+	line-height: 24px;
+	color: rgba(102, 102, 102, 1);
+	opacity: 1;
+}
+
+.dataCustom .tel p:nth-of-type(1) {
+	width: 320px;
+	height: 62px;
+	font-size: 16px;
+	font-family: "Microsoft YaHei",sans-serif;
+	font-weight: 400;
+	line-height: 24px;
+	color: rgba(204, 204, 204, 1);
+	opacity: 1;
+	position: relative;
+	left: 125px;
+	top: 212px;
+}
+
+.dataCustom .tel p:nth-of-type(2) {
+	width: 320px;
+	height: 62px;
+	font-size: 16px;
+	font-family: "Microsoft YaHei",sans-serif;
+	font-weight: 400;
+	line-height: 24px;
+	color: rgba(204, 204, 204, 1);
+	opacity: 1;
+	position: relative;
+	left: 110px;
+	top: 175px;
+}

BIN=BIN
src/web/staticres/images/dataService/left.png


BIN=BIN
src/web/staticres/images/dataService/right.png


+ 2 - 2
src/web/staticres/js/public-nav.js

@@ -9,7 +9,7 @@ $(function () {
 		    $thisWidth = $(this).width(),
 		    //当前宽度
 		$thisIndex = $(this).index();
-		if((typeof(myPageNavIsNormal)!="undefined"&&myPageNavIsNormal==true)||$href.indexOf("supsearch")>-1||$href.indexOf("bidsearchforent")>-1||$href.indexOf("promotional/topics")>-1||$href.indexOf("list")>-1||$href.indexOf("article/content")>-1||$href.indexOf("article/bdprivate")>-1||$href.indexOf("article/mailprivate")>-1||$href.indexOf("/jypc/toPushView")>-1||$href.indexOf("/jyblog")>-1||$href.indexOf("/dataExport")>-1){
+		if((typeof(myPageNavIsNormal)!="undefined"&&myPageNavIsNormal==true)||$href.indexOf("supsearch")>-1||$href.indexOf("bidsearchforent")>-1||$href.indexOf("promotional/topics")>-1||$href.indexOf("list")>-1||$href.indexOf("article/content")>-1||$href.indexOf("article/bdprivate")>-1||$href.indexOf("article/mailprivate")>-1||$href.indexOf("/jypc/toPushView")>-1||$href.indexOf("/jyblog")>-1||$href.indexOf("/dataExport")>-1||$href.indexOf("/front/dataService.html")>-1){
 			$navLi.find("a").css({"color":"#252627"});
 		}else{
 			$navLi.find("a").css({"color":"#fff"});
@@ -39,7 +39,7 @@ function seclectNavLi(el, $index) {
 	var $slider = $(".public-nav .jynav .slider");
 	/*获取当前这个元素的css*/
 	var $thisCss = el.eq($index).width();
-	if((typeof(myPageNavIsNormal)!="undefined"&&myPageNavIsNormal==true)||$href.indexOf("supsearch")>-1||$href.indexOf("bidsearchforent")>-1||$href.indexOf("promotional/topics")>-1||$href.indexOf("list")>-1||$href.indexOf("article/content")>-1||$href.indexOf("article/bdprivate")>-1||$href.indexOf("article/mailprivate")>-1||$href.indexOf("/jyblog")>-1||$href.indexOf("/dataExport")>-1){
+	if((typeof(myPageNavIsNormal)!="undefined"&&myPageNavIsNormal==true)||$href.indexOf("supsearch")>-1||$href.indexOf("bidsearchforent")>-1||$href.indexOf("promotional/topics")>-1||$href.indexOf("list")>-1||$href.indexOf("article/content")>-1||$href.indexOf("article/bdprivate")>-1||$href.indexOf("article/mailprivate")>-1||$href.indexOf("/jyblog")>-1||$href.indexOf("/dataExport")>-1||$href.indexOf("/front/dataService.html")>-1){
 		el.find("a").css({"color":"#252627"});
 	}else{
 		el.find("a").css({"color":"#fff"});

+ 8 - 4
src/web/templates/common/pchead.html

@@ -15,13 +15,17 @@
 				<li>
 					<a href="/jylab/supsearch/index.html">招标搜索</a>
 				</li>
-				<li>
+				<!--<li>
 					<a href="javascript:" datahref="/front/dataExport/toSieve" id="dataExport">数据导出</a>
+				</li>-->
+        <li>
+					<a href="/front/dataService.html">数据服务</a>
 				</li>
-				<li>
-<!--					<a target="_blank" href="https://open-jytest.jianyu360.cn">开放平台</a>-->
+<!--		<li>
+				<a target="_blank" href="https://open-jytest.jianyu360.cn">开放平台</a>
 					<a target="_blank" href="https://open.jianyu360.com">开放平台</a>
-				</li>
+				</li>-->
+        
 				<li class="slider"></li>
 			</ul>
 			<div class='useronline' id="login" style="float:left;"></div>

+ 181 - 0
src/web/templates/pc/dataService.html

@@ -0,0 +1,181 @@
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport"
+          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
+    <meta http-equiv="X-UA-Compatible" content="ie=edge">
+    <title>数据服务</title>
+    {{include "/common/pnc.html"}}
+    <script type="text/javascript" src="{{Msg "seo" "cdn"}}/pccss/n_rem.js?v={{Msg "seo" "version"}}"></script>
+    <script type="text/javascript" src="{{Msg "seo" "cdn"}}/js/public-nav.js?v={{Msg "seo" "version"}}"></script>
+    <link rel="stylesheet" href="{{Msg "seo" "cdn"}}/css/dataService.css?v={{Msg "seo" "version"}}">
+    <link href="{{Msg "seo" "cdn"}}/css/pc.css?v={{Msg "seo" "version"}}" rel="stylesheet">
+    <link rel="stylesheet" type="text/css" href="{{Msg "seo" "cdn"}}/pccss/reset_pc.css?v={{Msg "seo" "version"}}" />
+    <link rel="stylesheet" type="text/css" href="{{Msg "seo" "cdn"}}/pccss/public-nav-1200.css?v={{Msg "seo" "version"}}" />
+    <style>
+      .j-wx-code{
+      	width: 335px;
+      	height: 355px;
+      	background-color: #fff;
+      	-webkit-border-radius: 6px;
+      	   -moz-border-radius: 6px;
+      	        border-radius: 6px;
+      	position: relative;
+      	 
+      }
+      .j-wx-code>.code-close{
+      	width: 40px;
+      	height: 40px;
+      	position: absolute;
+      	right: -20px;
+      	top: -20px;
+      	cursor: pointer;
+      	-webkit-transition: all 1s;
+      	-o-transition: all 1s;
+      	-moz-transition: all 1s;
+      	transition: all 1s;
+      }
+      .j-wx-code>.code-close:hover{
+      	-webkit-transform: scale(1.2);
+      	   -moz-transform: scale(1.2);
+      	    -ms-transform: scale(1.2);
+      	     -o-transform: scale(1.2);
+      	        transform: scale(1.2);
+      }
+      .j-wx-code>.code-title{
+      	height: 82px;
+      	background:url(/images/j-wx-code-title.png) center center no-repeat;
+      	-webkit-animation: moveYun 15s infinite linear both;
+      	   -moz-animation: moveYun 15s infinite linear both;
+      	     -o-animation: moveYun 15s infinite linear both;
+      	        animation: moveYun 15s infinite linear both;
+      }
+      .j-wx-code>.code-wxm{
+      	text-align: center;
+      	margin-bottom: -6px;
+      	margin-top: -16px;
+      	
+      }
+      .j-wx-code>.code-wxm>img{
+      	width: 200px;
+      	height: 200px;
+      	margin-top: -5px;
+      }
+      .j-wx-code>.code-text{
+      	font: 16px "microsoft yahei";
+      	text-align: center;
+      	color: #252627;
+      }
+      .j-wx-code>.code-bottom{
+      	width: 470px;
+      	height: 211px;
+      	position: absolute;
+      	bottom: -113px;
+      	left: -73px;
+      	background: url(/images/j-wx-code-bottom.png) 0 0 no-repeat;
+      }
+      .j-wx-code>.code-bottom>img{
+      	position: absolute;
+      	left: 280px;
+      	top: 88px;
+      	-webkit-animation: codeWxMove 10s linear both;
+      	   -moz-animation: codeWxMove 10s linear both;
+      	     -o-animation: codeWxMove 10s linear both;
+      	        animation: codeWxMove 10s linear both;
+      	-webkit-animation-fill-mode:forwards;
+      	   -moz-animation-fill-mode:forwards;
+      	     -o-animation-fill-mode:forwards;
+      	        animation-fill-mode:forwards;
+      }
+    </style>
+</head>
+<body>
+    {{include "/common/pchead.html"}}
+    <div class="content">
+      <div class="data">
+          <div class="dataCorporation">
+              <div class="top">
+                  <img class="left1" src="/images/dataService/left.png" alt="">
+                  <span>免费数据合作</span>
+                  <img class="right1" src="/images/dataService/right.png" alt="">
+              </div>
+              <div class="kf">
+                  <p>开放平台</p>
+              </div>
+              <div class="jy">
+                  <p>
+                      剑鱼标讯开放平台,是基于剑鱼标讯的海量招
+                      投标数据,向企业征信、CRM系统、行业门户、
+                      行业APP、行业微信公众号等开发商,免费开放
+                      数据展示接口,换取剑鱼标讯品牌曝光。
+                  </p>
+              </div>
+              <div class="apply">
+                  <p>申请条件</p>
+              </div>
+              <div class="rr">
+                  <p>
+                      (1)  申请人具有PC网站、APP或微信公众平台
+                      等面向普通用户的互联网产品;
+                  </p>
+                  <p>
+                      (2)  申请人具有API接口的开发能力。
+                  </p>
+              </div>
+              <button onclick="window.location.href='https://open.jianyu360.com/'">
+                  <span>点击进入></span>
+              </button>
+          </div>
+          <div class="dataExport">
+              <div class="top">
+                  <img class="left1" src="/images/dataService/left.png" alt="">
+                  <span>数据自助导出</span>
+                  <img class="right1" src="/images/dataService/right.png" alt="">
+              </div>
+              <div class="rr">
+                  <p>
+                      剑鱼标讯提供全国招标投标数据的自助导出功能,
+                      企业可指定关键词、发布时间、地区或行业等筛
+                      选条件,剑鱼标讯以EXCEL表格形式提供数据。
+                  </p>
+              </div>
+              <button onclick="window.location.href='/front/dataExport/toSieve'">
+                  <span >点击进入></span>
+              </button>
+          </div>
+          <div class="dataCustom">
+              <div class="top">
+                  <img class="left1" src="/images/dataService/left.png" alt="">
+                  <span>数据定制服务</span>
+                  <img class="right1" src="/images/dataService/right.png" alt="">
+              </div>
+              <div class="rr">
+                  <p>
+                      剑鱼标讯提供招投标数据接口对接、招投标数据挖
+                      掘、招投标数据分析报告等定制服务,解决企业的
+                      商机获取、竞争对手跟踪、市场分析等多种应用场
+                      景需求。
+                  </p>
+              </div>
+              <div class="tel">
+                  <p>
+                      电话:400-108-6670
+                  </p>
+                  <p>
+                      邮箱:bd@topnet.net.cn
+                  </p>
+              </div>
+          </div>
+      </div>
+    </div>
+    {{include "/common/pcbottom.html"}}
+</body>
+<script>
+$(function(){
+  $("#public-nav").css("background","#fff")  
+  $(".logo img").attr("src","/images/swordfish/sf_01_new.png");
+  selcetIndexNav(4);
+  haslogin({{.T.logid}});
+})
+</script>
+</html>