123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title></title>
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <link rel="stylesheet" href="../../commons/css/safe.css" type="text/css" />
- <script type="text/javascript" src="../../commons/js/business-all.js"></script>
-
- <script type="text/javascript" src="./js/flow_control.js"></script>
- </head>
- <body onload="$('#loading-mask').fadeOut('slow');">
- <div id="loading-mask"
- style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; background: #D2E0F2; z-index: 20000">
- <div id="pageloading"
- style="position: absolute; top: 50%; left: 50%; margin: -120px 0px 0px -120px; text-align: center; width:200px; border:1px solid #a6bccb; background-color:#fff;padding: 10px; background: #fff; color: #555;">
- <img src="../../commons/images/loading.gif" align="absmiddle" />
- 正在加载中,请稍候...
- </div>
- </div>
- <input id='pname' type="hidden" />
- <input id='apis' type="hidden" />
- <div class="container-wrap">
- <div class="main-header hidden">
- <div class="fl ml20 mt15 f14 c-222">流量监控</div>
- </div>
- <div class="scroll-pane jspScrollable">
- <div class="container">
- <div class="section">
- <div class="section-con clearfix">
- <div class="section jiekou-left" style="overflow-x: true">
- <div class="section-header">当前接口信息</div>
- <div class="section-con p20" style="height:auto;">
- <div class="relative resel-box clearfix">
- <div class="entra sub-tit"><i class="icon-entra"></i>入口</div>
- <div class="sub-1">
- <div class="sub-line-v"></div>
- <ul id='treeUL'></ul>
- </div>
- </div>
- </div>
- </div>
- <div class="section jiekou-data">
- <div class="section-header">当前接口请求次数展示</div>
- <div class="section-con section-con-wrap">
- <div class="hidden p20">
- <table class="tb" width="100%" id="dataList">
- <tr>
- <th>接口</th>
- <th>每分钟请求次数</th>
- <th>每小时请求次数</th>
- <th class="last">每天请求次数</th>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!--/main content-->
- </div>
- <script type="text/javascript">
- $(function(){
- function joggleListScroll(){
- $(".section-con-wrap").height($(window).height()-162).jScrollPane({"autoReinitialise": true,"overflow":true});
- }
- joggleListScroll();
-
- $(window).resize(function(){
- Throttle(joggleListScroll(),50,30);
- });
-
- $('#layer').click(function(){
- var artBox=art.dialog({
- lock: true,
- icon:'question',
- opacity:0.4,
- width: 250,
- title:'提示',
- content: '页面模板会覆盖编辑区域已有组件,是否继续?',
- ok: function () {
-
- },
- cancel: true
- });
- });
- //接口信息容器高度设置
- $('.jiekou-left .section-con').css({height:$(window).height()-202}).on('mousewheel',function(event){
- event.stopPropagation()
- });
- //接口信息
- (function(){
- $('.sub-1 li:has(".sub-2")').live("click",function(){
- $(this).siblings().find('.sub-2').hide();
- $(this).find('.sub-2').stop().fadeIn();
- return false;
- });
- $('.sub-2 li:has(".sub")').live("click",function(){
- $(this).siblings().find('.sub').hide();
- $(this).children('.sub').stop().fadeIn();
- // console.info($('.resel-box').outerHeight(true));
- return false;
- });
- })();
- })
- </script>
- </body>
- </html>
|