diff --git a/multi.html b/multi.html
index aed3e413..94549a33 100644
--- a/multi.html
+++ b/multi.html
@@ -838,7 +838,7 @@ var formation = new Formation(teamsCount,5);
@@ -1096,8 +1096,8 @@ var formation = new Formation(teamsCount,5);
-
+
-
+
-
+
-
+
-
@@ -1389,6 +1390,9 @@ var formation = new Formation(teamsCount,5);
+
diff --git a/script.js b/script.js
index 8763363d..a698154d 100644
--- a/script.js
+++ b/script.js
@@ -2933,7 +2933,9 @@ function initialize() {
function searchByString(str)
{ // 考虑了一下onlyInTag被废弃了,因为和游戏内搜索不符
str = str.trim();
- if (str.length>0)
+ if (str === '0') { //如果搜索0,则打开最新的50个
+ return Cards.filter(card=>card.enabled).slice(-50);
+ } else if (str.length>0)
{
return Cards.filter(card =>
{
@@ -3563,6 +3565,7 @@ function initialize() {
}
searchBox.classList.remove(className_displayNone);
+ searchMonList.classList.remove(className_displayNone);
editBox.show();
const createCardHead = editBox.createCardHead;
@@ -3735,6 +3738,7 @@ function initialize() {
};
searchClose.onclick = function() {
searchBox.classList.add(className_displayNone);
+ searchMonList.classList.add(className_displayNone);
};
searchClear.onclick = function() { //清空搜索选项
s_attr1s[0].checked = true;
diff --git a/style.css b/style.css
index a373c139..7fcc1a97 100644
--- a/style.css
+++ b/style.css
@@ -2028,10 +2028,15 @@ icon.inflicts::after
}*/
.search-mon-list{
+ box-sizing: border-box;
border: 1px solid white;
border-radius: 5px;
background: grey;
+ display: grid;
width: 100%;
+ grid-template-columns: repeat(auto-fill, 75px);
+ grid-auto-rows: min-content;
+ grid-gap: 5px;
}
.search-box .search-list-length
{
@@ -2046,8 +2051,14 @@ icon.inflicts::after
content: attr(data-search-result-count);
}
.guide-mod .search-mon-list{
- max-height: 790px;
+ max-height: 30vh;
overflow: auto;
+ position: sticky;
+ top: 0;
+ z-index: 1;
+}
+.guide-mod .edit-box .monsterinfo-box{
+ top: 30vh;
}
.setting-box .row-mon-id .real-time-change-card-label
@@ -2063,7 +2074,6 @@ icon.inflicts::after
{
margin-left: 5px;
}
-
.edit-box .setting-row{
width: 100%;
}
diff --git a/triple.html b/triple.html
index e296d6cb..fe8109da 100644
--- a/triple.html
+++ b/triple.html
@@ -1992,8 +1992,8 @@ var formation = new Formation(teamsCount,6);
-
+
-
+
-
+
-
+
-
@@ -2285,6 +2286,9 @@ var formation = new Formation(teamsCount,6);
+