-
+
+
+
+
+ {{ t('h5.price.resultCount', { n: sortedResults.length }) }}
+ ·
+ {{ resultsBarTip }}
+
+
+
+
+
+
@@ -454,10 +456,9 @@
-
-
+
@@ -2034,11 +2037,6 @@ onMounted(() => {
margin-top: 12px;
}
-.h5-ai-panel--in {
- animation: h5-soft-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
- animation-delay: 0.18s;
-}
-
.h5-ai-entry {
width: 100%;
height: 40px;
@@ -2467,21 +2465,42 @@ onMounted(() => {
}
.h5-price-results {
+ position: relative;
margin-top: 10px;
}
+/* 查价成功:骨架渐出、报价渐入,同时进行 */
+.h5-stage-enter-active,
+.h5-stage-leave-active {
+ transition: opacity 0.42s ease;
+}
+
+.h5-stage-enter-active {
+ z-index: 1;
+ transition-timing-function: ease-out;
+ transition-duration: 0.48s;
+}
+
+.h5-stage-leave-active {
+ position: absolute;
+ z-index: 0;
+ top: 0;
+ right: 0;
+ left: 0;
+ transition-timing-function: ease-in;
+ transition-duration: 0.32s;
+ pointer-events: none;
+}
+
+.h5-stage-enter-from,
+.h5-stage-leave-to {
+ opacity: 0;
+}
+
.h5-results-bar {
margin-bottom: 8px;
}
-.h5-results-bar--in {
- animation: h5-soft-in 0.32s cubic-bezier(0.22, 1, 0.36, 1) both;
-}
-
-.h5-empty--in {
- animation: h5-soft-in 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
-}
-
.h5-results-bar__row {
display: flex;
align-items: center;
@@ -2548,8 +2567,6 @@ onMounted(() => {
border-radius: 16px;
background: #fff;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
- animation: h5-soft-in 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
- animation-delay: calc(var(--i, 0) * 55ms);
}
.h5-quote-skel__head {
@@ -2646,11 +2663,6 @@ onMounted(() => {
text-align: left;
transition: transform 0.2s ease, box-shadow 0.2s ease;
- &--reveal {
- animation: h5-quote-reveal 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
- animation-delay: calc(var(--i, 0) * 48ms);
- }
-
&--ai {
box-shadow:
0 0 0 1.5px color-mix(in srgb, var(--app-primary-color) 45%, transparent),
@@ -2816,7 +2828,6 @@ onMounted(() => {
white-space: nowrap;
font-variant-numeric: tabular-nums;
line-height: 1.1;
- will-change: filter, opacity, transform;
small {
font-size: 12px;
@@ -2830,56 +2841,6 @@ onMounted(() => {
}
}
-/* 价格:模糊 → 清晰(后于卡片半拍) */
-.h5-quote--reveal .h5-quote__price {
- animation: h5-price-figure 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
- animation-delay: calc(var(--i, 0) * 48ms + 90ms);
-}
-
-.h5-quote--reveal .ref-label {
- animation: h5-soft-in 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
- animation-delay: calc(var(--i, 0) * 48ms + 140ms);
-}
-
-@keyframes h5-soft-in {
- from {
- opacity: 0;
- transform: translateY(6px);
- }
- to {
- opacity: 1;
- transform: translateY(0);
- }
-}
-
-@keyframes h5-quote-reveal {
- from {
- opacity: 0;
- transform: translateY(10px);
- }
- to {
- opacity: 1;
- transform: translateY(0);
- }
-}
-
-@keyframes h5-price-figure {
- from {
- opacity: 0.25;
- filter: blur(6px);
- transform: translateY(3px) scale(0.99);
- }
- 55% {
- opacity: 1;
- filter: blur(1.2px);
- }
- to {
- opacity: 1;
- filter: blur(0);
- transform: translateY(0) scale(1);
- }
-}
-
@keyframes h5-skel-shimmer {
0% {
background-position: 100% 0;
@@ -2905,22 +2866,15 @@ onMounted(() => {
}
@media (prefers-reduced-motion: reduce) {
- .h5-results-bar--in,
- .h5-empty--in,
- .h5-ai-panel--in,
- .h5-quote-skel,
- .h5-quote--reveal,
- .h5-quote--reveal .h5-quote__price,
- .h5-quote--reveal .ref-label,
+ .h5-stage-enter-active,
+ .h5-stage-leave-active {
+ transition: none !important;
+ }
+
.quote-collapsed__pulse,
.h5-quote-skel__bone {
animation: none !important;
}
-
- .h5-quote--reveal .h5-quote__price {
- filter: none;
- opacity: 1;
- }
}
.h5-quote__actions {