[Snow Team] frontend-pc: auto-commit work
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
:root {
|
||||
color: #1f2933;
|
||||
background: #f6f8fb;
|
||||
font-family:
|
||||
Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
||||
sans-serif;
|
||||
font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system,
|
||||
BlinkMacSystemFont, "Segoe UI", sans-serif;
|
||||
font-synthesis: none;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
@@ -170,8 +169,11 @@ a {
|
||||
display: grid;
|
||||
min-height: 100vh;
|
||||
place-items: center;
|
||||
background:
|
||||
linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(17, 24, 39, 0.08)),
|
||||
background: linear-gradient(
|
||||
135deg,
|
||||
rgba(15, 118, 110, 0.12),
|
||||
rgba(17, 24, 39, 0.08)
|
||||
),
|
||||
#f5f7fb;
|
||||
padding: 24px;
|
||||
}
|
||||
@@ -182,7 +184,7 @@ a {
|
||||
border-radius: 8px;
|
||||
background: #ffffff;
|
||||
padding: 28px;
|
||||
box-shadow: 0 20px 60px rgba(17, 24, 39, 0.10);
|
||||
box-shadow: 0 20px 60px rgba(17, 24, 39, 0.1);
|
||||
}
|
||||
|
||||
.admin-login-brand {
|
||||
@@ -646,6 +648,635 @@ h1 {
|
||||
gap: 8px;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
/* PC public marketplace */
|
||||
.pc-app-shell {
|
||||
min-height: 100vh;
|
||||
background: radial-gradient(
|
||||
circle at 12% 0%,
|
||||
rgba(255, 200, 87, 0.24),
|
||||
transparent 32%
|
||||
),
|
||||
linear-gradient(180deg, #fff9e8 0, #f6f8fb 300px, #f6f8fb 100%);
|
||||
}
|
||||
|
||||
.pc-topbar {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 20;
|
||||
display: grid;
|
||||
grid-template-columns: auto auto minmax(280px, 440px) auto;
|
||||
align-items: center;
|
||||
gap: 24px;
|
||||
min-height: 72px;
|
||||
border-bottom: 1px solid rgba(231, 183, 69, 0.32);
|
||||
background: rgba(255, 255, 255, 0.92);
|
||||
padding: 0 clamp(24px, 5vw, 72px);
|
||||
backdrop-filter: blur(14px);
|
||||
}
|
||||
|
||||
.pc-brand,
|
||||
.pc-nav,
|
||||
.pc-user-actions,
|
||||
.pc-search,
|
||||
.pc-login-link,
|
||||
.pc-post-link,
|
||||
.pc-icon-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.pc-brand {
|
||||
gap: 10px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.pc-brand-mark {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: 14px;
|
||||
background: linear-gradient(135deg, #f59e0b, #111827);
|
||||
color: #ffffff;
|
||||
font-size: 13px;
|
||||
letter-spacing: 0.5px;
|
||||
box-shadow: 0 14px 28px rgba(245, 158, 11, 0.26);
|
||||
}
|
||||
|
||||
.pc-brand-text {
|
||||
color: #111827;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.pc-nav {
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.pc-nav-link {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 7px;
|
||||
min-height: 40px;
|
||||
border-radius: 999px;
|
||||
padding: 0 14px;
|
||||
color: #4b5563;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.pc-nav-link.router-link-active,
|
||||
.pc-nav-link:hover {
|
||||
background: #fff3c4;
|
||||
color: #92400e;
|
||||
}
|
||||
|
||||
.pc-search {
|
||||
gap: 10px;
|
||||
height: 42px;
|
||||
border: 1px solid #f1d38b;
|
||||
border-radius: 999px;
|
||||
background: #fffaf0;
|
||||
padding: 0 16px;
|
||||
color: #b45309;
|
||||
}
|
||||
|
||||
.pc-search input {
|
||||
width: 100%;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
background: transparent;
|
||||
color: #111827;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.pc-user-actions {
|
||||
justify-content: flex-end;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.pc-icon-link,
|
||||
.pc-login-link,
|
||||
.pc-post-link {
|
||||
justify-content: center;
|
||||
min-height: 40px;
|
||||
border-radius: 999px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.pc-icon-link {
|
||||
width: 40px;
|
||||
border: 1px solid #e5e7eb;
|
||||
background: #ffffff;
|
||||
color: #4b5563;
|
||||
}
|
||||
|
||||
.pc-login-link {
|
||||
gap: 6px;
|
||||
border: 1px solid #e5e7eb;
|
||||
background: #ffffff;
|
||||
padding: 0 14px;
|
||||
color: #111827;
|
||||
}
|
||||
|
||||
.pc-post-link {
|
||||
gap: 6px;
|
||||
background: linear-gradient(135deg, #f59e0b, #f97316);
|
||||
padding: 0 16px;
|
||||
color: #ffffff;
|
||||
box-shadow: 0 12px 24px rgba(249, 115, 22, 0.22);
|
||||
}
|
||||
|
||||
.pc-post-link.large {
|
||||
min-height: 44px;
|
||||
padding: 0 22px;
|
||||
}
|
||||
|
||||
.pc-main {
|
||||
width: min(1240px, calc(100% - 48px));
|
||||
margin: 0 auto;
|
||||
padding: 28px 0 56px;
|
||||
}
|
||||
|
||||
.anti-fraud-strip {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-height: 44px;
|
||||
border: 1px solid #fde68a;
|
||||
border-radius: 14px;
|
||||
background: linear-gradient(90deg, #fffbeb, #fef3c7);
|
||||
padding: 10px 16px;
|
||||
color: #92400e;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.anti-fraud-strip.compact {
|
||||
margin-bottom: 22px;
|
||||
}
|
||||
|
||||
.pc-hero {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 340px;
|
||||
gap: 24px;
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
.pc-hero-content,
|
||||
.pc-action-card,
|
||||
.advanced-filter-card,
|
||||
.resource-card,
|
||||
.feature-card,
|
||||
.pc-stat-card {
|
||||
border: 1px solid rgba(229, 231, 235, 0.9);
|
||||
background: rgba(255, 255, 255, 0.92);
|
||||
box-shadow: 0 18px 44px rgba(17, 24, 39, 0.08);
|
||||
}
|
||||
|
||||
.pc-hero-content {
|
||||
min-height: 360px;
|
||||
border-radius: 28px;
|
||||
background: linear-gradient(
|
||||
135deg,
|
||||
rgba(17, 24, 39, 0.82),
|
||||
rgba(120, 53, 15, 0.72)
|
||||
),
|
||||
radial-gradient(circle at 82% 20%, rgba(251, 191, 36, 0.9), transparent 24%),
|
||||
#111827;
|
||||
padding: 48px;
|
||||
color: #ffffff;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.pc-hero-content .eyebrow {
|
||||
color: #fbbf24;
|
||||
}
|
||||
|
||||
.pc-hero h1 {
|
||||
max-width: 620px;
|
||||
font-size: clamp(40px, 5vw, 64px);
|
||||
letter-spacing: -2px;
|
||||
}
|
||||
|
||||
.pc-hero-desc {
|
||||
max-width: 560px;
|
||||
margin: 18px 0 0;
|
||||
color: rgba(255, 255, 255, 0.78);
|
||||
font-size: 18px;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.pc-hero-actions,
|
||||
.hero-tags,
|
||||
.sort-toolbar,
|
||||
.resource-tags,
|
||||
.resource-title-line {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.pc-hero-actions {
|
||||
gap: 14px;
|
||||
margin-top: 32px;
|
||||
}
|
||||
|
||||
.primary-cta,
|
||||
.secondary-cta {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 46px;
|
||||
border-radius: 999px;
|
||||
padding: 0 22px;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.primary-cta {
|
||||
gap: 8px;
|
||||
background: #fbbf24;
|
||||
color: #111827;
|
||||
}
|
||||
|
||||
.secondary-cta {
|
||||
border: 1px solid rgba(255, 255, 255, 0.28);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.hero-tags {
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
margin-top: 34px;
|
||||
}
|
||||
|
||||
.hero-tags span {
|
||||
border: 1px solid rgba(255, 255, 255, 0.22);
|
||||
border-radius: 999px;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
padding: 8px 12px;
|
||||
color: #fde68a;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.pc-action-card {
|
||||
border-radius: 24px;
|
||||
padding: 22px;
|
||||
}
|
||||
|
||||
.pc-action-card h2 {
|
||||
margin: 0 0 18px;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.action-row {
|
||||
display: grid;
|
||||
grid-template-columns: 42px 1fr;
|
||||
gap: 12px;
|
||||
align-items: center;
|
||||
border: 1px solid #edf0f4;
|
||||
border-radius: 16px;
|
||||
background: #ffffff;
|
||||
padding: 14px;
|
||||
}
|
||||
|
||||
.action-row + .action-row {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.action-row .el-icon {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border-radius: 14px;
|
||||
background: #fff7ed;
|
||||
color: #ea580c;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.action-row strong,
|
||||
.action-row span {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.action-row strong {
|
||||
color: #111827;
|
||||
}
|
||||
|
||||
.action-row span {
|
||||
margin-top: 4px;
|
||||
color: #6b7280;
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.action-row.highlight {
|
||||
border-color: #fbbf24;
|
||||
background: #fffbeb;
|
||||
}
|
||||
|
||||
.pc-stat-grid,
|
||||
.pc-feature-row {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 16px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.pc-stat-card,
|
||||
.feature-card {
|
||||
border-radius: 20px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.pc-stat-card span,
|
||||
.feature-card span {
|
||||
color: #6b7280;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.pc-stat-card strong,
|
||||
.feature-card strong {
|
||||
display: block;
|
||||
margin-top: 8px;
|
||||
color: #111827;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.pc-stat-card p {
|
||||
margin: 8px 0 0;
|
||||
color: #6b7280;
|
||||
}
|
||||
|
||||
.feature-card .el-icon {
|
||||
color: #f59e0b;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.feature-card strong {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.listings-header {
|
||||
align-items: center;
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.advanced-filter-card {
|
||||
border-radius: 22px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.filter-title,
|
||||
.sort-toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.filter-title strong {
|
||||
color: #111827;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.filter-title span {
|
||||
color: #6b7280;
|
||||
}
|
||||
|
||||
.pc-filter-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1.25fr repeat(4, minmax(0, 1fr));
|
||||
gap: 14px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.pc-filter-grid .el-form-item {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.sort-toolbar {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.pc-resource-list {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
margin-top: 18px;
|
||||
}
|
||||
|
||||
.resource-card {
|
||||
display: grid;
|
||||
grid-template-columns: 150px minmax(0, 1fr) 150px;
|
||||
gap: 18px;
|
||||
align-items: center;
|
||||
border-radius: 22px;
|
||||
padding: 14px;
|
||||
transition: transform 0.18s ease, box-shadow 0.18s ease;
|
||||
}
|
||||
|
||||
.resource-card:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 22px 50px rgba(17, 24, 39, 0.12);
|
||||
}
|
||||
|
||||
.resource-cover {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
height: 108px;
|
||||
border-radius: 18px;
|
||||
background: linear-gradient(135deg, #111827, #f59e0b);
|
||||
color: #ffffff;
|
||||
font-weight: 900;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.resource-cover img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.resource-title-line {
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.resource-title-line strong {
|
||||
color: #111827;
|
||||
font-size: 19px;
|
||||
}
|
||||
|
||||
.resource-title-line em {
|
||||
border-radius: 999px;
|
||||
background: #dcfce7;
|
||||
padding: 4px 10px;
|
||||
color: #166534;
|
||||
font-size: 12px;
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.resource-main p {
|
||||
display: -webkit-box;
|
||||
margin: 10px 0 0;
|
||||
overflow: hidden;
|
||||
color: #6b7280;
|
||||
line-height: 1.6;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
}
|
||||
|
||||
.resource-tags {
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.resource-tags span {
|
||||
border-radius: 999px;
|
||||
background: #f3f4f6;
|
||||
padding: 5px 10px;
|
||||
color: #4b5563;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.resource-price-box {
|
||||
border-left: 1px solid #edf0f4;
|
||||
padding-left: 18px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.resource-price-box span,
|
||||
.resource-price-box em,
|
||||
.resource-price-box small {
|
||||
display: block;
|
||||
color: #6b7280;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.resource-price-box strong {
|
||||
display: block;
|
||||
margin: 4px 0;
|
||||
color: #ef4444;
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
.pc-detail-layout {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 360px;
|
||||
gap: 22px;
|
||||
}
|
||||
|
||||
.pc-detail-main,
|
||||
.pc-order-card {
|
||||
border: 1px solid rgba(229, 231, 235, 0.9);
|
||||
border-radius: 24px;
|
||||
background: #ffffff;
|
||||
box-shadow: 0 18px 44px rgba(17, 24, 39, 0.08);
|
||||
}
|
||||
|
||||
.pc-detail-main {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.detail-cover {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
height: 300px;
|
||||
background: linear-gradient(135deg, #111827, #92400e 54%, #f59e0b);
|
||||
color: #ffffff;
|
||||
font-size: 28px;
|
||||
font-weight: 900;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
|
||||
.detail-cover img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.detail-title {
|
||||
padding: 28px;
|
||||
}
|
||||
|
||||
.pc-detail .detail-grid {
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
margin: 0;
|
||||
padding: 0 28px 28px;
|
||||
}
|
||||
|
||||
.pc-order-card {
|
||||
position: sticky;
|
||||
top: 96px;
|
||||
align-self: start;
|
||||
margin-top: 0;
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.pc-order-card h2 {
|
||||
margin: 0 0 8px;
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.order-safe-text {
|
||||
margin: 0 0 18px;
|
||||
color: #6b7280;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.order-total-box {
|
||||
border-radius: 18px;
|
||||
background: #fffbeb;
|
||||
margin-bottom: 16px;
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.order-total-box span,
|
||||
.order-total-box em {
|
||||
display: block;
|
||||
color: #92400e;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.order-total-box strong {
|
||||
display: block;
|
||||
margin: 4px 0;
|
||||
color: #ef4444;
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
@media (max-width: 1180px) {
|
||||
.pc-topbar {
|
||||
grid-template-columns: auto 1fr auto;
|
||||
}
|
||||
|
||||
.pc-search {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.pc-hero,
|
||||
.pc-filter-grid,
|
||||
.pc-detail-layout,
|
||||
.pc-detail .detail-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.pc-order-card {
|
||||
position: static;
|
||||
}
|
||||
|
||||
.resource-card {
|
||||
grid-template-columns: 120px minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.resource-price-box {
|
||||
grid-column: 2;
|
||||
border-left: 0;
|
||||
border-top: 1px solid #edf0f4;
|
||||
padding: 12px 0 0;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1180px) {
|
||||
.admin-shell {
|
||||
|
||||
Reference in New Issue
Block a user