From 1c19a26e5cfb506e5f297fff2e68b8fa6fddfa1e Mon Sep 17 00:00:00 2001 From: Leonmmcoset Date: Sun, 13 Jul 2025 12:42:31 +0800 Subject: [PATCH] =?UTF-8?q?fix(config):=20=E6=B7=BB=E5=8A=A0=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E5=92=8CSMTP=E7=9A=84=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit feat(app): 改进年龄分级图标样式并添加平台支持 --- app.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/app.php b/app.php index 8ce5b17..a3cfca5 100644 --- a/app.php +++ b/app.php @@ -198,12 +198,13 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['rating'])) {

年龄分级: '; $esrbIcons = [ - '3+' => '3+', - '7+' => '7+', - '12+' => '12+', - '16+' => '16+', - '18+' => '18+' + '3+' => "{$svgHeader}3+", + '7+' => "{$svgHeader}7+", + '12+' => "{$svgHeader}12+", + '16+' => "{$svgHeader}16+", + '18+' => "{$svgHeader}18+" ]; echo isset($esrbIcons[$app['age_rating']]) ? $esrbIcons[$app['age_rating']] : ''; ?>

@@ -234,6 +235,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['rating'])) { 'macos' => 'MacOS', 'linux_arch' => 'Linux(适用于Arch Linux)', 'linux_ubuntu' => 'Linux(适用于Ubuntu)', + 'windows' => 'Windows', + 'linux' => 'Linux', ]; $platformTexts = [];