fix(mini-user): 门店核销走马灯兼容 H5 与微信小程序

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-03 14:48:28 +08:00
parent 2088a1ee19
commit 04fd4d50d0
3 changed files with 154 additions and 67 deletions
+37 -4
View File
@@ -144,19 +144,52 @@
flex-wrap: nowrap;
align-items: center;
height: 20px;
will-change: transform;
transform: translateX(0);
}
.store-detail-marquee-item {
.store-detail-marquee-track.is-running {
animation-name: store-detail-marquee-scroll;
animation-timing-function: linear;
animation-iteration-count: infinite;
-webkit-animation-name: store-detail-marquee-scroll;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
}
.store-detail-marquee-seg {
display: inline-block;
flex: none;
box-sizing: content-box;
white-space: nowrap;
overflow: hidden;
vertical-align: top;
}
.store-detail-marquee-item-text {
.store-detail-marquee-text {
white-space: nowrap;
font-size: 12px;
line-height: 20px;
color: #a61d24;
white-space: nowrap;
}
@keyframes store-detail-marquee-scroll {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-50%);
}
}
@-webkit-keyframes store-detail-marquee-scroll {
0% {
-webkit-transform: translateX(0);
transform: translateX(0);
}
100% {
-webkit-transform: translateX(-50%);
transform: translateX(-50%);
}
}
.store-detail-section {