chore: 改用 logo.png 并放大 Logo 显示尺寸

三端引用切换为 packages/shared/public/logo.png,显示高度加倍,移除占位 logo.svg 与根目录误放的 logo.png。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-02 15:15:10 +08:00
parent 000bd8c956
commit 7af2e418c3
8 changed files with 8 additions and 11 deletions

View File

@@ -24,7 +24,7 @@ const menus = [
<el-container style="min-height: 100vh"> <el-container style="min-height: 100vh">
<el-aside width="200px" style="background: #1a2332"> <el-aside width="200px" style="background: #1a2332">
<div style="padding: 20px"> <div style="padding: 20px">
<img src="/logo.svg" alt="TheBet365" style="height: 28px; width: auto; display: block" /> <img src="/logo.png" alt="TheBet365" style="height: 56px; width: auto; display: block" />
<div style="margin-top: 8px; font-size: 12px; color: #888">平台后台</div> <div style="margin-top: 8px; font-size: 12px; color: #888">平台后台</div>
</div> </div>
<el-menu background-color="#1a2332" text-color="#ccc" active-text-color="#00a826" :default-active="route.path"> <el-menu background-color="#1a2332" text-color="#ccc" active-text-color="#00a826" :default-active="route.path">

View File

@@ -26,7 +26,7 @@ async function login() {
<div style="min-height: 100vh; display: flex; align-items: center; justify-content: center"> <div style="min-height: 100vh; display: flex; align-items: center; justify-content: center">
<el-card style="width: 400px"> <el-card style="width: 400px">
<div style="text-align: center; margin-bottom: 24px"> <div style="text-align: center; margin-bottom: 24px">
<img src="/logo.svg" alt="TheBet365" style="height: 32px; width: auto" /> <img src="/logo.png" alt="TheBet365" style="height: 64px; width: auto" />
<h2 style="margin-top: 12px; font-size: 16px; font-weight: 500">平台后台登录</h2> <h2 style="margin-top: 12px; font-size: 16px; font-weight: 500">平台后台登录</h2>
</div> </div>
<el-form @submit.prevent="login"> <el-form @submit.prevent="login">

View File

@@ -12,7 +12,7 @@ function logout() {
<el-container style="min-height: 100vh"> <el-container style="min-height: 100vh">
<el-aside width="180px" style="background: #1a2332"> <el-aside width="180px" style="background: #1a2332">
<div style="padding: 16px"> <div style="padding: 16px">
<img src="/logo.svg" alt="TheBet365" style="height: 24px; width: auto; display: block" /> <img src="/logo.png" alt="TheBet365" style="height: 48px; width: auto; display: block" />
<div style="margin-top: 8px; font-size: 12px; color: #888">代理后台</div> <div style="margin-top: 8px; font-size: 12px; color: #888">代理后台</div>
</div> </div>
<el-menu background-color="#1a2332" text-color="#ccc" active-text-color="#00a826"> <el-menu background-color="#1a2332" text-color="#ccc" active-text-color="#00a826">

View File

@@ -22,7 +22,7 @@ async function login() {
<div style="min-height: 100vh; display: flex; align-items: center; justify-content: center"> <div style="min-height: 100vh; display: flex; align-items: center; justify-content: center">
<el-card style="width: 360px"> <el-card style="width: 360px">
<div style="text-align: center; margin-bottom: 20px"> <div style="text-align: center; margin-bottom: 20px">
<img src="/logo.svg" alt="TheBet365" style="height: 32px; width: auto" /> <img src="/logo.png" alt="TheBet365" style="height: 64px; width: auto" />
<h2 style="margin-top: 12px; font-size: 16px; font-weight: 500">代理后台登录</h2> <h2 style="margin-top: 12px; font-size: 16px; font-weight: 500">代理后台登录</h2>
</div> </div>
<el-form @submit.prevent="login" style="margin-top: 0"> <el-form @submit.prevent="login" style="margin-top: 0">

View File

@@ -27,7 +27,7 @@ function setLocale(code: string) {
<template> <template>
<div class="layout"> <div class="layout">
<header class="header"> <header class="header">
<img src="/logo.svg" alt="TheBet365" class="logo" /> <img src="/logo.png" alt="TheBet365" class="logo" />
<div class="header-actions"> <div class="header-actions">
<select :value="locale" @change="setLocale(($event.target as HTMLSelectElement).value)" class="lang-select"> <select :value="locale" @change="setLocale(($event.target as HTMLSelectElement).value)" class="lang-select">
<option v-for="l in locales" :key="l.code" :value="l.code">{{ l.label }}</option> <option v-for="l in locales" :key="l.code" :value="l.code">{{ l.label }}</option>
@@ -61,7 +61,7 @@ function setLocale(code: string) {
display: flex; justify-content: space-between; align-items: center; display: flex; justify-content: space-between; align-items: center;
padding: 12px 16px; background: #1a2332; border-bottom: 1px solid var(--border); padding: 12px 16px; background: #1a2332; border-bottom: 1px solid var(--border);
} }
.logo { height: 24px; width: auto; display: block; } .logo { height: 48px; width: auto; display: block; }
.header-actions { display: flex; gap: 12px; align-items: center; } .header-actions { display: flex; gap: 12px; align-items: center; }
.lang-select { background: var(--bg-card); color: #fff; border: 1px solid var(--border); padding: 4px 8px; border-radius: 4px; width: auto; } .lang-select { background: var(--bg-card); color: #fff; border: 1px solid var(--border); padding: 4px 8px; border-radius: 4px; width: auto; }
.balance { font-size: 13px; color: var(--text-muted); } .balance { font-size: 13px; color: var(--text-muted); }

View File

@@ -28,7 +28,7 @@ async function submit() {
<template> <template>
<div class="login-page"> <div class="login-page">
<img src="/logo.svg" alt="TheBet365" class="logo" /> <img src="/logo.png" alt="TheBet365" class="logo" />
<form @submit.prevent="submit" class="login-form"> <form @submit.prevent="submit" class="login-form">
<label>{{ t('auth.username') }}</label> <label>{{ t('auth.username') }}</label>
<input v-model="username" required /> <input v-model="username" required />
@@ -47,7 +47,7 @@ async function submit() {
min-height: 100vh; display: flex; flex-direction: column; min-height: 100vh; display: flex; flex-direction: column;
align-items: center; justify-content: center; padding: 24px; align-items: center; justify-content: center; padding: 24px;
} }
.logo { height: 40px; width: auto; margin-bottom: 32px; } .logo { height: 80px; width: auto; margin-bottom: 32px; }
.login-form { width: 100%; max-width: 320px; display: flex; flex-direction: column; gap: 12px; } .login-form { width: 100%; max-width: 320px; display: flex; flex-direction: column; gap: 12px; }
label { font-size: 13px; color: var(--text-muted); } label { font-size: 13px; color: var(--text-muted); }
.error { color: var(--danger); font-size: 13px; } .error { color: var(--danger); font-size: 13px; }

View File

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

View File

@@ -1,3 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 40" fill="none" role="img" aria-label="TheBet365">
<text x="0" y="30" font-family="Arial, Helvetica, sans-serif" font-size="28" font-weight="800" fill="#00a826">TheBet365</text>
</svg>

Before

Width:  |  Height:  |  Size: 244 B