b0dfcfac157520c18faf6011b9714e6dba542489.svn-base 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <%@page language="java" pageEncoding="UTF-8"%>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <title>广东电网公司应急指挥系统</title>
  6. <link rel="Shortcut Icon" href="/nwyj/images/favicon.png"/>
  7. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  8. <!--框架必需start-->
  9. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/jquery.js"></script>
  10. <script type="text/javascript" src="/nwyj/scripts/freamwork/com/sinosoft/system/user/LoginInfo.js"></script>
  11. <script src="/nwyj/scripts/jquery-ui-1.10.4.min.js"></script>
  12. <script src="/nwyj/scripts/jquery.mousewheel.min.js"></script>
  13. <script src="/nwyj/scripts/jquery.mCustomScrollbar.js"></script>
  14. <!--框架必需start-->
  15. <script type="text/javascript"
  16. src="/nwyj/scripts/qui/libs/js/language/cn.js"></script>
  17. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/framework.js"></script>
  18. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/main.js"></script>
  19. <link rel="stylesheet" type="text/css" href="/nwyj/scripts/qui/libs/css/import_basic.css" />
  20. <link href="/nwyj/scripts/qui/libs/skins/flatBlue/style.css" rel="stylesheet" type="text/css"/>
  21. <!--框架必需end-->
  22. <link href="/nwyj/scripts/qui/libs/css/framework/icon_position.css" rel="stylesheet" type="text/css"/>
  23. <style>
  24. body {
  25. margin-top: 10px;
  26. width: 100%;
  27. }
  28. .search_main_cont{
  29. margin: 0px;
  30. width:100%;
  31. height: 484px;
  32. text-align: center;
  33. background-color: #ffffff;
  34. }
  35. .see_cont{
  36. margin: 0px auto;
  37. padding-top:100px;
  38. width: 646px;
  39. }
  40. .input_cont{
  41. text-align:left;
  42. margin-top:25px;
  43. width: 100%;
  44. position: relative;;
  45. }
  46. .search_input{
  47. padding-left:21px;
  48. background-color:#f8f8f8;
  49. height: 39px;
  50. width: 580px;
  51. font-size: 18px!important;
  52. }
  53. .search_img{
  54. position:absolute;
  55. top :0px;
  56. left:603px;
  57. height: 43px;
  58. display:inline-block;
  59. text-align:center;
  60. width: 43px;
  61. background-color: #3388ff;
  62. }
  63. .search_img img{
  64. margin-top:8px;
  65. height: 30px;
  66. width: 30px;
  67. }
  68. </style>
  69. <script type="text/javascript">
  70. /* var loginfojson = eval('(' + top.window.name + ')');//登录用户信息
  71. var user_id = loginfojson.LoginInfo.user_id;
  72. var roleids = loginfojson.LoginInfo.roleids;
  73. //console.log(user_id);
  74. loginfojson = null; */
  75. $(function(){
  76. $(parent.document.body).find("#frmright").css("height",$(window.document.body).height()+30);
  77. /* // 搜索框获取焦点事件
  78. $("#search_img_input").live("focus",function(){
  79. // 获取焦点时,将搜索框清空
  80. var val = $(this).val("");
  81. }); */
  82. $("#search_img_input").on("keyup",function(event){
  83. var e = event||window.event;
  84. if(e&&e.keyCode == "13"){
  85. searchData();
  86. }
  87. });
  88. });
  89. function searchData(){
  90. var input=$("#search_img_input").val();
  91. window.location.href = "SearchList.jsp?name="+input;
  92. // $('#frmright', window.parent.document).attr('src',"/nwyj/page/system/right/SearchList.jsp?name="+input);
  93. }
  94. </script>
  95. </head>
  96. <body>
  97. <div class="search_main_cont">
  98. <div class="see_cont">
  99. <img src="/nwyj/images/temp/logo-1.png" alt="" class="search_logo"/>
  100. <div class="input_cont">
  101. <input watermark="搜索应用/文件/队伍/装备/物资" type="text" class="search_input" id="search_img_input">
  102. <a href="javascript:searchData();" class="search_img" ><img src="/nwyj/images/search_main_btn.png"/></a>
  103. </div>
  104. </div>
  105. </div>
  106. </body>
  107. </html>