增加前端格式检查配置

This commit is contained in:
yml2213
2026-06-08 06:40:33 +08:00
parent 79ea3a476c
commit 500f511185
150 changed files with 7254 additions and 4013 deletions
@@ -27,7 +27,9 @@
.publish-page :deep(.el-textarea__inner) {
border-radius: var(--radius-8);
box-shadow: 0 0 0 1px var(--color-border) inset;
transition: box-shadow 0.2s ease, background-color 0.2s ease;
transition:
box-shadow 0.2s ease,
background-color 0.2s ease;
}
.publish-page :deep(.el-input__wrapper:hover),
@@ -37,7 +39,9 @@
.publish-page :deep(.el-input__wrapper.is-focus),
.publish-page :deep(.el-textarea__inner:focus) {
box-shadow: 0 0 0 1px var(--color-orange-primary) inset, 0 0 8px rgba(255, 106, 0, 0.15) !important;
box-shadow:
0 0 0 1px var(--color-orange-primary) inset,
0 0 8px rgba(255, 106, 0, 0.15) !important;
}
.publish-layout {
@@ -211,7 +215,11 @@
color: #596474;
font-weight: 800;
cursor: pointer;
transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease, transform 0.16s ease;
transition:
border-color 0.16s ease,
background 0.16s ease,
color 0.16s ease,
transform 0.16s ease;
}
.level-btn,
@@ -246,7 +254,9 @@
.quantity-header,
.quantity-item {
display: grid;
grid-template-columns: minmax(180px, 3fr) minmax(80px, 1fr) minmax(100px, 1.2fr) minmax(140px, 1.5fr) minmax(80px, 1fr);
grid-template-columns:
minmax(180px, 3fr) minmax(80px, 1fr) minmax(100px, 1.2fr) minmax(140px, 1.5fr)
minmax(80px, 1fr);
gap: 10px;
align-items: center;
}
@@ -397,7 +407,10 @@
font-size: 12px;
font-weight: 800;
cursor: pointer;
transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
transition:
border-color 0.16s ease,
background 0.16s ease,
color 0.16s ease;
}
.time-chip.active {
@@ -548,7 +561,9 @@
font-size: 12px;
font-weight: 800;
cursor: pointer;
transition: border-color 0.2s ease, background 0.2s ease;
transition:
border-color 0.2s ease,
background 0.2s ease;
}
.recommend-button:hover {
@@ -636,7 +651,10 @@
gap: 6px;
border: 1px solid #d6dce5;
background: #fff;
transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
transition:
border-color 0.16s ease,
background 0.16s ease,
color 0.16s ease;
}
.ratio-custom-card strong {
@@ -676,7 +694,9 @@
min-height: 82px;
padding: 14px;
border-left: 4px solid #ccd5e0;
transition: transform 0.2s ease, box-shadow 0.2s ease;
transition:
transform 0.2s ease,
box-shadow 0.2s ease;
}
.price-cell:hover {
@@ -883,7 +903,9 @@
background-color: var(--color-orange-primary);
color: #fff;
font-weight: 800;
transition: border-color 0.2s ease, background-color 0.2s ease;
transition:
border-color 0.2s ease,
background-color 0.2s ease;
}
.summary-actions :deep(.el-button.btn-publish:hover) {