💄 微调UI

This commit is contained in:
目棃
2024-11-24 14:50:06 +08:00
parent f47c1619e8
commit da5fae7e3c
2 changed files with 6 additions and 4 deletions

View File

@@ -30,7 +30,7 @@
</div>
</template>
<script lang="ts" setup>
import { ref, computed, watch, onMounted } from "vue";
import { computed, onMounted, ref, watch } from "vue";
import { AppAchievementSeriesData, AppNameCardsData } from "../../data/index.js";
import TSUserAchi from "../../plugins/Sqlite/modules/userAchi.js";
@@ -161,7 +161,8 @@ function switchAchiInfo(next: boolean): void {
.tua-al-container {
display: flex;
width: 100%;
height: 100%;
height: fit-content;
max-height: 100%;
flex-direction: column;
overflow-y: auto;
row-gap: 10px;

View File

@@ -78,7 +78,7 @@ const avatarBox = computed<TItemBoxData>(() => {
innerText: avatar.name,
innerHeight: 30,
display: "inner",
clickable: false,
clickable: true,
};
});
const weaponBox = computed<TItemBoxData>(() => {
@@ -95,7 +95,7 @@ const weaponBox = computed<TItemBoxData>(() => {
innerText: weapon.name,
innerHeight: 20,
display: "inner",
clickable: false,
clickable: true,
};
});
const relicsBox = computed<AvatarRelics>(() => {
@@ -144,6 +144,7 @@ function getWeaponTitle(): string {
border: 1px inset var(--common-shadow-2);
border-radius: 5px;
background: var(--box-bg-2);
cursor: pointer;
row-gap: 5px;
}