修改关闭按钮

This commit is contained in:
fuhl 2023-04-19 11:24:36 +08:00
parent 2c9199d2c2
commit c5af92fa04

View File

@ -98,7 +98,7 @@ function useSwitchTheme() {
//用于关闭广告的
const closeDiv = document.createElement("div");
closeDiv.style.width = "15%";
closeDiv.style.width = "6%";
closeDiv.style.height = "3%";
//居右
closeDiv.style.float = "right";
@ -106,7 +106,7 @@ function useSwitchTheme() {
//显示关闭按钮
const span = document.createElement("span");
span.innerText = "关闭 ×";
span.innerText = "×";
//把span加入div
closeDiv.appendChild(span);
@ -193,7 +193,7 @@ function useSwitchTheme() {
//用于关闭广告的
const closeDiv = document.createElement("div");
closeDiv.style.width = "15%";
closeDiv.style.width = "6%";
closeDiv.style.height = "3%";
//居右
closeDiv.style.float = "right";
@ -201,7 +201,7 @@ function useSwitchTheme() {
//显示关闭按钮
const span = document.createElement("span");
span.innerText = "关闭 ×";
span.innerText = "×";
//把span加入div
closeDiv.appendChild(span);