From 5aca74e056e692f8193bc4220f3e2dbed4099cac Mon Sep 17 00:00:00 2001 From: Kunagisa <1549184870@qq.com> Date: Fri, 6 Jun 2025 15:31:11 +0800 Subject: [PATCH] =?UTF-8?q?index=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 5 +++ src/views/index.vue | 1 + src/views/index/ActiveAuthor.vue | 61 ++++++++++++++++++++++++++++++++ src/views/index/MapDetail.vue | 24 +++++++++++++ 4 files changed, 91 insertions(+) create mode 100644 src/views/index/ActiveAuthor.vue diff --git a/src/router/index.js b/src/router/index.js index 894e101..4688309 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -36,6 +36,11 @@ const routes = [ name: 'MapDetail', component: () => import('@/views/index/MapDetail.vue') }, + { + path: 'author', + name: 'ActiveAuthor', + component: () => import('@/views/index/ActiveAuthor.vue') + }, { path: 'weapon-match', name: 'WeaponMatch', diff --git a/src/views/index.vue b/src/views/index.vue index 9698867..1cb2184 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -62,6 +62,7 @@ onMounted(() => {
@@ -226,6 +227,29 @@ onMounted(() => { background: #0056b3; } +.score-btn { + display: inline-block; + width: 100%; + padding: 12px; + background: #a8d1fb; + color: white; + text-align: center; + text-decoration: none; + border-radius: 5px; + transition: background 0.2s; + font-size: 1rem; +} + +.score-btn:hover { + background: #6c8bb9; +} + +.actions { + display: flex; + flex-direction: column; + gap: 12px; +} + @media (max-width: 480px) { .info-grid { grid-template-columns: 1fr;