diff --git a/languages/language-list.js b/languages/language-list.js index 964a7cd6..cee74a6c 100644 --- a/languages/language-list.js +++ b/languages/language-list.js @@ -32,6 +32,7 @@ function sanbonGuideUrl(id) { } function mydelfGuideUrl(id) { const url = new URL(location); + url.searchParams.delete('d'); url.searchParams.set("guide",1); url.searchParams.set("id",id); return url; diff --git a/multi.html b/multi.html index 927b8b7d..d64b9880 100644 --- a/multi.html +++ b/multi.html @@ -1290,11 +1290,11 @@ const teamsCount = 2;
- -
-
-
-
+
diff --git a/script.js b/script.js index 76395e5e..eb7dabc6 100644 --- a/script.js +++ b/script.js @@ -4230,6 +4230,12 @@ function initialize() { }; const monInfoBox = editBox.querySelector(".monsterinfo-box"); + const monInfoBoxMainAvatar = monInfoBox.querySelector(".monster"); + monInfoBoxMainAvatar.onclick = function(){ //主头像修改为点击保存自身画面 + const id = parseInt(this.dataset.cardid, 10) || 0; + captureScreenshot(this, `${id}`, true); + } + const searchBox = editBox.querySelector(".search-box"); const settingBox = editBox.querySelector(".setting-box"); @@ -5840,10 +5846,13 @@ function changeid(mon, monDom, latentDom, assist) { attrDoms[1].classList.toggle("changed-sub-attr", Boolean(changeAttrAwoken)); monDom.title = `No.${monId} ${card.otLangName ? (card.otLangName[currentLanguage.searchlist[0]] || card.name) : card.name}`; - monDom.href = currentLanguage.guideURL(monId, card.name); + monDom.classList.toggle("allowable-assist", card.canAssist);; //可作为辅助 monDom.classList.toggle("wepon", card.awakenings.includes(49));; //武器 + + //如果是链接,增加链接 + if (monDom instanceof HTMLAnchorElement) monDom.href = currentLanguage.guideURL(monId, card.name); } const levelDom = monDom.querySelector(".level"); if (levelDom) { //如果提供了等级 diff --git a/solo.html b/solo.html index 2b20ab57..fab6faca 100644 --- a/solo.html +++ b/solo.html @@ -980,11 +980,11 @@ const teamsCount = 1;
- -
-
-
-
+
diff --git a/triple.html b/triple.html index 8d3c77d5..beb8f13f 100644 --- a/triple.html +++ b/triple.html @@ -1825,11 +1825,11 @@ const teamsCount = 3;
    - -
    -
    -
    -
    +