This repository has been archived by the owner on Jun 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
93 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# 新增 | ||
1. 清除所有收集到的快照链接功能 | ||
1. 使用`插件检测更新API`插件为本插件提供自更新功能,请安装此插件以正常使用本插件 | ||
2. 升级内置的`GKD网络审查工具复制增强`脚本 | ||
3. 修改了文件的写出方式 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
const detailTable = ` | ||
<table id="detailTable" class="list"> | ||
<thead> | ||
<tr> | ||
<th>快照链接</th> | ||
<th>适配情况</th> | ||
<th>操作</th> | ||
</tr> | ||
</thead> | ||
<tbody id="detailBody"></tbody> | ||
</table>`; | ||
document.getElementById('listDiv').innerHTML = detailTable; | ||
Check failure on line 12 in src/scripts/detailScript.js GitHub Actions / build
|
||
|
||
axios.get('./config.json').then((data) => { | ||
Check failure on line 14 in src/scripts/detailScript.js GitHub Actions / build
|
||
data = data.data; | ||
let index = 0; | ||
let tbody = ''; | ||
data.data.forEach((d) => { | ||
const eachSnapshot = ` | ||
<tr> | ||
<td>${d.snapshotUrl}</td> | ||
<td> | ||
<div>${d.status}</div> | ||
<button onclick="status(${index}, 0);">未适配</button> | ||
<button onclick="status(${index}, 1);">已适配</button> | ||
<button onclick="status(${index}, 2);">无activityId</button> | ||
<button onclick="status(${index}, 3);">现有规则有效</button> | ||
<button onclick="status(${index}, 4);">无法适配</button> | ||
<button onclick="status(${index}, 5);">不予适配</button> | ||
</td> | ||
<td> | ||
<button onclick='review("${d.snapshotUrl}");'>审查</button> | ||
</td> | ||
</tr> | ||
`; | ||
index++; | ||
tbody += eachSnapshot; | ||
}); | ||
document.getElementById('detailBody').innerHTML = tbody; | ||
Check failure on line 39 in src/scripts/detailScript.js GitHub Actions / build
|
||
}); | ||
|
||
function review(snapshot){ | ||
window.open(snapshot); | ||
Check failure on line 43 in src/scripts/detailScript.js GitHub Actions / build
|
||
} | ||
|
||
function status(index, statusNumber){ | ||
window.open(`${String(index)}/${String(statusNumber)}/status`); | ||
Check failure on line 47 in src/scripts/detailScript.js GitHub Actions / build
|
||
} |
This file was deleted.
Oops, something went wrong.