mars
4a76c4a1bc
feat(theme-4): PC 列表详情弹窗、实心面板与收件箱样式修复
...
投注/资金/充值/返水列表点击改为海军蓝弹窗,深链 query 自动打开;修复冻结字段 i18n 与悬浮客服按钮过白问题。
2026-07-10 17:25:41 +08:00
mars
ecfea51545
feat(theme-4): fix dark backgrounds, quick bet, inbox spacing, customer service theme
2026-07-09 18:03:57 +08:00
0c5541fc57
fix(player): login footer layout, lang switcher z-index, profile.settings i18n; dev Vite proxy reads API PORT
2026-06-23 14:41:15 +08:00
a3e8958406
sync(theme-4): 从 main 同步优胜赛结算态与钱包流水展示优化
...
- checkout shared/api/admin 自 d3c2114
- player: outright 结算态逻辑、wallet txAmountClass、i18n 新增 key(保留海军蓝主题样式)
2026-06-23 13:53:20 +08:00
cffad00652
sync(theme-4): 同步 main 最新 API/Admin 与玩家端逻辑
...
从 main 同步站内信手动发送、媒体库选择、列表子路由重构等 API/Admin 改动;玩家端仅合并 ADMIN_CUSTOM 富文本、消息预览与充值截图压缩逻辑,保留 theme-4 样式。
2026-06-22 14:12:40 +08:00
46155018ce
feat(player): 重构客服悬浮入口与设置抽屉,优化消息页交互
...
- 新增可拖拽悬浮客服按钮,支持贴边吸附与位置记忆
- 顶部栏改为设置抽屉入口,将语言/规则/登出等从个人页迁出
- 余额芯片集成用户头像,移除独立头像菜单
- 消息列表去掉冗余未读白点,统一消息页返回导航
- 补充 profile.settings 多语言文案
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-18 13:32:37 +08:00
5c5aa7e55a
feat(theme-4): sync inbox/announcements/presence/deposit from main
2026-06-18 10:08:03 +08:00
d3ca8498fb
feat(player/admin/api): 玩家端暗色极简主题重构与盘口单串关修复
...
## 管理端 / API(Bug 修复)
- matches.service:getAdminMatchDetail 返回 markets 时补充 allowSingle、allowParlay 字段
- MatchMarketsPanel:mapMarkets 从接口读取单关/串关开关,不再硬编码为 true
- match-form.ts:AdminMarket 类型补充 allowSingle、allowParlay
## 玩家端 — 全局主题(styles.css / index.html / site.webmanifest)
- 海军暗色 + 白色强调 token,卡片高光渐变(--gradient-card)
- 下拉/弹窗实底不透明(--dropdown-bg: #0A2540)
- 统一 sub-toolbar、status-ribbon、filter-tab 等全局样式
- theme-color 同步为 #001A33
## 玩家端 — 布局与壳层
- MainLayout:详情子页去顶栏/公告,sub-toolbar 全宽铺底
- WalletBalanceCard(新):个人页钱包卡片(反水 + 未结算)
- walletStats.ts(新):钱包统计逻辑抽取
## 玩家端 — 赛事 / 投注
- MatchDetailView:顶栏 8px 顶距、卡片全宽(--detail-gutter-x: 0)
- 盘口状态标签(暂停/已关闭)、去掉 MarketTypeTile 右侧箭头
- VsBadge(新):纯文字 VS,删除 vs.png
- isMarketLocked:仅关单关但允许串关时仍可点击,支持串关流程
- BetSlipDrawer:仅串关盘口禁用单关提交并提示 slip_parlay_only_hint
- betSlip:SlipItem 增加 allowSingle 字段
- MatchBetCard / LeagueAccordionItem:45° 待开赛角标,去掉展开左侧白边
- OutrightEventSection:去掉展开时左侧白色选中条
- FootballView:加大左右边距、筛选栏去 sticky、选中态增强
- BannerCarousel:恢复原始全宽轮播
## 玩家端 — 钱包 / 个人 / 认证 / 其他页面
- WalletView:移除顶部钱包卡片,保留账单列表
- ProfileView:保留 WalletBalanceCard
- 充值/账单/注单/登录注册等页面配色与间距统一
- 公告标签、余额面板、语言切换、区号选择等弹层改为实底
## 国际化
- zh-CN / en-US / ms-MY:新增 slip_parlay_only_hint(仅串关盘口提示)
## 资产
- 更新 banner.svg、empty-matches.svg 配色
- 删除 vs.png
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-17 11:00:25 +08:00
f34fe54489
fix(player): ????????????????
...
?????????????????+??+?????????????????????????????????/???????????????
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-16 16:25:27 +08:00
567ec9ec8a
feat: 管理端 RBAC 权限体系与员工管理
...
新增多角色权限控制(赛事/财务/客服管理员),支持员工 CRUD、路由菜单按权限显隐、审计日志范围过滤;登录返回角色与权限列表。玩家端赛事列表增加静默刷新避免图片闪烁。Seed 补充演示员工账号与充值相关权限。附带 RBAC/审计范围单元测试及 UAT 文档更新。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-15 17:52:39 +08:00
afb5c5437e
feat: 充值订单审计与重新申请,优化赛事展示和余额刷新
...
- 新增 deposit_order_audit_logs 表,记录提交/审批/拒绝/撤销/重提全链路
- 管理端充值单页增加审计历史;玩家端充值历史支持时间线与重新申请
- 已拒绝订单可原单号重提;撤销入账使用 PLAYER_DEPOSIT_REVERSAL 并加强幂等
- 结算后清除热门标记,允许归档已结算赛事,完善今日赛事时区窗口
- 足球页今日/早盘独立折叠;资料与余额在进入钱包/个人页及下注后自动刷新
- 补充投注玩法、结算返水规则文档;新增 smoke/settlement CLI 脚本
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-15 14:52:05 +08:00
wchino
21dd9957f0
refactor: update match time utilities and improve local match window logic
...
- Introduced new functions `isInLocalTodayMatchWindow` and `isAfterLocalTodayMatchWindow` to enhance match time checks.
- Replaced the deprecated `dayKeyInTimeZone` function with `isInLocalTodayMatchWindow` in the PlayerController.
- Updated related tests and utility exports to reflect the new naming conventions.
- Improved handling of local match windows in various components for better accuracy.
2026-06-13 18:20:26 +08:00
wchino
7b33d9f9fa
重构
2026-06-13 17:38:25 +08:00
e7e938f261
feat: WC2026 赛事 seed、生产上线初始化脚本与目录归档
...
重构 seed 为 WC2026 72 场小组赛与 48 强优胜盘;新增 production 模式仅保留 admin 与赛事示例;提供 prod-init-db 全量重置脚本;管理端 i18n 分包与赛事归档能力。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-12 18:17:00 +08:00
ff89c31b51
feat(player): 玩家端短信找回密码
...
支持手机号验证码重置密码,重置成功后跳转登录页;SMS 增加 reset_password 场景与 purpose 隔离。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-12 13:12:00 +08:00
e140861a2b
fix(player): 移除钱包与充值页银行卡芯片装饰
...
去掉 ProfileView、RechargeView 中的 bank-card-chip 元素及样式。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-12 11:31:14 +08:00
bc5b8e0950
perf(assets): Player/Admin 静态图改用 WebP,vs 保留 PNG
...
Player 端 banner/bg/card/h5bg 等改为 webp 并移除旧 png;Admin 登录背景改 webp;vs 对阵图仍用 png。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-12 11:16:51 +08:00
312c3c5816
feat(player): 注册账号、登录双模式与移动端性能优化
...
注册必填 7-32 位账号,手机号区号/本地号分存;登录默认账号模式并支持切换手机号登录;Player i18n 拆包与赛事接口优化。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-12 10:56:51 +08:00
db28390be9
feat(player): 接入创蓝短信手机注册与登录页优化
...
新增 SMS 验证码注册、8 国手机号选择与 Redis 频控;优化登录/注册 UI 及图形验证码样式。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-12 10:25:59 +08:00
03e72ca9b2
feat: 开户备注、账单展示优化与后台代理管理增强
...
- 新增初始上分备注(日常上分/开户赠金/自定义)及前后台校验与展示
- 优化钱包流水类型与备注显示,区分管理员/代理/玩家上下分
- 修复登录后语言被后端覆盖的问题,登录时同步当前语言到服务端
- 后台代理/玩家表格操作栏重构,充值订单增加备注列
- 前台个人中心、充值、账单与验证码组件体验优化
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 17:23:58 +08:00
10485ecfaf
feat: 手动充值、邀请码注册与后台管理增强
...
新增玩家手动充值全流程(收款方式配置、充值下单/审核、钱包上分),
支持邀请码注册、邀请历史与专属返水率;完善后台代理/玩家管理与响应式操作栏,
并补充前台注册、充值页及多语言错误码。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 12:20:11 +08:00
618fb49511
fix(player): 修复登录页「继续浏览」跳转到需登录页的死循环
...
跳过登录时仅允许进入首页、投注页或赛事详情等公开页面,避免 redirect 指向钱包/个人中心时被路由守卫拦截而停留在登录页。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 09:47:24 +08:00
844727c82e
feat: 前台匿名浏览、登录引导、客服入口与返水增强
...
前台:
- 未登录可浏览首页/赛事/赔率,下注等操作弹出登录引导(去登录/继续浏览)
- 顶部新增客服入口与 iframe 弹窗
- 登录页支持暂不登录返回浏览
API:
- 首页/赛事/冠军盘接口改为公开访问,支持 X-Locale 头
- JWT 守卫支持可选认证
返水:
- 注单新增 is_cashbacked 字段,发放时自动标记
- 预览展示玩家余额,明确平台直发不从代理扣款
- 后台注单列表与玩家历史展示回水状态
其他:
- 串关禁止同场重复选号(SAME_MATCH)
- 补充结算资金流分析文档
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-11 09:36:44 +08:00
785fa4416d
perf(player): 优化 Tab 切换性能并改进投注历史展示
...
- 主 Tab 启用 keep-alive,恢复各页滚动位置,避免切页重复加载与重复请求
- 首页数据缓存、余额/头像共用 profile 缓存,冠军盘与串关面板按需加载
- 球赛与串关列表新增「仅显示待开赛」筛选
- 重构历史注单卡片,展示注单类型、赔率与日期
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 17:33:06 +08:00
a8ee28fcce
feat: replace watermarks with corner tags, improve parlay layout and admin polish
...
- MatchDetailView: replace StatusWatermark with top-right solid status tags, remove match-hero background image
- ParlayPanel: replace StatusWatermark with corner tags, improve toggle button style and layout spacing, fix overflow clipping
- Admin: wallet ledger dialog, agent manager, and player page refinements
🤖 Generated with [Qoder][https://qoder.com ]
2026-06-10 16:24:01 +08:00
ef6b15f119
feat: multi-tier agent hierarchy, wallet ledger, and player UX polish
...
Add configurable agent max level and default sub-agent credit ratio, per-agent block direct player login on suspend, admin/agent wallet transaction views, and match detail my-bets section with refreshed player card styling.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 16:15:34 +08:00
03f54ca689
feat: split admin dashboard, improve match ops, and player closed-match UX
...
Admin: add match/player overview sub-nav; refine settlement flow and league
match management UI; improve action button enabled/disabled styles; enhance
logo upload and outright odds sync.
API: expose matchPhase/bettingOpen for closed matches; league publish guards;
settlement preview with auto score save; outright team auto-sync.
Player: watermark for closed/settled states; keep match and bet details visible;
remove default login credentials.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 13:00:14 +08:00
d5e7c8edb3
feat: add smoke tests, agent credit ledger, and player cashback page
...
Introduce admin smoke-test suite with API probes, agent credit transaction history, and player cashback records; fix SmokeTestModule DI and polish admin/player UI assets.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-09 16:05:48 +08:00
d5913b6301
fix(deploy): use ASCII player assets and harden Docker Linux builds
...
Rename Chinese public paths and image filenames so Vite builds succeed on Linux, strip legacy public dirs in Dockerfiles, and document clean redeploy steps.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-08 17:28:15 +08:00
414998ce36
feat(admin,api,player): 代理层级管理、额度上下分与玩家钱包详情
...
新增代理管理器与二级代理体系,完善信用额度/上下分上下文与冻结策略;代理端玩家与子代理管理增强;玩家端新增钱包详情页与交易筛选优化。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-08 15:34:12 +08:00
b2216abd0c
feat(admin,api,player): 返水流程优化、账单详情与数据库重置
...
优化返水预览/确认/作废,新增玩家账变详情与后台一键重置为 seed 数据,并修复 dev 启动时 3000 端口占用。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-08 11:14:22 +08:00
24fa1b275c
feat(admin,api,player): 优胜赛配置、赛事管理重构与玩家端投注体验优化
...
管理端拆分赛事/优胜赛 Tab,新增联赛优胜赔率面板(批量、排序、外侧删除);统一 list-chrome 工具栏对齐与列表页布局;Dashboard 失败重试、Users 操作下拉、小屏侧栏等体验修复。
API 扩展优胜赛与赛事目录接口,完善投注与钱包查询;玩家端重构赛事卡片、串关面板、注单/钱包页,新增注单详情、下注成功动画与下拉刷新。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-08 09:55:56 +08:00
efff7c27e6
feat(admin,api,player): 结算预览分页、统计图表与返水限额
...
完善结算计算与预览 API(含后端分页),加强管理端结算/返水/权限,并优化玩家端投注单与队徽展示。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-05 13:54:33 +08:00
6264b8806c
feat(admin,api,player): smart score solver, disable settlement UI, misc fixes
2026-06-04 17:56:32 +08:00
9fcee31a9a
feat(admin,api,player): settlement stats, team crests, MS fields and list bet summary
2026-06-04 17:30:48 +08:00
cc737e2924
feat(admin,api,player): 赛事分组管理、盘口独立页与多语言展示优化
...
- 管理端按联赛展示单场,新增赛事/单场流程与列表展开状态保持
- 盘口赔率迁至独立页面,保存按钮仅在有修改时高亮
- API 新增联赛列表与子场查询,按 locale 返回队名并修复编译
- 波胆其它选项与促销标签等 i18n 补齐,文案更易懂
2026-06-04 16:25:03 +08:00
a8e4ead618
feat(admin,player,api): 玩家账号密码管理与代理上下分
...
新增玩家头像、可查密码与全局改密/改账号开关;玩家资料页合并账号密码展示;代理直属玩家列表支持自定义上下分。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-04 11:36:53 +08:00
f76728dc3e
feat(admin,player,api): 公共管理与优胜冠军国旗、玩家端内容对接
...
新增公共内容 CRUD 与批量操作;公告滚动合并管理;优胜冠军内置国家选择与单行保存;玩家端统一 usePlayerHome 对接轮播与跑马灯。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-04 10:25:42 +08:00
27580b2479
feat(admin,player,api): 优胜冠军通用管理与界面精简
...
管理端新增冠军盘列表/编辑、展开懒加载与 ECharts 修复;各列表页去掉重复标题。玩家端支持多赛事冠军盘、分批加载与语言切换刷新。API 扩展 outright CRUD 与列表性能优化。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-04 09:17:01 +08:00
9b63d67e7c
feat(player,admin): 钱包卡片与登录页 UI 优化
...
- 玩家端我的页:钱包背景图、银行卡式排版、自定义语言下拉与投注规则折叠
- 管理端登录:左右布局、金边半透明卡片、自定义语言选择
- 修复 API promotePlayerToTier1Agent 返回类型导致编译失败
2026-06-03 16:59:53 +08:00
cbfa18d1d3
feat(i18n): 管理端与玩家端三语支持(中/英/马来语)
...
- 管理后台 adminT 文案库、结算与代理端页面、表单校验
- 玩家端 vue-i18n 补全首页/公告/串关与 ms 文案
- Element Plus ms 语言包与共享 locale 工具
2026-06-03 15:05:36 +08:00
d432de6fdf
feat(player): 优化赛事详情与串关下注交互
...
- 合并玩法列表、单选投注单与玩法内确认下单
- 波胆底部确认与核对弹窗;串关底栏固定
- 帮助弹窗与投注单逻辑拆分(详情单关/串关页串关)
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-03 10:54:49 +08:00
451cc3984a
style: update H5 global background, add noise overlay, and adjust login layout
2026-06-02 18:03:27 +08:00
b5dca1bfb1
feat(player): 完善 H5 投注端与 API 演示数据
...
- 球赛/串关/优胜冠军、赛事详情、历史投注与个人资料编辑
- 固定顶栏、公告与底栏,仅内容区滚动
- 底部导航与站点 favicon 使用 logo,登录页精简
- API 种子、冠军盘与历史注单增强
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-02 17:18:11 +08:00
7af2e418c3
chore: 改用 logo.png 并放大 Logo 显示尺寸
...
三端引用切换为 packages/shared/public/logo.png,显示高度加倍,移除占位 logo.svg 与根目录误放的 logo.png。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-02 15:15:10 +08:00
000bd8c956
fix: 修复三端路由引用并统一共享 Logo 静态资源
...
修正 admin/agent/player 路由与 agent App.vue 的 import 路径,三端 Vite 共用 packages/shared/public 下的 logo 与 favicon。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-02 15:01:55 +08:00
14e49374ac
初始化足球投注平台 MVP Monorepo
...
包含 NestJS 后端、三端前端、Prisma 数据模型、结算引擎测试与 PRD 文档。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-02 14:35:48 +08:00