<link href="style/usagePercent.css" rel="stylesheet" type="text/css" />
<link href="style/searchResult.css" rel="stylesheet" type="text/css" />
<link href="style/searchDialog.css" rel="stylesheet" type="text/css" />
<!-- 链接 一个a标签 href 属性等于 div弹框的ID class属性等于样式 rev -->
<a href="#searchDialog" class="nyroModal btnBlue" rev="modal">弹框</a>
<!-- div id属性 等于a标签的href -->
<div id="searchDialog" class="dialog-bg" style="width: 900px;">
<div class="dialog-content">
<h4 class="dialog-tt"><span></span><a href="#" class="nyroModalClose btn-close" id="closeBut" title="Close"></a></h4>
<!-- id 表示在哪显示 -->
<div id="browse" class="list" style="width:99%;margin-top: 15px;">
<table cellspacing="0" width="100%">
<thead>
<tr>
<th scope="col" width="20%;" class="listLeftLine" >111</th>
<th scope="col" width="20%;" align="center" >222</th>
<th scope="col" width="20%;" align="center" >333</th>
<th scope="col" width="20%;" align="center" >444</th>
<th scope="col" width="20%;" class="listRightLine" >555</th>
</tr>
</thead>
<tbody>
<s:iterator value="数据List" status="rowstatus">
<tr <s:if test="#rowstatus.even == true">class="even"</s:if><s:else>class=""</s:else> style="cursor:default;">
<td align="center">
111的内容
</td>
<td align="center">
<s:if test="222的值 == 0">
222内容</s:if>
<s:else>222的内容</s:else>
</td>
<td align="center">
333内容
</td>
<td align="center">
444内容
</td>
<td align="center" class="listRightLine">
555内容
</td>
</tr>
</s:iterator>
</tbody>
</table>
</div>
<div class="btn-group">
关闭链接
<a class="dialog-btn nyroModalClose" href="#">关闭</a>
</div>
</div>
</div>
div 弹框
最新推荐文章于 2020-08-17 09:14:29 发布