complete none-moe page i18n

This commit is contained in:
KUN1007 2023-06-01 14:22:01 +08:00
parent 753c75b8a0
commit 2672be4595
5 changed files with 36 additions and 40 deletions

View file

@ -64,4 +64,11 @@ export default {
surplusStatus: 'Surplus', surplusStatus: 'Surplus',
surplusAmount: 'Surplus Amount', surplusAmount: 'Surplus Amount',
}, },
nonMoe: {
log: 'Non-moe Record',
title: 'All the non-moe behavior were recorded here, please do not do that',
reason: 'reason',
consequence: 'consequence',
moemoepoint: 'moemoepoint'
},
} }

View file

@ -64,4 +64,11 @@ export default {
surplusStatus: '盈余', surplusStatus: '盈余',
surplusAmount: '盈余金额', surplusAmount: '盈余金额',
}, },
nonMoe: {
log: '不萌记录',
title: '这里记录了迄今为止所有被处罚的记录,希望大家不要这样做',
reason: '原因',
consequence: '后果',
moemoepoint: '萌萌点'
},
} }

View file

@ -12,24 +12,17 @@ import KUNGalgameFooter from '@/components/KUNGalgameFooter.vue'
<!-- 内容区容器 --> <!-- 内容区容器 -->
<div class="container"> <div class="container">
<!-- 页面标题 --> <!-- 页面标题 -->
<div class="title">不萌记录</div> <div class="title">{{ $t('nonMoe.log') }}</div>
<!-- 文章部分 --> <!-- 文章部分 -->
<div class="article"> <div class="article">
<!-- 文章标题 --> <!-- 文章标题 -->
<div class="article-title"> <div class="article-title">
这里记录了迄今为止所有被处罚的记录希望大家不要这样做 {{ $t('nonMoe.title') }}
</div> </div>
<!-- 内容区容器 --> <!-- 内容区容器 -->
<div class="content"> <div class="content">
<!-- 原因处理方式 --> <!-- 所有的记录 -->
<div class="log-title"> <Log />
<span>原因</span>
<span>后果</span>
</div>
<div>
<!-- 所有的记录 -->
<Log />
</div>
</div> </div>
</div> </div>
</div> </div>
@ -72,7 +65,9 @@ import KUNGalgameFooter from '@/components/KUNGalgameFooter.vue'
/* 字体竖直方向分布 */ /* 字体竖直方向分布 */
font-size: 30px; font-size: 30px;
padding: 30px; padding: 30px;
width: 30px; width: 100px;
writing-mode: vertical-rl;
text-orientation: upright;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
@ -81,7 +76,8 @@ import KUNGalgameFooter from '@/components/KUNGalgameFooter.vue'
} }
/* 文章部分 */ /* 文章部分 */
.article { .article {
width: 90%; width: 600px;
flex-shrink: 0;
background-color: $kungalgame-trans-white-3; background-color: $kungalgame-trans-white-3;
border-left: 1px solid $kungalgame-red-4; border-left: 1px solid $kungalgame-red-4;
display: flex; display: flex;
@ -102,30 +98,16 @@ import KUNGalgameFooter from '@/components/KUNGalgameFooter.vue'
overflow-y: scroll; overflow-y: scroll;
padding: 0 10px; padding: 0 10px;
box-sizing: border-box; box-sizing: border-box;
} &::-webkit-scrollbar {
/* 滚动条的样式 */ display: inline;
.content::-webkit-scrollbar { width: 4px;
display: inline; height: 0;
width: 4px; background-color: $kungalgame-red-2;
height: 0; border-radius: 2px;
background-color: $kungalgame-red-2; }
border-radius: 2px; &::-webkit-scrollbar-thumb {
} background: $kungalgame-blue-4;
.content::-webkit-scrollbar-thumb { border-radius: 2px;
background: $kungalgame-blue-4; }
border-radius: 2px;
}
/* 原因、处理方式 */
.log-title {
top: 0;
padding-top: 20px;
height: 40px;
/* 相对于标题粘滞定位 */
position: sticky;
display: flex;
justify-content: space-between;
}
.copyright {
margin: 10px auto;
} }
</style> </style>

View file

@ -1,5 +1,5 @@
<script setup lang="ts"> <script setup lang="ts">
import { log } from '../log' import { log } from './log'
</script> </script>
<template> <template>
@ -8,7 +8,7 @@ import { log } from '../log'
<!-- 原因 --> <!-- 原因 -->
<div class="reason">{{ kun.reason }}</div> <div class="reason">{{ kun.reason }}</div>
<!-- 后果 --> <!-- 后果 -->
<div class="result">萌萌点 - {{ kun.result }}</div> <div class="result">{{ $t('nonMoe.moemoepoint') }} - {{ kun.result }}</div>
</div> </div>
</template> </template>