◆少前百科是非盈利性、非官方的少女前线维基百科。 ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科。 ◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科 ◆To foreigners,You can use twitter to contact us. |
“Widget:EnemyInfo/js”的版本间的差异
(测试) |
(测试) |
||
第1,221行: | 第1,221行: | ||
<th style="width:100px;">效能</th> | <th style="width:100px;">效能</th> | ||
<th style="width:490px;">组成</th> | <th style="width:490px;">组成</th> | ||
+ | <th style="width:60px;">环境</th> | ||
<th style="width:100px;">波数</th> | <th style="width:100px;">波数</th> | ||
− | <th style="width: | + | <th style="width:200px;">其它</th> |
</tr></thead><tbody id="Missionbody" style="height:300px; overflow-y:scroll; display:block;">`; | </tr></thead><tbody id="Missionbody" style="height:300px; overflow-y:scroll; display:block;">`; | ||
第1,233行: | 第1,234行: | ||
var enemy_team_id = enemystr.slice(0, enemystr.indexOf("-")); | var enemy_team_id = enemystr.slice(0, enemystr.indexOf("-")); | ||
var enemy_num = enemystr.slice(enemystr.indexOf("-") + 1, enemystr.indexOf(",")); | var enemy_num = enemystr.slice(enemystr.indexOf("-") + 1, enemystr.indexOf(",")); | ||
+ | var enemy_odd = (enemy_num.indexOf("-", 3) == -1) ? ("0~" + enemy_num[2]) : (enemy_num[4] + "~" + (Number(enemy_num[2]) + Number(enemy_num[4]))); | ||
var enemy_leader; | var enemy_leader; | ||
第1,243行: | 第1,245行: | ||
thisline += leader_name + `<\/td><td width="100px">`; | thisline += leader_name + `<\/td><td width="100px">`; | ||
thisline += efectcal(enemy_team_id) + `<\/td><td width="490px">`; | thisline += efectcal(enemy_team_id) + `<\/td><td width="490px">`; | ||
− | thisline += enemyoutcal(enemy_team_id) + `<\/td><td width="100px">`; | + | thisline += enemyoutcal(enemy_team_id) + `<\/td><td width="60px">`; |
− | thisline += | + | thisline += ((enemy_num[0] == 0) ? "昼战" : "夜战") + `<\/td><td width="100px">`; |
+ | thisline += enemy_odd + `<\/td><td width="180px">`; | ||
thisline += "<\/td><\/tr>"; | thisline += "<\/td><\/tr>"; | ||