| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <title>hjkzGzxxHaifmMain</title>
- <script type="text/javascript">
- $(function(){
- if ($("#zsid").val() > 0) {
- jQuery.ajax({
- type : "get",
- url : "getHaifmGzxxTjt.htm",
- data : {"zsid" : $("#zsid").val()},
- dataType : "json",
- async : true,
- success : function(data) {
- if (data) {
- getHighchartTjt(data);
- }
- }
- });
- }
- });
- function showGzxxList(val,iscroll) {
- var html = "";
- jQuery.getJSON("getGzxxList.htm", {time : val,"zsid" : $("#zsid").val()}, function(data,iscroll,refresh) {
- var count = 1;
- for (var o in data) {
- html += "<div style='white-space: pre-wrap;'>"+ count + "." + data[o].gzxx + "</div>";
- count++;
- }
- $("#errorDiv").html(html);
- });
- loaded();
- }
- function loaded() {
- /**
- * 初始化滚动条
- * */
- var iscroll;
- iscroll = new IScroll(".hjkzGzxxIscroll",{
- scrollbars: true,
- fadeScrollbars:true,
- scrollbars: 'custom',
- shrinkScrollbars:'clip',
- click:true
- });
- setTimeout(function(){
- iscroll.refresh();
- }, 100);
- }
- </script>
- <style type="text/css">
- /* #errorDiv {
- margin-bottom:85px;
- } */
- #errorDiv div{
- border-bottom: 1px solid #bbb;
- padding: 4px;
- }
- .hjkzGzxxIscroll{
- overflow: hidden;
- position: absolute;
- margin: 0;
- width: 100%;
- bottom: 60px;
- margin-bottom: 0;
- top: 70px;
- }
- </style>
- </head>
- <body>
- <input type="hidden" id="zsid" value="$!zsid"/>
- <div>
- <div class="hjkzGzxxIscroll">
- <div>
- <div id="chartDiv" style="margin-bottom:0;"></div>
- <div id="errorDiv"></div>
- </div>
- </div>
- </div>
- </body>
- </html>
|