Commit 773e5d67 by 张立顺

fix(venus-usedcar-quality): ui样式走查修复

1 parent 2eb0c33d
...@@ -472,6 +472,10 @@ onUnmounted(() => { ...@@ -472,6 +472,10 @@ onUnmounted(() => {
.category-section { .category-section {
padding: $spacing-md $spacing-base; padding: $spacing-md $spacing-base;
border-radius: $radius-md; border-radius: $radius-md;
&:has(+ .category-section) {
padding-bottom: 0;
}
} }
.category-header { .category-header {
......
...@@ -348,9 +348,9 @@ async function copyCurrentPageLink() { ...@@ -348,9 +348,9 @@ async function copyCurrentPageLink() {
document.execCommand("copy"); document.execCommand("copy");
ta.remove(); ta.remove();
} }
showToast("已复制链接"); showToast({ message: "已复制链接", position: "bottom" });
} catch { } catch {
showToast("复制失败,请重试"); showToast({ message: "复制失败,请重试", position: "bottom" });
} }
} }
...@@ -660,7 +660,7 @@ onMounted(() => { ...@@ -660,7 +660,7 @@ onMounted(() => {
<button class="report-share__btn" <button class="report-share__btn"
type="button" type="button"
@click="copyCurrentPageLink"> @click="copyCurrentPageLink">
分享 复制链接
</button> </button>
</div> </div>
...@@ -775,7 +775,7 @@ onMounted(() => { ...@@ -775,7 +775,7 @@ onMounted(() => {
// ===== 车辆信息卡片 ===== // ===== 车辆信息卡片 =====
.vehicle-card { .vehicle-card {
padding: $spacing-base; padding: 14px 12px;
margin: $spacing-md $spacing-base 0; margin: $spacing-md $spacing-base 0;
margin-top: -50px; margin-top: -50px;
background: #fff; background: #fff;
...@@ -791,7 +791,7 @@ onMounted(() => { ...@@ -791,7 +791,7 @@ onMounted(() => {
position: relative; position: relative;
flex-shrink: 0; flex-shrink: 0;
width: 76px; width: 76px;
height: 72px; height: 64px;
&--clickable { &--clickable {
cursor: pointer; cursor: pointer;
...@@ -808,7 +808,7 @@ onMounted(() => { ...@@ -808,7 +808,7 @@ onMounted(() => {
&__badge { &__badge {
position: absolute; position: absolute;
right: 15%; right: 15%;
bottom: 15%; bottom: 5%;
z-index: 1; z-index: 1;
padding: 2px 7px; padding: 2px 7px;
font-size: 10px; font-size: 10px;
...@@ -891,6 +891,7 @@ onMounted(() => { ...@@ -891,6 +891,7 @@ onMounted(() => {
margin-top: $spacing-base; margin-top: $spacing-base;
background: #f5f9ff; background: #f5f9ff;
border-top: 1px solid #f2f3f5; border-top: 1px solid #f2f3f5;
border-radius: 4px;
} }
.spec-item { .spec-item {
...@@ -931,6 +932,7 @@ onMounted(() => { ...@@ -931,6 +932,7 @@ onMounted(() => {
} }
.section-card.section-card--score { .section-card.section-card--score {
padding: 14px 12px;
margin-top: 4px; margin-top: 4px;
} }
...@@ -938,7 +940,8 @@ onMounted(() => { ...@@ -938,7 +940,8 @@ onMounted(() => {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: $spacing-base; padding: $spacing-base ;
padding-bottom: 12px;
margin: -#{$spacing-base} -#{$spacing-base} $spacing-base; margin: -#{$spacing-base} -#{$spacing-base} $spacing-base;
margin-bottom: 0; margin-bottom: 0;
} }
...@@ -984,7 +987,8 @@ onMounted(() => { ...@@ -984,7 +987,8 @@ onMounted(() => {
gap: 2px; gap: 2px;
align-items: center; align-items: center;
font-size: $font-size-sm; font-size: $font-size-sm;
color: $color-text-disabled; // color: $color-text-disabled;
color: #666;
&.active { &.active {
color: $color-warning; color: $color-warning;
...@@ -1087,7 +1091,7 @@ onMounted(() => { ...@@ -1087,7 +1091,7 @@ onMounted(() => {
} }
.detail-label { .detail-label {
font-size: $font-size-xs; font-size: $font-size-sm;
color: $color-text-secondary; color: $color-text-secondary;
} }
...@@ -1098,6 +1102,7 @@ onMounted(() => { ...@@ -1098,6 +1102,7 @@ onMounted(() => {
// ===== 评分说明 ===== // ===== 评分说明 =====
.score-desc { .score-desc {
overflow: hidden;
// border: 1px solid #ffe8b5; // border: 1px solid #ffe8b5;
border: 1px solid #e6ebf5; border: 1px solid #e6ebf5;
border-radius: $radius-base; border-radius: $radius-base;
...@@ -1156,7 +1161,7 @@ onMounted(() => { ...@@ -1156,7 +1161,7 @@ onMounted(() => {
gap: 4px; gap: 4px;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
padding: $spacing-md 0; padding: 8px 0;
margin-top: $spacing-base; margin-top: $spacing-base;
font-size: 12px; font-size: 12px;
color: #666; color: #666;
...@@ -1248,7 +1253,7 @@ onMounted(() => { ...@@ -1248,7 +1253,7 @@ onMounted(() => {
display: flex; display: flex;
gap: 2px; gap: 2px;
align-items: center; align-items: center;
font-size: $font-size-sm; font-size: 13px;
color: #666; color: #666;
// color: $color-warning; // color: $color-warning;
} }
...@@ -1257,6 +1262,7 @@ onMounted(() => { ...@@ -1257,6 +1262,7 @@ onMounted(() => {
display: flex; display: flex;
gap: 2px; gap: 2px;
align-items: center; align-items: center;
font-size: 13px;
color: #666; color: #666;
} }
...@@ -1312,7 +1318,7 @@ onMounted(() => { ...@@ -1312,7 +1318,7 @@ onMounted(() => {
border-radius: $radius-base; border-radius: $radius-base;
&--slide { &--slide {
height: 200px; height: 190px;
touch-action: manipulation; touch-action: manipulation;
cursor: pointer; cursor: pointer;
} }
...@@ -1322,7 +1328,7 @@ onMounted(() => { ...@@ -1322,7 +1328,7 @@ onMounted(() => {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
width: 100%; width: 100%;
height: 200px; height: 190px;
background: #f7f8fa; background: #f7f8fa;
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!