From b87f3009376e41f7791d34a9ca2b197c5152f905 Mon Sep 17 00:00:00 2001 From: KUN1007 Date: Wed, 31 May 2023 23:10:26 +0800 Subject: [PATCH] update log page i18n, fix top bar and settings panel BUG --- .../setting-panel/components/Background.vue | 1 + .../setting-panel/components/Loli.vue | 2 +- src/language/en.ts | 8 + src/language/zh.ts | 8 + src/views/balance/components/Exp.vue | 207 ------------------ src/views/update-log/UpdateLog.vue | 4 +- src/views/update-log/components/Next.vue | 45 ++-- 7 files changed, 49 insertions(+), 226 deletions(-) delete mode 100644 src/views/balance/components/Exp.vue diff --git a/src/components/setting-panel/components/Background.vue b/src/components/setting-panel/components/Background.vue index d828731b..ac18520a 100644 --- a/src/components/setting-panel/components/Background.vue +++ b/src/components/setting-panel/components/Background.vue @@ -157,6 +157,7 @@ const handleCustomBackground = () => { flex-shrink: 0; padding: 0 10px; height: 25px; + width: 70px; box-sizing: border-box; border: 1px solid $kungalgame-blue-4; border-left: none; diff --git a/src/components/setting-panel/components/Loli.vue b/src/components/setting-panel/components/Loli.vue index 3d9da180..56c11a87 100644 --- a/src/components/setting-panel/components/Loli.vue +++ b/src/components/setting-panel/components/Loli.vue @@ -38,7 +38,7 @@ import { position: fixed; z-index: 9999; top: -250px; - left: 120px; + left: 150px; } .lass { position: absolute; diff --git a/src/language/en.ts b/src/language/en.ts index d78a2eca..e4863793 100644 --- a/src/language/en.ts +++ b/src/language/en.ts @@ -44,4 +44,12 @@ export default { master: 'Other Topics of The Master', }, }, + update: { + next: 'Next Version', + update: 'Update Info', + info: 'Update Preview / More Info', + visit: 'Click to visit github', + time: 'Estimated update time', + history: 'History Version', + }, } diff --git a/src/language/zh.ts b/src/language/zh.ts index 5e158c5e..ae0cb28d 100644 --- a/src/language/zh.ts +++ b/src/language/zh.ts @@ -44,4 +44,12 @@ export default { master: '楼主的其它帖子', }, }, + update: { + next: '下个版本', + update: '更新信息', + info: '更新预览 / 更多信息', + visit: '点击访问 github', + time: '预计更新时间', + history: '历史版本', + }, } diff --git a/src/views/balance/components/Exp.vue b/src/views/balance/components/Exp.vue deleted file mode 100644 index f6fc8e55..00000000 --- a/src/views/balance/components/Exp.vue +++ /dev/null @@ -1,207 +0,0 @@ - - - - - diff --git a/src/views/update-log/UpdateLog.vue b/src/views/update-log/UpdateLog.vue index b7eec4d8..c573a471 100644 --- a/src/views/update-log/UpdateLog.vue +++ b/src/views/update-log/UpdateLog.vue @@ -18,13 +18,13 @@ import KUNGalgameFooter from '@/components/KUNGalgameFooter.vue'
-
下个版本
+
{{ $t('update.next') }}
-
历史版本
+
{{ $t('update.history') }}
diff --git a/src/views/update-log/components/Next.vue b/src/views/update-log/components/Next.vue index b099c53e..feb10dbe 100644 --- a/src/views/update-log/components/Next.vue +++ b/src/views/update-log/components/Next.vue @@ -1,24 +1,32 @@ - + @@ -42,25 +50,30 @@ } /* 更新预览 */ .preview { - margin-top: 100px; + margin-top: 70px; display: flex; flex-direction: column; justify-content: center; align-items: center; - & > a { - margin-top: 10px; - color: $kungalgame-blue-4; - border-bottom: 2px solid $kungalgame-trans-white-8; - cursor: pointer; - &:hover { - border-bottom: 2px solid $kungalgame-blue-4; - } +} +.github { + margin-top: 10px; + color: $kungalgame-blue-4; + border-bottom: 2px solid $kungalgame-trans-white-8; + cursor: pointer; + &:hover { + border-bottom: 2px solid $kungalgame-blue-4; } } /* 预计更新时间 */ .time { - margin-top: 80px; + margin-top: 20px; display: flex; justify-content: center; } +.icon { + margin-top: 20px; + font-size: 50px; + color: $kungalgame-font-color-2; +}