parent
9b5b430997
commit
a726e4d8b3
@ -253,9 +253,9 @@ const getRankBadgeClass = (rank) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 跳转到后台管理
|
// 跳转到后台管理
|
||||||
const goToAdmin = () => {
|
// const goToAdmin = () => {
|
||||||
router.push('/admin')
|
// router.push('/admin')
|
||||||
}
|
// }
|
||||||
|
|
||||||
// 页面加载时初始化
|
// 页面加载时初始化
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
@ -275,7 +275,6 @@ onMounted(() => {
|
|||||||
<div class="header-section">
|
<div class="header-section">
|
||||||
<div class="title-wrapper">
|
<div class="title-wrapper">
|
||||||
<h1 class="main-title">AI棒榜</h1>
|
<h1 class="main-title">AI棒榜</h1>
|
||||||
<button class="admin-btn" @click="goToAdmin">管理</button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@ -461,10 +460,7 @@ onMounted(() => {
|
|||||||
gap: 10px;
|
gap: 10px;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.logo-icon {
|
|
||||||
width: 40px;
|
|
||||||
height: 40px;
|
|
||||||
}
|
|
||||||
.main-title {
|
.main-title {
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
@ -473,25 +469,6 @@ onMounted(() => {
|
|||||||
font-family: Alatsi, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', SimHei, Arial, Helvetica, sans-serif;
|
font-family: Alatsi, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', SimHei, Arial, Helvetica, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.admin-btn {
|
|
||||||
position: absolute;
|
|
||||||
right: 20px;
|
|
||||||
top: 50%;
|
|
||||||
transform: translateY(-50%);
|
|
||||||
background: #4a90e2;
|
|
||||||
color: white;
|
|
||||||
border: none;
|
|
||||||
border-radius: 6px;
|
|
||||||
padding: 6px 12px;
|
|
||||||
font-size: 12px;
|
|
||||||
cursor: pointer;
|
|
||||||
transition: background-color 0.3s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.admin-btn:hover {
|
|
||||||
background: #357abd;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* 横幅区域 */
|
/* 横幅区域 */
|
||||||
.banner-section {
|
.banner-section {
|
||||||
margin: 20px 16px;
|
margin: 20px 16px;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user