Skip to content

Commit 3d88306

Browse files
committed
4.27
1 parent 6930845 commit 3d88306

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.workflow-script/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,13 @@
102102
clone.dataset.slug = manifest.slug
103103
} else {
104104
clone.innerHTML = clone.innerHTML
105+
.replace('#图标', defaultIcon)
105106
.replace('#标题', `<a class="underline hover:text-blue-500 duration-300" href="https://github.com/${repo}" target="_blank">${repo}</a>`)
106107
.replace('#说明', manifest == 404 ? '疑似跑路' : '获取失败')
108+
if (manifest == 404) {
109+
clone.classList.remove('bg-white')
110+
clone.classList.add('bg-red-100')
111+
}
107112
}
108113
return clone
109114
}

0 commit comments

Comments
 (0)