◆少前百科是非盈利性、非官方的少女前线维基百科。 ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科。 ◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科 ◆To foreigners,You can use twitter to contact us. |
“Widget:Tdollquery2”的版本间的差异
Mikumikuer(讨论 | 贡献) |
Mikumikuer(讨论 | 贡献) |
||
第289行: | 第289行: | ||
</style><div style="max-width: 63rem;"> | </style><div style="max-width: 63rem;"> | ||
<div id="buttonContainer" style="margin: 2px;"> | <div id="buttonContainer" style="margin: 2px;"> | ||
− | <span>[<a href="javascript:void(0); | + | <span>[<a href="javascript:void(0);>全清</a>]</span> |
<div style="display: block;padding-left: 1rem;margin: 0.1rem auto;">点选下列格子查询人形影响格布局:<br><div class="tileSearchCond">影响格位置: | <div style="display: block;padding-left: 1rem;margin: 0.1rem auto;">点选下列格子查询人形影响格布局:<br><div class="tileSearchCond">影响格位置: | ||
<table class="tileSearch" id="effectarea" align="center" cellpadding="0" cellspacing="0" style="border-spacing: 2px;background: rgba(255, 255, 255, 0.33);border: 0px;"> | <table class="tileSearch" id="effectarea" align="center" cellpadding="0" cellspacing="0" style="border-spacing: 2px;background: rgba(255, 255, 255, 0.33);border: 0px;"> | ||
第587行: | 第587行: | ||
$('.clearSelect').on("click",function(){clearSelect(this)}); | $('.clearSelect').on("click",function(){clearSelect(this)}); | ||
$('.invertSelect').on("click",function(){invertSelect(this)}); | $('.invertSelect').on("click",function(){invertSelect(this)}); | ||
− | + | $('#TDollQuery button').on("click",function(){clearItem();apply_filter();}); | |
+ | $('#buttonContainer>span>a').on("click",function(){clearSelect(this.parentNode)}) | ||
function clearItem(){inputText.value = ""} //清除输入框内容 | function clearItem(){inputText.value = ""} //清除输入框内容 |