html 页签问题

li_3410389503 2016-08-24 10:49:56
请教一个html 中页签的问题,
上图,红色部分是一个页签,在mvc的架构中点击的时候没有任何反应,把这个页面的代码单独拿出来,在网页编辑器中
运行的时候点击“统计”,能够显示出来,下图是将这个页面的html代码单独拿出来在网页编辑qi中运行的效果
那个123的页签没有任何的内容。下面的是html的代码,麻烦大神帮忙看看
<div id="content">
<div id="content-header">
<h1>闭环核心</h1>
</div>
<div id="breadcrumb">
<a href="/Wxmove/index" title="Go to Home" class="tip-bottom"><i class="icon-home"></i> 首页</a>
<a href="" class="current">闭环核心</a>
</div>
<div class="widget-box">
<div class="log-title">
<img src="/img/table_logo.png"><span><?php echo $app_info['app_name']."  ";?>error报表</span>
</div>
<div class="widget-content tab-content">
<div id="tabll">
<form action="/Log/new_log" method="get" id="carform">
<!-- <input type="hidden" name="app_id" value="<?php echo $app_id;?>"/>
<input type="hidden" name="modular_id" value="<?php echo $modular_id;?>"/>-->
<div class="form-inline" style="float:left;">
<label for="exampleInputName2">开始时间</label>
<input type="text" name="start_time" onclick="SelectDate(this,'yyyy-MM-dd hh:mm:ss')" class="form-control" id="exampleInputName2" value="<?php if(!empty($startime)){echo $startime;}else{echo "";}?>">
<label for="exampleInputEmail2">结束时间</label>
<input type="text" name="stop_time" onclick="SelectDate(this,'yyyy-MM-dd hh:mm:ss')" class="form-control" id="exampleInputEmail2" value="<?php if(!empty($stoptime)){echo $stoptime;}else{echo "";}?>">
<label for="exampleInputEmail2">应用</label>
<select id="app" name="app_id" form="carform" class="form-control">
<option value=0>应用</option>
<?php if(!empty($api_arr)){?>
<?php foreach($api_arr as $app){?>
<option value="<?php echo $app['id'];?>"<?php if(!empty($app_id)&&$app_id==$app['id']){echo "selected='selected'";}?>><?php echo $app['app_name'];?></option>
<?php };?>
<?php };?>
</select>
<label for="exampleInputEmail2">模块</label>
<select id="modular" name="modular_id" form="carform" class="form-control">
<option value=0>模块</option>
<?php if(!empty($modular_arr)){?>
<?php foreach($modular_arr as $modular){?>
<option value="<?php echo $modular['id'];?>"
<?php if(!empty($modular_id)&&$modular_id==$modular['id'])
{echo "selected='selected'";}?>>
<?php echo $modular['modular_name'];?>
</option>
<?php };?>
<?php };?>
</select>
<label for="exampleInputEmail2">接口</label>
<select id="detail" name="detail" form="carform" class="form-control">
<option value=0>接口</option>
<?php if(!empty($detail_arr)){?>
<?php foreach($detail_arr as $detail){?>
<option value="<?php echo $detail['id'];?>"<?php if(!empty($detail_id)&&$detail_id==$detail['id']){echo "selected='selected'";}?>><?php echo $detail['uri_desc'];?></option>
<?php };?>
<?php };?>
</select>
<label for="exampleInputEmail2">返回子码</label>
<input type="text" name="sub" value="<?php if(!empty($sub)) echo $sub;?>"/>
<input id="querystatus" type="submit" value="查询" class="btn btn-default"/>
</div>
</form>
</div>
//页签
<div class="widget-title">
<ul class = "nav nav-tabs">
<li><a data-toggle="tab" href="#tab1">123</a></li>
<li><a data-toggle="tab" href="#data01-chart">统计</a></li>
</ul>
</div>
// 页签统计的内容
<div id="data01-chart" class="tab-pane ">
<div class="row-fluid">
<div class="span12">
<div class="widget-box">
<table class="table table-bordered table-striped">
<caption>闭环核心可用性报表</caption>
<thead>
<tr>
<th rowspan="2">环节</th>
<th colspan="2">当前</th>
<th colspan="2">今天</th>
<th colspan="2">本周</th>
</tr>
<tr style="text-align:center;">
<th>数量</th>
<th>成功率</th>
<th>数量</th>
<th>成功率</th>
<th>数量</th>
<th>成功率</th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<th colspan="7">
当前表示最近1小时;
今天表示从凌晨0点到当前时刻;
</th>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
</div>

<!--表格开始-->
<div class="row-fluid">
<div class="span12">
<div class="widget-box">
<table class="table table-bordered table-striped">
<!--<caption>电影闭环核心可用性报表</caption>-->
<thead>
<tr style="text-align:center;">
<th>序号</th>
<th>接口</th>
<th>请求地址</th>
<th>返回码</th>
<th>返回子码</th>
<th>信息</th>
<th>运行时间</th>
<th>server_ip</th>
<th>agent_ip</th>
<th>load_balance</th>
<th>请求时间</th>
</tr>
</thead>
<tbody>
<?php if(!empty($log_result)){?>
<?php foreach($log_result as $res){?>
<tr>
<td><?php echo $res['id'];?></td>
<td><?php echo $res['prefix_uri'];?></td>
<td style="WORD-WRAP: break-word" width="10"><?php echo $res['request_url'];?></td>
<td><?php echo $res['ret'];?></td>
<td><?php echo $res['sub'];?></td>
<td width="150" style="WORD-WRAP: break-word " title="Log_str"
data-container="body" data-toggle="popover" data-placement="top"
data-content="<?php echo htmlspecialchars($res['log_str']);?>">
<a><?php echo $res['msg'];?></a>
</td>
<td><?php echo $res['runtime'];?></td>
<td><?php echo $res['server_addr'];?></td>
<td><?php echo $res['remote_addr'];?></td>
<td><?php echo $res['load_balance'];?></td>
<td><?php echo $res['request_time'];?></td>
</tr>
<?php }?>
<?php }?>
</tbody>
<tfoot>
<tr>
<th colspan="11">
初始数据为最近1小时;
</th>
</tr>
</tfoot>
</table>
</div>
<div class="pagemanu">
当前第<?php echo $pages['current_page'];?>页/总共<?php echo $pages['all_page']?>页,每页<?php echo $pages['per_page']?>条/共计<?php echo $pages['total']?>条
<?php echo $pages['page'];?>
<input type="text" name="text"style="width:50px;"/>
<button id="page_jump">跳转</button>
</div>
</div>
</div>
</div>
</div>
</div>
...全文
496 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
slwsss 2016-08-24
  • 打赏
  • 举报
回复
审查元素找下原因是js出错了还是标签问题

87,904

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 JavaScript
社区管理员
  • JavaScript
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧