Refine styles for pages (#31)

This commit is contained in:
AceDataCloud committed 2024-01-03 20:21:07 +08:00
1 parent 5b8b46b76b
commit 97f914c7e4
14 files changed
+60 -56

No files matched your search

+8 -4
View File
@@ -128,15 +128,19 @@
<el-divider class="mt-4 mb-4" />
<div class="clear-both overflow-hidden">
<div class="float-left description">
<p>{{ $t('distribution.title.currentLevel') }}: L{{ distributionStatus?.level?.level }}</p>
<p>
<p class="mt-0">
{{ $t('distribution.title.currentLevel') }}: L{{ distributionStatus?.level?.level }}
</p>
<p class="mt-0">
{{ $t('distribution.title.currentPercentage') }}:
{{ distributionLevelMap[distributionStatus?.level?.level!]?.percentage }}%
</p>
</div>
<div class="float-right description">
<p>{{ $t('distribution.title.nextLevel') }}: L{{ distributionStatus?.level?.level! + 1 }}</p>
<p>
<p class="mt-0">
{{ $t('distribution.title.nextLevel') }}: L{{ distributionStatus?.level?.level! + 1 }}
</p>
<p class="mt-0">
{{ $t('distribution.title.nextPercentage') }}:
{{ distributionLevelMap[distributionStatus?.level?.level! + 1]?.percentage }}%
</p>
+10 -27
View File
@@ -218,35 +218,18 @@ export default defineComponent({
</script>
<style lang="scss" scoped>
.page {
width: 100%;
.operation {
flex: 1;
padding: 15px;
height: 100%;
display: flex;
flex-direction: row;
.presets {
width: 260px;
height: 100%;
overflow-y: scroll;
overflow-x: scroll;
.title {
font-size: 14px;
margin-bottom: 10px;
}
.main {
flex: 1;
padding: 15px;
height: 100%;
overflow-x: scroll;
.title {
font-size: 14px;
margin-bottom: 10px;
}
.btn.btn-generate {
width: 80px;
border-radius: 20px;
}
}
.result {
overflow-y: scroll;
width: 400px;
height: 100%;
border-left: 1px solid var(--el-border-color);
.btn.btn-generate {
width: 80px;
border-radius: 20px;
}
}
</style>