fix: professionalize marketplace product ux

This commit is contained in:
ogt
2026-06-26 12:29:20 +08:00
parent 2888bac597
commit 5327dfda1f
13 changed files with 596 additions and 73 deletions

View File

@@ -586,9 +586,11 @@ body.momo-v2-body {
}
.momo-growth-current {
padding: 0 9px;
border-left: 1px solid var(--momo-border-light);
color: var(--momo-page-accent-dark);
padding: 0 10px;
border: 1px solid rgba(49, 113, 234, 0.22);
border-radius: var(--momo-radius-md);
background: rgba(235, 243, 255, 0.82);
color: #285b9f;
font-family: var(--momo-font-display);
font-size: var(--momo-text-label);
font-weight: 800;

View File

@@ -408,6 +408,17 @@
-webkit-overflow-scrolling: touch;
}
.momo-app:not(.momo-observability-mode) .dashboard-table-wrap.is-ai-picks-wrap {
overflow-x: auto !important;
-webkit-overflow-scrolling: touch;
}
.momo-app:not(.momo-observability-mode) .dashboard-table.is-ai-picks {
width: max(100%, 1660px) !important;
min-width: 1660px !important;
table-layout: fixed;
}
.momo-app:not(.momo-observability-mode) .dashboard-table.is-review {
width: max(100%, 1540px) !important;
min-width: 1540px !important;

View File

@@ -1235,7 +1235,50 @@
}
.dashboard-table.is-ai-picks {
min-width: 1460px;
min-width: 1660px;
table-layout: fixed;
}
.dashboard-table.is-ai-picks th:nth-child(1) {
width: 120px;
}
.dashboard-table.is-ai-picks th:nth-child(2) {
width: 380px;
}
.dashboard-table.is-ai-picks th:nth-child(3),
.dashboard-table.is-ai-picks th:nth-child(4) {
width: 120px;
}
.dashboard-table.is-ai-picks th:nth-child(5) {
width: 180px;
}
.dashboard-table.is-ai-picks th:nth-child(6) {
width: 280px;
min-width: 280px;
}
.dashboard-table.is-ai-picks th:nth-child(6),
.dashboard-table.is-ai-picks td:nth-child(6) {
position: sticky;
right: 0;
z-index: 3;
background: rgba(255, 252, 246, 0.98);
box-shadow: -12px 0 18px rgba(42, 37, 32, 0.08);
}
.dashboard-table.is-ai-picks th:nth-child(6) {
z-index: 4;
}
.dashboard-table.is-ai-picks th:nth-child(7),
.dashboard-table.is-ai-picks th:nth-child(8),
.dashboard-table.is-ai-picks th:nth-child(9),
.dashboard-table.is-ai-picks th:nth-child(10) {
width: 120px;
}
.dashboard-table.is-review {
@@ -1336,6 +1379,10 @@
min-width: 0;
}
.dashboard-product-info {
min-width: 0;
}
.dashboard-product-thumb {
width: 52px;
height: 52px;
@@ -1346,6 +1393,52 @@
border-radius: 6px;
}
.dashboard-product-thumb-frame {
display: grid;
width: 52px;
height: 52px;
flex: 0 0 auto;
place-items: center;
}
.dashboard-product-thumb-frame .dashboard-product-thumb {
grid-area: 1 / 1;
}
.dashboard-product-thumb-missing {
display: grid;
grid-area: 1 / 1;
width: 52px;
height: 52px;
place-items: center;
border: 1px solid var(--momo-border-light);
border-radius: 6px;
background: var(--momo-bg-paper);
color: var(--momo-text-tertiary);
font-size: 18px;
}
.dashboard-product-identity {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-top: 6px;
}
.dashboard-product-identity span {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 2px 7px;
border: 1px solid var(--momo-border-light);
border-radius: var(--momo-radius-pill);
background: rgba(255, 255, 255, 0.74);
color: var(--momo-text-secondary);
font-family: var(--momo-font-family-mono);
font-size: 10px;
font-weight: 800;
}
.dashboard-product-name {
display: -webkit-box;
overflow: hidden;
@@ -1525,10 +1618,34 @@
.dashboard-ai-pick-card {
display: grid;
min-width: 170px;
min-width: 230px;
gap: 6px;
}
.dashboard-ai-action-row {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.dashboard-ai-action-row .dashboard-platform-link {
min-width: 104px;
justify-content: center;
padding: 4px 8px;
white-space: nowrap;
}
@media (max-width: 768px) {
.dashboard-table.is-ai-picks th:nth-child(6),
.dashboard-table.is-ai-picks td:nth-child(6) {
position: static;
right: auto;
z-index: auto;
background: transparent;
box-shadow: none;
}
}
.dashboard-ai-pick-head {
display: flex;
align-items: center;