From 1e3ebcf2437299aab9ae15c6e9c9d81fc2763048 Mon Sep 17 00:00:00 2001 From: BTMuli Date: Mon, 22 May 2023 13:23:44 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20=E4=BC=98=E5=8C=96=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=EF=BC=8C=E5=A2=9E=E5=8A=A0=E5=8F=AF=E8=AF=BB=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/web/utils/parseAnno.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/web/utils/parseAnno.ts b/src/web/utils/parseAnno.ts index 4f3ad9de..9bcd30af 100644 --- a/src/web/utils/parseAnno.ts +++ b/src/web/utils/parseAnno.ts @@ -2,14 +2,14 @@ * @file web utils parseAnno.ts * @description 解析游戏内公告数据 * @author BTMuli - * @since Alpha v0.1.2 + * @since Alpha v0.1.5 */ import { decodeRegExp } from "./tools"; /** * @description 解析游戏内公告数据 - * @since Alpha v0.1.2 + * @since Alpha v0.1.5 * @param {string} data 游戏内公告数据 * @returns {string} 解析后的数据 */ @@ -57,5 +57,8 @@ export function parseAnnoContent (data: string): string { a.target = "_blank"; } }); + htmlBase.querySelectorAll("table").forEach((table) => { + table.style.borderColor = "#546d8b"; + }); return htmlBase.body.innerHTML; }