|
@@ -22,11 +22,11 @@
|
|
<style>
|
|
<style>
|
|
</style>
|
|
</style>
|
|
</head>
|
|
</head>
|
|
-<body>
|
|
|
|
|
|
+<body class="in-iframe" style="background-color: transparent;">
|
|
{{include "/common/pchead.html"}}
|
|
{{include "/common/pchead.html"}}
|
|
|
|
|
|
<div class="dataMart">
|
|
<div class="dataMart">
|
|
- <header class="header">
|
|
|
|
|
|
+ <header class="header no-in-frame" style="display: none;">
|
|
<img src="{{Msg "seo" "cdn"}}/images/dataSmt/banner.jpg?v={{Msg "seo" "version"}}" alt="数据超市,提供海量热门行业数据,专业安全合规,成品数据一键下载。">
|
|
<img src="{{Msg "seo" "cdn"}}/images/dataSmt/banner.jpg?v={{Msg "seo" "version"}}" alt="数据超市,提供海量热门行业数据,专业安全合规,成品数据一键下载。">
|
|
<!-- 搜索 -->
|
|
<!-- 搜索 -->
|
|
<div class="jy-dataMart-search">
|
|
<div class="jy-dataMart-search">
|
|
@@ -39,9 +39,33 @@
|
|
</div>
|
|
</div>
|
|
<!-- 搜索结束 -->
|
|
<!-- 搜索结束 -->
|
|
</header>
|
|
</header>
|
|
|
|
+ <header class="header header-in-frame" style="display: none;">
|
|
|
|
+ <div class="header-in-frame-right"></div>
|
|
|
|
+ <!-- 搜索 -->
|
|
|
|
+ <div class="jy-dataMart-search">
|
|
|
|
+ <div class="search">
|
|
|
|
+ <form method="get" action="/datasmt/{{.T.dataType}}_1" class="form-search" id="dataMartForm" onsubmit="return false;">
|
|
|
|
+ <input class="ser" onkeydown="onkeydowndataMart()" autocomplete="off" type="text" name="searchValue" placeholder="请输入业务范围,如:物业管理" value="{{.T.searchValue}}"/>
|
|
|
|
+ <button class="btn" onclick="dataMartSearch()">搜 索</button>
|
|
|
|
+ </form>
|
|
|
|
+ </div>
|
|
|
|
+ </div>
|
|
|
|
+ <!-- 搜索结束 -->
|
|
|
|
+ {{$dataType := .T.dataType}}
|
|
|
|
+ <!-- 热搜词 -->
|
|
|
|
+ <section class="hotkeywords">
|
|
|
|
+ <p><img src="{{Msg "seo" "cdn"}}/images/dataSmt/hot_icon.png?v={{Msg "seo" "version"}}" alt="热搜icon">热搜:</p>
|
|
|
|
+ <div class="content">
|
|
|
|
+ {{range $k,$v := .T.hotKeys}}
|
|
|
|
+ <a href="/datasmt/{{$dataType}}_1?searchValue={{$v}}">{{$v}}</a>
|
|
|
|
+ {{end}}
|
|
|
|
+ </div>
|
|
|
|
+ </section>
|
|
|
|
+ <!-- 热搜词结束 -->
|
|
|
|
+ </header>
|
|
{{$dataType := .T.dataType}}
|
|
{{$dataType := .T.dataType}}
|
|
<!-- 热搜词 -->
|
|
<!-- 热搜词 -->
|
|
- <section class="hotkeywords">
|
|
|
|
|
|
+ <section class="hotkeywords no-in-frame" style="display: none;">
|
|
<p><img src="{{Msg "seo" "cdn"}}/images/dataSmt/hot_icon.png?v={{Msg "seo" "version"}}" alt="热搜icon">热搜:</p>
|
|
<p><img src="{{Msg "seo" "cdn"}}/images/dataSmt/hot_icon.png?v={{Msg "seo" "version"}}" alt="热搜icon">热搜:</p>
|
|
<div class="content">
|
|
<div class="content">
|
|
{{range $k,$v := .T.hotKeys}}
|
|
{{range $k,$v := .T.hotKeys}}
|
|
@@ -153,6 +177,7 @@
|
|
<script src='{{Msg "seo" "cdn"}}/common-module/pc-dialog/js/leave-info-dialog.js?v={{Msg "seo" "version"}}'></script>
|
|
<script src='{{Msg "seo" "cdn"}}/common-module/pc-dialog/js/leave-info-dialog.js?v={{Msg "seo" "version"}}'></script>
|
|
<script>
|
|
<script>
|
|
haslogin({{.T.logid}});
|
|
haslogin({{.T.logid}});
|
|
|
|
+ var inIframe = window.goTemplateData?.inIframe || false
|
|
$(function(){
|
|
$(function(){
|
|
// initAdvertising()
|
|
// initAdvertising()
|
|
brightKeyword()
|
|
brightKeyword()
|
|
@@ -179,6 +204,13 @@
|
|
$('#dataSupermarket_industry_fields').on('click',function(){
|
|
$('#dataSupermarket_industry_fields').on('click',function(){
|
|
needSubmitHandle('pc_DataSupermarket_IndustryFields')
|
|
needSubmitHandle('pc_DataSupermarket_IndustryFields')
|
|
})
|
|
})
|
|
|
|
+ if(inIframe) {
|
|
|
|
+ $('.no-in-frame').hide()
|
|
|
|
+ $('.header-in-frame').show()
|
|
|
|
+ } else {
|
|
|
|
+ $('.no-in-frame').show()
|
|
|
|
+ $('.header-in-frame').hide()
|
|
|
|
+ }
|
|
})
|
|
})
|
|
function initAdvertising(){
|
|
function initAdvertising(){
|
|
var windowHeight = $(window).height(); // 可视窗口的高度
|
|
var windowHeight = $(window).height(); // 可视窗口的高度
|
|
@@ -202,8 +234,9 @@
|
|
}
|
|
}
|
|
var isNull = {{.T.dataType}}=="index"
|
|
var isNull = {{.T.dataType}}=="index"
|
|
function dataMartSearch(){
|
|
function dataMartSearch(){
|
|
- var val_ = $('#dataMartForm .ser').val().replace(/\s+/g, "")
|
|
|
|
- $('#dataMartForm .ser').val(val_)
|
|
|
|
|
|
+ const serDom = inIframe ? $('.header-in-frame #dataMartForm .ser') : $('#dataMartForm .ser')
|
|
|
|
+ var val_ = serDom.val().replace(/\s+/g, "")
|
|
|
|
+ serDom.val(val_)
|
|
if(!val_){
|
|
if(!val_){
|
|
if (isNull) {
|
|
if (isNull) {
|
|
window.location.replace("/datasmt/index")
|
|
window.location.replace("/datasmt/index")
|