代码拉取完成,页面将自动刷新
<!DOCTYPE html>
<html>
<head>
<title>LUI组件库</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no" />
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Pragma" content="no-cache">
<meta name="keywords" content=""/>
<meta name="description" content="" />
<link rel="icon" href="images/icon/lui.png">
<link rel="stylesheet" type="text/css" href="css/lui.css" />
<style type="text/css">
.rank_table .rank_score {display: inline-block;width: 20px;height: 27px;font-family: arial;overflow: hidden;}
.rank_table tr:nth-child(1) td .rank_score {background: url(images/icon/gold.png) no-repeat;
background-size: contain
}
.rank_table tr:nth-child(2) td .rank_score {background: url(images/icon/silver.png) no-repeat;
background-size: contain
}
.rank_table tr:nth-child(3) td .rank_score {background: url(images/icon/bronze.png) no-repeat;
background-size: contain
}
.rank_table tr:nth-child(1) td .rank_score,
.rank_table tr:nth-child(2) td .rank_score,
.rank_table tr:nth-child(3) td .rank_score {text-indent: -150%}
.rank_table tr:nth-child(n+4) td .rank_score {width: 21px;height: 21px;background-color:#f26689;color: #fff;
border-radius: 100%;background-clip: padding-box
}
.ranking_user {margin-right: 5px;width: 36px;height:36px;border-radius: 100%;background-clip: padding-box}
</style>
</head>
<body>
<div class="ui_page_wrap">
<header class="ui_page_hd"><a href="javascript:history.go(-1);" class="ui_back"></a>表格</header>
<div class="ui_page_bd">
<p class="ui_con_block">
基础表格应用于排行榜
</p>
<table class="ui_table rank_table">
<thead>
<tr>
<th>排名</th>
<th>姓名</th>
<th>武力值</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="rank_score">1</span></td>
<td>关胜</td>
<td>10</td>
</tr>
<tr>
<td><span class="rank_score">2</span></td>
<td>林冲</td>
<td>9.5</td>
</tr>
<tr>
<td><span class="rank_score">3</span></td>
<td>秦明</td>
<td>9.0</td>
</tr>
<tr>
<td><span class="rank_score">4</span></td>
<td>呼延灼</td>
<td>8.8</td>
</tr>
<tr>
<td><span class="rank_score">5</span></td>
<td>董平</td>
<td>8.5</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。