From 20032a539f21f39ae19ebb65883a0ccc4df844fc Mon Sep 17 00:00:00 2001 From: KUN1007 Date: Sun, 22 Oct 2023 21:41:49 +0800 Subject: [PATCH] feat: user page null --- src/views/donate/Donate.vue | 14 ++++++++++---- src/views/kungalgamer/content/Topic.vue | 14 ++++++++++++++ 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/src/views/donate/Donate.vue b/src/views/donate/Donate.vue index b3f1f380..8bfdcf9b 100644 --- a/src/views/donate/Donate.vue +++ b/src/views/donate/Donate.vue @@ -50,6 +50,7 @@ const handleClickDonate = () => { background-color: var(--kungalgame-white); color: var(--kungalgame-font-color-3); } + .container { /* 固定宽高 */ width: 400px; @@ -63,11 +64,13 @@ const handleClickDonate = () => { padding: 20px; position: relative; border-radius: 7px; + + &:hover { + box-shadow: var(--kungalgame-shadow-1); + transition: 0.3s; + } } -.container:hover { - box-shadow: var(--kungalgame-shadow-1); - transition: 0.3s; -} + .title { /* 固定高度 */ height: 77px; @@ -78,9 +81,12 @@ const handleClickDonate = () => { margin-bottom: 30px; font-size: 30px; } + .warning span { + text-transform: uppercase; color: var(--kungalgame-red-5); } + /* 按钮的样式 */ .btn { margin-top: 40px; diff --git a/src/views/kungalgamer/content/Topic.vue b/src/views/kungalgamer/content/Topic.vue index effbe175..b037f9fa 100644 --- a/src/views/kungalgamer/content/Topic.vue +++ b/src/views/kungalgamer/content/Topic.vue @@ -102,6 +102,14 @@ onMounted(async () => { + + +
+ {{ $tm('user.profile.null') }} +
@@ -174,4 +182,10 @@ onMounted(async () => { white-space: nowrap; text-overflow: ellipsis; } + +.null { + margin: auto; + color: var(--kungalgame-blue-2); + font-style: oblique; +}