|
@@ -1,5 +1,40 @@
|
|
|
<html>
|
|
|
<head>
|
|
|
+ <script>
|
|
|
+ try {
|
|
|
+ window.onlyUserID = {{session "userId"}}
|
|
|
+ } catch (e) {
|
|
|
+ console.log('获取ID失败')
|
|
|
+ }
|
|
|
+ function clearOtherUserLocalStorage () {
|
|
|
+ var readUserID = JSON.parse(localStorage.getItem('big_member_full_video_play_reads') || '[]')
|
|
|
+ if (readUserID.length) {
|
|
|
+ try {
|
|
|
+ var oCookie = window.onlyUserID || null
|
|
|
+ var isUserNext = readUserID.indexOf(oCookie) === -1
|
|
|
+ if (isUserNext) {
|
|
|
+ localStorage.removeItem('big_member_full_video_play')
|
|
|
+ } else {
|
|
|
+ localStorage.setItem('big_member_full_video_play', 'true')
|
|
|
+ }
|
|
|
+ } catch (e) {
|
|
|
+ console.log('cookie 获取失败02')
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ localStorage.removeItem('big_member_full_video_play')
|
|
|
+ }
|
|
|
+ }
|
|
|
+ clearOtherUserLocalStorage()
|
|
|
+ if (localStorage.getItem('big_member_full_video_play')) {
|
|
|
+ console.log('已经播放')
|
|
|
+ } else {
|
|
|
+ console.log('应该跳转')
|
|
|
+ window.onload = function () {
|
|
|
+ history.pushState({state: 'full'}, null)
|
|
|
+ location.href = '/jyapp/big/page/full'
|
|
|
+ }
|
|
|
+ }
|
|
|
+ </script>
|
|
|
{{include "/common/meta.html"}}
|
|
|
<!--S-当前页必定需要预加载的资源-->
|
|
|
<link rel="preload" as="script" href='{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/local/swiper.min.js' />
|
|
@@ -24,11 +59,6 @@
|
|
|
{{include "/common/js.html"}}
|
|
|
<script src='{{Cdns .Host "seo" "cdn"|SafeUrl}}/jyapp/local/dropload.js'></script>
|
|
|
<title>搜索</title>
|
|
|
- <script>
|
|
|
- try{
|
|
|
- JyObj.hiddenBottom("1");
|
|
|
- }catch(e){}
|
|
|
- </script>
|
|
|
</head>
|
|
|
<body class="p13" id="home_main" data-weui-theme="light">
|
|
|
<style>
|
|
@@ -175,10 +205,10 @@
|
|
|
<div class="jy_sprite_home_icon icon_1"></div>
|
|
|
<span>投标决策</span>
|
|
|
</a>
|
|
|
- <!-- <a class="tab_item" data-only-name="潜在项目预测" id="mainSearch-tab2">
|
|
|
+ <a class="tab_item" data-only-name="潜在项目预测" id="mainSearch-tab2">
|
|
|
<div class="jy_sprite_home_icon_add icon_9"></div>
|
|
|
<span>潜在项目预测</span>
|
|
|
- </a> -->
|
|
|
+ </a>
|
|
|
<a class="tab_item" data-only-name="中标企业预测" id="mainSearch-tab3">
|
|
|
<div class="jy_sprite_home_icon icon_3"></div>
|
|
|
<span>中标企业预测</span>
|
|
@@ -190,11 +220,7 @@
|
|
|
<a class="tab_item" data-only-name="剑鱼文库" id="">
|
|
|
<div class="jy_sprite_home_icon icon_2"></div>
|
|
|
<span>剑鱼文库</span>
|
|
|
- </a>
|
|
|
- <a class="tab_item" data-only-name="剑鱼伙伴" id="mainSearch-tab2">
|
|
|
- <div class="jy_sprite_home_icon_add icon_9"></div>
|
|
|
- <span>剑鱼伙伴</span>
|
|
|
- </a>
|
|
|
+ </a>
|
|
|
</div>
|
|
|
<div class="tab_container">
|
|
|
<a class="tab_item" data-only-name="数据导出" id="mainSearch-tab5">
|
|
@@ -957,17 +983,17 @@
|
|
|
}
|
|
|
break
|
|
|
}
|
|
|
- // case '潜在项目预测': {
|
|
|
- // sessionStorage.setItem('landinfo', JSON.stringify({
|
|
|
- // anchor: '潜在项目预测'
|
|
|
- // }))
|
|
|
- // if ($this.attr('data-access')) {
|
|
|
- // window.location.href = '/jyapp/big/page/forecast_list';
|
|
|
- // } else {
|
|
|
- // location.href = '/jyapp/big/page/landingPage';
|
|
|
- // }
|
|
|
- // break
|
|
|
- // }
|
|
|
+ case '潜在项目预测': {
|
|
|
+ sessionStorage.setItem('landinfo', JSON.stringify({
|
|
|
+ anchor: '潜在项目预测'
|
|
|
+ }))
|
|
|
+ if ($this.attr('data-access')) {
|
|
|
+ window.location.href = '/jyapp/big/page/forecast_list';
|
|
|
+ } else {
|
|
|
+ location.href = '/jyapp/big/page/landingPage';
|
|
|
+ }
|
|
|
+ break
|
|
|
+ }
|
|
|
case '中标企业预测': {
|
|
|
sessionStorage.setItem('landinfo', JSON.stringify({
|
|
|
anchor: '中标企业预测'
|
|
@@ -1018,24 +1044,6 @@
|
|
|
}
|
|
|
break
|
|
|
}
|
|
|
- case '剑鱼伙伴': {
|
|
|
- if(userId==""){
|
|
|
- window.location.href='/jyapp/free/login?back=index';
|
|
|
- }else{
|
|
|
- $.ajax({
|
|
|
- url: '/distribution/partner/isPartner?t=' + new Date().getTime(),
|
|
|
- type: 'POST',
|
|
|
- success: function (r) {
|
|
|
- if (r.isPartner) {
|
|
|
- window.location.href = "/page_partner/home"
|
|
|
- } else {
|
|
|
- window.location.href = "/page_partner/partner/partner.html" // 协议页面
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
- }
|
|
|
- break
|
|
|
- }
|
|
|
case '签到': {
|
|
|
if(userId==""){
|
|
|
window.location.href='/jyapp/free/login?back=index';
|