diff --git a/src/components/app/t-itemBox.vue b/src/components/app/t-itemBox.vue index c3413bc7..3974d26c 100644 --- a/src/components/app/t-itemBox.vue +++ b/src/components/app/t-itemBox.vue @@ -145,6 +145,7 @@ const props = defineProps(); display: flex; width: 100%; height: v-bind("props.modelValue.innerHeight ?? 0") px; + flex-shrink: 0; align-items: center; justify-content: center; -webkit-backdrop-filter: blur(v-bind("props.modelValue.innerBlur ?? 0")); diff --git a/src/components/app/t-sidebar.vue b/src/components/app/t-sidebar.vue index 896b67cc..b13e185d 100644 --- a/src/components/app/t-sidebar.vue +++ b/src/components/app/t-sidebar.vue @@ -79,7 +79,7 @@ - + - + - + @@ -57,10 +55,10 @@ function getEndHint(): string { } const progressColor = computed(() => { - if (hint === "UP" && props.data.rank === "5") return "var(--tgc-od-orange)"; - if (hint === "UP" && props.data.rank === "4") return "var(--tgc-od-purple)"; - if (hint === "歪") return "var(--tgc-od-red)"; - return "var(--tgc-od-blue)"; + if (hint === "UP" && props.data.rank === "5") return "#d19a66"; + if (hint === "UP" && props.data.rank === "4") return "#c678dd"; + if (hint === "歪") return "#e06c75"; + return "#61afef"; }); const progressWidth = computed(() => { let final = 10; @@ -72,19 +70,20 @@ const progressWidth = computed(() => { return ((props.count / final) * 100).toFixed(2) + "%"; }); - diff --git a/src/components/userGacha/gro-history.vue b/src/components/userGacha/gro-history.vue index a19788a7..13f5d99c 100644 --- a/src/components/userGacha/gro-history.vue +++ b/src/components/userGacha/gro-history.vue @@ -50,7 +50,6 @@ onMounted(() => { height: 100%; align-items: center; justify-content: space-between; - column-gap: 10px; } .gro-tabs { @@ -71,7 +70,7 @@ onMounted(() => { flex-direction: row; align-items: center; justify-content: space-between; - padding-right: 10px; + padding-right: 8px; overflow-y: scroll; } @@ -87,6 +86,6 @@ onMounted(() => { flex-direction: column; align-items: center; justify-content: center; - row-gap: 10px; + row-gap: 8px; } diff --git a/src/components/userGacha/gro-overview.vue b/src/components/userGacha/gro-overview.vue index 8585a446..a391f696 100644 --- a/src/components/userGacha/gro-overview.vue +++ b/src/components/userGacha/gro-overview.vue @@ -49,16 +49,14 @@ function getCnCols(): string { // 监听数据变化 watch( () => props.modelValue, - () => { - cnCols.value = getCnCols(); - }, + () => (cnCols.value = getCnCols()), ); diff --git a/src/components/userGacha/ug-his-card.vue b/src/components/userGacha/ug-his-card.vue index 15f12fe5..17564030 100644 --- a/src/components/userGacha/ug-his-card.vue +++ b/src/components/userGacha/ug-his-card.vue @@ -127,26 +127,29 @@ function getBox(id: number): TItemBoxData { } diff --git a/src/components/viewPost/vp-reply-item.vue b/src/components/viewPost/vp-reply-item.vue index f71c8917..bb07662e 100644 --- a/src/components/viewPost/vp-reply-item.vue +++ b/src/components/viewPost/vp-reply-item.vue @@ -344,7 +344,7 @@ async function handleUser(): Promise { .tpr-content { position: relative; - max-width: 100%; + width: 100%; } .tpr-info { diff --git a/src/pages/User/Gacha.vue b/src/pages/User/Gacha.vue index 371adcd0..64ea57aa 100644 --- a/src/pages/User/Gacha.vue +++ b/src/pages/User/Gacha.vue @@ -1,30 +1,41 @@