feat(store): 门店详情核销记录走马灯
新增 GET /stores/:id/recent-redeems,C 端在门店详情区上方循环展示脱敏核销动态。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -127,6 +127,42 @@
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.store-detail-marquee {
|
||||
margin: 0 var(--space-page) 12px;
|
||||
padding: 8px 12px;
|
||||
border-radius: var(--radius-lg);
|
||||
background: rgba(166, 29, 36, 0.06);
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.store-detail-marquee-track {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
width: max-content;
|
||||
animation-name: store-detail-marquee-scroll;
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.store-detail-marquee-text,
|
||||
.store-detail-marquee-gap {
|
||||
flex-shrink: 0;
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
@keyframes store-detail-marquee-scroll {
|
||||
from {
|
||||
transform: translateX(0);
|
||||
}
|
||||
to {
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
}
|
||||
|
||||
.store-detail-section {
|
||||
background: var(--color-card);
|
||||
margin: 0 var(--space-page) 16px;
|
||||
|
||||
Reference in New Issue
Block a user