diff --git a/multi.html b/multi.html
index 19c0e600..487b321e 100644
--- a/multi.html
+++ b/multi.html
@@ -719,6 +719,7 @@ var formation = new Formation(teamsCount,5);
+
@@ -872,6 +873,10 @@ var formation = new Formation(teamsCount,5);
+
diff --git a/script.js b/script.js
index 9dcf6343..8ddd42ea 100644
--- a/script.js
+++ b/script.js
@@ -836,11 +836,6 @@ function initialize() {
line.setAttribute("y2", p2.y);
};
- /*const updateTime = controlBox.querySelector(".datasource-updatetime");
- updateTime.onclick = function(){
- loadData(true);
- };*/
-
//标题和介绍文本框
const titleBox = formationBox.querySelector(".title-box");
const detailBox = formationBox.querySelector(".detail-box");
@@ -2364,11 +2359,10 @@ function editBoxChangeMonId(id) {
evoCardUl.style.display = "none";
evoCardUl.innerHTML = ""; //据说直接清空HTML性能更好
- const evoLinkCardsIdArray = Cards.filter(function(m) {
- return m.evoRootId == card.evoRootId;
- }).map(function(m) { return m.id; }); //筛选出相同进化链的
+ const evoLinkCardsIdArray = Cards.filter(m=>m.evoRootId == card.evoRootId).map(m=>m.id); //筛选出相同进化链的
const createCardHead = editBox.createCardHead;
+ const openEvolutionaryTree = settingBox.querySelector(".row-mon-id .open-evolutionary-tree");
if (evoLinkCardsIdArray.length > 1) {
fragment = document.createDocumentFragment(); //创建节点用的临时空间
evoLinkCardsIdArray.forEach(function(mid) {
@@ -2380,6 +2374,10 @@ function editBoxChangeMonId(id) {
});
evoCardUl.appendChild(fragment);
evoCardUl.style.display = "block";
+ openEvolutionaryTree.classList.remove(className_displayNone);
+ }else
+ {
+ openEvolutionaryTree.classList.add(className_displayNone);
}
const mType = monInfoBox.querySelectorAll(".monster-type li");
diff --git a/solo.html b/solo.html
index f2870d00..8eed1236 100644
--- a/solo.html
+++ b/solo.html
@@ -669,6 +669,7 @@ var formation = new Formation(teamsCount,6);
+
@@ -822,6 +823,10 @@ var formation = new Formation(teamsCount,6);
+
diff --git a/style.css b/style.css
index 4b857416..5557a54d 100644
--- a/style.css
+++ b/style.css
@@ -2202,4 +2202,11 @@ ul{
{
box-sizing: border-box;
width: calc(100% - 50px * 1);
+}
+.open-evolutionary-tree
+{
+}
+.open-evolutionary-tree::before
+{
+ content: "⛓️进化链";
}
\ No newline at end of file
diff --git a/triple.html b/triple.html
index ee439280..ed829aa9 100644
--- a/triple.html
+++ b/triple.html
@@ -1364,6 +1364,7 @@ var formation = new Formation(teamsCount,6);
+
@@ -1517,6 +1518,10 @@ var formation = new Formation(teamsCount,6);
+