feat: enhance wallet strip for mobile responsiveness
Some checks failed
lotteryfront CI / build (push) Has been cancelled

- Added mobile-specific styles to the HallWalletStrip component for better usability on smaller screens.
- Adjusted padding, font sizes, and spacing based on device type.
- Introduced a new hook `useIsMobile` to determine the device type.

feat: sort ticket items by provider code

- Updated the sorting logic in `sortTicketGroupItems` to include provider code for better organization of ticket items.

feat: display provider information in ticket order details

- Added a `providerLabel` function to format provider information.
- Updated `TicketOrderDetailScreen` and `TicketOrdersListScreen` to display provider name and code.

feat: enhance ticket item types with provider information

- Extended `TicketItemListRow` and `TicketItemDetailPayload` types to include optional provider code and name.

feat: add API for fetching bet providers

- Created a new API endpoint to retrieve bet providers.
- Defined types for bet provider data in `bet-provider.ts`.

chore: update player spacing constants

- Adjusted padding values in `player-spacing.ts` for improved layout consistency.
This commit is contained in:
2026-07-08 15:57:09 +08:00
parent 45376473f3
commit add3d1fc05
17 changed files with 619 additions and 104 deletions

View File

@@ -144,7 +144,7 @@
}
}
/* 下注表格横向滚动:右侧渐变提示可继续滑动 */
/* 下注表格横向滚动 */
.player-table-scroll {
-webkit-overflow-scrolling: touch;
scrollbar-width: thin;
@@ -154,17 +154,6 @@
position: relative;
}
.player-table-scroll-wrap::after {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
width: 1.25rem;
pointer-events: none;
background: linear-gradient(to left, rgba(255, 255, 255, 0.95), transparent);
}
/* 玩家端侧栏:浅色底 + 与后台一致的红色激活态 */
.player-sidebar {
--sidebar: #ffffff;
@@ -330,4 +319,4 @@
to {
transform: rotate(360deg);
}
}
}