diff --git a/src/components/userAchi/tua-achi-list.vue b/src/components/userAchi/tua-achi-list.vue index b54ba841..5e1a4a88 100644 --- a/src/components/userAchi/tua-achi-list.vue +++ b/src/components/userAchi/tua-achi-list.vue @@ -54,13 +54,16 @@ type TuaAchiListEmits = { const props = defineProps(); const emits = defineEmits(); + const nameCard = ref(); const showNc = ref(false); const showOverlay = ref(false); const isFinish = ref(false); + const ncData = shallowRef(); const achievements = shallowRef>([]); const selectedAchi = shallowRef(); + const renderAchi = computed>(() => { if (props.hideFin) return achievements.value.filter((a) => !a.isCompleted); return achievements.value; @@ -183,8 +186,4 @@ function switchAchiInfo(next: boolean): void { .dark .card-arrow { filter: invert(11%) sepia(73%) saturate(11%) hue-rotate(139deg) brightness(97%) contrast(81%); } - -.unfinish { - filter: grayscale(1); -} diff --git a/src/components/userAchi/tua-achi.vue b/src/components/userAchi/tua-achi.vue index 62ce7b7e..030b8beb 100644 --- a/src/components/userAchi/tua-achi.vue +++ b/src/components/userAchi/tua-achi.vue @@ -11,11 +11,13 @@
- +
{{ data.name }} - {{ data.progress }} - - {{ data.description }} + + {{ data.progress }} + +
+
{{ data.description }}
@@ -155,24 +157,30 @@ async function setAchiStat(stat: boolean): Promise { align-items: flex-start; justify-content: center; text-align: left; -} -.achi-pre-info :nth-child(1) { - display: flex; - align-items: flex-end; - column-gap: 4px; - font-family: var(--font-title); - font-size: 14px; -} + &__title { + display: flex; + align-items: flex-end; + column-gap: 4px; + font-family: var(--font-title); + font-size: 14px; + } -.achi-pre-info :nth-child(1) :nth-child(2) { - color: var(--tgc-blue-2); - font-size: 12px; -} + &__desc { + font-size: 12px; + opacity: 0.8; + } -.achi-pre-info :nth-child(2) { - font-size: 12px; - opacity: 0.8; + &__progress { + @include github-styles.github-tag-dark-gen(#00aeec); + padding: 0 4px; + border-radius: 4px; + height: 21px; + display: flex; + align-items: center; + justify-content: center; + font-size: 12px; + } } .achi-append-icon span { diff --git a/src/components/userCombat/tuc-overview.vue b/src/components/userCombat/tuc-overview.vue index d3f76f7e..9de3c3a1 100644 --- a/src/components/userCombat/tuc-overview.vue +++ b/src/components/userCombat/tuc-overview.vue @@ -23,6 +23,8 @@ const props = defineProps(); function getTitle(): string { switch (props.data.difficulty_id) { + case 0: + return "未选择"; case 1: return "轻简模式"; case 2: