◆少前百科是非盈利性、非官方的少女前线维基百科。 ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科。 ◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科 ◆To foreigners,You can use twitter to contact us. |
“Widget:Tdollquery2”的版本间的差异
Mikumikuer(讨论 | 贡献) |
Mikumikuer(讨论 | 贡献) |
||
第448行: | 第448行: | ||
</div> | </div> | ||
<div id="TDollQuery"><input type="text" placeholder="输入枪名" id="inputQuery"/><button type="button" onclick="clearItem();apply_filter();">清除</button></div> | <div id="TDollQuery"><input type="text" placeholder="输入枪名" id="inputQuery"/><button type="button" onclick="clearItem();apply_filter();">清除</button></div> | ||
+ | <div > | ||
+ | <label for="MOD3Data"><input type="checkbox" id="MOD3Data" checked="true" data-freeze="true" class="filter_item" /><div>显示MOD3数据</div></label> | ||
+ | </div> | ||
<div style="float:right;clear: right;"> | <div style="float:right;clear: right;"> | ||
− | <label for=" | + | <label for="tableMode"><input type="radio" id="tableMode" data-freeze="true" class="filter_item" name="showType" checked/><div>表格模式</div></label> |
− | <label for="iconOnly"><input type=" | + | <label for="cardMode"><input type="radio" id="cardMode" data-freeze="true" class="filter_item" name="showType" /><div>卡片模式</div></label> |
+ | <label for="iconOnly"><input type="radio" id="iconOnly" data-freeze="true" class="filter_item" name="showType" /><div>精简模式</div></label> | ||
</div> | </div> | ||
</div> | </div> | ||
第706行: | 第710行: | ||
htmlLine += line; | htmlLine += line; | ||
} | } | ||
− | output = `<table id="Tdolltable" class="stattable logo" style="text-align:center;mid-width:300px;width:100%"> | + | output = `<table id="Tdolltable" class="stattable logo${document.querySelector("#cardMode").checked?" cardMode":""}" style="text-align:center;mid-width:300px;width:100%"> |
<thead><tr><th style="width: 44px;min-width: 44px;">编号<\/th><th style="width: 70px;min-width: 70px;">枪名<\/th><th style="width: 50px;min-width: 50px;">头像<br>(稀有度)<\/th><th style="width: 50px;min-width: 50px;">枪种<\/th><th>生命<br>(5编制)<\/th><th>伤害<\/th><th>射速<\/th><th>命中<\/th><th>回避<\/th><th>护甲<\/th><th>建造时间<\/th><th>影响格&有效枪种&影响效果<br>(5编制)<\/th><th style="width:130px;min-width:130px;">获得方式<\/th><\/tr><\/thead> | <thead><tr><th style="width: 44px;min-width: 44px;">编号<\/th><th style="width: 70px;min-width: 70px;">枪名<\/th><th style="width: 50px;min-width: 50px;">头像<br>(稀有度)<\/th><th style="width: 50px;min-width: 50px;">枪种<\/th><th>生命<br>(5编制)<\/th><th>伤害<\/th><th>射速<\/th><th>命中<\/th><th>回避<\/th><th>护甲<\/th><th>建造时间<\/th><th>影响格&有效枪种&影响效果<br>(5编制)<\/th><th style="width:130px;min-width:130px;">获得方式<\/th><\/tr><\/thead> | ||
<tbody>${htmlLine}<\/tbody> | <tbody>${htmlLine}<\/tbody> |