This commit is contained in:
Aiden 2024-10-25 15:06:31 +08:00
parent ea22d49c60
commit dcd90f4c7f
3 changed files with 15 additions and 3 deletions

View File

@ -115,7 +115,11 @@ onLoad((options) => {
if (window.plus) {
const token = plus?.webview.getWebviewById("wv").tokenScan;
if (token) {
document.querySelector(".uni-page-head-hd").style.display = "none";
const header = document.querySelector(".uni-page-head-hd");
console.log("header", header);
if (header) {
header.style.display = "none";
}
}
}

View File

@ -165,7 +165,11 @@ onLoad((options) => {
if (window.plus) {
const token = plus?.webview.getWebviewById("wv").tokenScan;
if (token) {
document.querySelector(".uni-page-head-hd").style.display = "none";
const header = document.querySelector(".uni-page-head-hd");
console.log("header", header);
if (header) {
header.style.display = "none";
}
}
}
state.id = options.id;

View File

@ -72,7 +72,11 @@ onLoad((options) => {
if (window.plus) {
const token = plus?.webview.getWebviewById("wv").tokenScan;
if (token) {
document.querySelector(".uni-page-head-hd").style.display = "none";
const header = document.querySelector(".uni-page-head-hd");
console.log("header", header);
if (header) {
header.style.display = "none";
}
}
}
state.id = options.id;