Commit bb2b21f0 by 周添尉

首页添加了搜索功能

parent 74c2ed70
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<div class="index_search"> <div class="index_search">
<div class="index_search_content"> <div class="index_search_content">
<input type="text" value="大数据搜索引擎" onclick="index_search(this)"/> <input type="text" value="大数据搜索引擎" onclick="index_search(this)"/>
<div class="index_search_img" onclick="init_index_map($(this).prev().val())"><img src="${ctx}/custom/images/index4_search.png" height="22"/></div> <div class="index_search_img" onclick="fulltext($(this).prev().val())"><img src="${ctx}/custom/images/index4_search.png" height="22"/></div>
<div class="index_search_show"> <div class="index_search_show">
<div class="index_search_show_content"> <div class="index_search_show_content">
<div><label>所属区:</label></div> <div><label>所属区:</label></div>
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
<div><label>所筛选条件:</label></div> <div><label>所筛选条件:</label></div>
<div id="index_search_show_result"></div> <div id="index_search_show_result"></div>
<div> <div>
<span>确认搜索</span><span onclick="index_search_show_result_close()">取消</span> <span onclick="fulltext(index_search_show_result.innerText);">确认搜索</span><span onclick="index_search_show_result_close()">取消</span>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -49,6 +49,13 @@ $(function(){ ...@@ -49,6 +49,13 @@ $(function(){
}) })
//搜索
function fulltext(param){
console.log(param)
//alert(param);
window.open("http://qwss.jfbrother.com/jfV5qwss/jfcas?redirectUrl=view_fulltextTab?para_keywords="+param);
}
//初始化模块 //初始化模块
function init_index_module(){ function init_index_module(){
//d6926714-c220-4a7e-9ec0-3a23caebb179 //d6926714-c220-4a7e-9ec0-3a23caebb179
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment