差别
这里会显示出您选择的修订版和当前版本之间的差别。
后一修订版 | 前一修订版 | ||
浏览:天梯榜 [2021/12/28 20:43] – 创建 yx5932 | 浏览:天梯榜 [2022/02/10 12:52] (当前版本) – yx5932 | ||
---|---|---|---|
行 1: | 行 1: | ||
- | < | + | ====== |
- | < | + | 天梯榜实时收录三大服务器中所有大师及以上段位玩家的排名情况(数数有多少熟悉的国人玩家吧)。 |
- | <script type=" | + | |
- | <script type=" | + | |
- | jQuery.noConflict(); | + | |
- | jQuery(document).ready(function($) { | + | |
- | htmlobj=$.ajax({url:" | + | |
- | leaderboard | + | |
- | leaderboard2 | + | |
- | | + | |
- | var s = ""; | + | 你也可以直接访问[[http://rank.loryx.wiki/|rank.loryx.wiki]],并将其添加至书签,方便下次直接查看实时天梯榜。 |
- | for(var i = 0; i < leaderboard_json.length; | + | |
- | s = "< | + | |
- | leaderboard_json[i].name + "</td></ | + | |
- | $("# | + | |
- | } | + | |
- | }); | + | |
- | </script> | + | |
- | <style type=" | + | |
- | html, body { | + | |
- | margin: 0; | + | |
- | padding: 0; | + | |
- | } | + | |
- | body { | + | |
- | background: #fff; | + | |
- | font: 14px/1.5 " | + | |
- | } | + | |
- | a { | + | |
- | text-decoration: | + | |
- | } | + | |
- | table { | + | |
- | width: 90%; | + | |
- | border: 1px solid #c3dcf5; | + | |
- | margin: 10px auto; | + | |
- | border-collapse: | + | |
- | } | + | |
- | thead th { | + | |
- | background: #ebf5ff; | + | |
- | text-align: center; | + | |
- | color: #5591be; | + | |
- | } | + | |
- | td { | + | |
- | color: #263d63; | + | |
- | border: 1px solid #c3dcf5; | + | |
- | padding: 4px 14px; | + | |
- | text-align: center; | + | |
- | } | + | |
- | / | + | |
- | /*tr.odd td { | + | |
- | background-color: | + | |
- | }*//*增加背景色,使得应用该规则的行表现出隔行换色的效果*/ | + | |
- | + | ||
- | + | ||
- | + | ||
- | /*方法二*/ | + | |
- | tr: | + | |
- | background-color: | + | |
- | }/ | + | |
- | tr: | + | |
- | background-color: | + | |
- | }/ | + | |
- | + | ||
- | </ | + | |
- | </ | + | |
- | + | ||
- | < | + | |
- | + | ||
- | <table border=" | + | |
- | < | + | |
- | <td scope=" | + | |
- | <td scope=" | + | |
- | <td scope=" | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
+ | {{tabinclude> |