◆少前百科是非盈利性、非官方的少女前线维基百科。 ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科。 ◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科 ◆To foreigners,You can use twitter to contact us. |
“Widget:战术人形属性”的版本间的差异
小 |
小 |
||
第53行: | 第53行: | ||
const checked = modToggle.checked; | const checked = modToggle.checked; | ||
const attrRound = $('#attr-round')[0]; | const attrRound = $('#attr-round')[0]; | ||
+ | const attrCrit = $('#crit-td'); | ||
if (checked) { | if (checked) { | ||
lvInput.max = 120; | lvInput.max = 120; | ||
lvInput.min = 100; | lvInput.min = 100; | ||
− | attrRound?. | + | attrRound?.textContent = $(attrRound).data('mod'); |
+ | attrCrit.text(attrCrit.data('mod')); | ||
} else { | } else { | ||
lvInput.max = 100; | lvInput.max = 100; | ||
lvInput.min = 1; | lvInput.min = 1; | ||
− | attrRound?. | + | attrRound?.textContent = $(attrRound).data('attr'); |
+ | attrCrit.text(attrCrit.data('attr')); | ||
} | } | ||
lvInput.value = 100; | lvInput.value = 100; | ||
第85行: | 第88行: | ||
}) | }) | ||
</script><style> | </script><style> | ||
− | #pow { background | + | #pow { background: url(/images/1/16/Data_Pow.png) } |
− | #hit { background | + | #hit { background: url(/images/6/6d/Data_Hit.png) } |
− | #dodge { background | + | #dodge { background: url(/images/5/5f/Data_Dodge.png) } |
− | #rate { background | + | #rate { background: url(/images/7/72/Data_Rate.png) } |
− | #armor { background | + | #armor { background: url(/images/8/89/Data_Armor.png) } |
− | #ap { background | + | #ap { background: url(/images/b/b2/Data_AP.png) } |
− | #round { background | + | #round { background: url(/images/vectorize_icon/Icon_clipsize.svg) } |
− | #speed { background | + | #speed { background: url(/images/2/2f/Data_Move.png) } |
− | #crit { background | + | #crit { background: url(/images/5/5d/Data_Ct.png) } |
− | #critpow { background | + | #critpow { background: url(/images/1/12/Data_CtPow.png) } |
</style></includeonly><noinclude> | </style></includeonly><noinclude> | ||
</noinclude> | </noinclude> |
2023年3月26日 (日) 02:39的版本