feat(posts): add @mention highlighting and vote segment display
All checks were successful
Admin CI / build-and-push-web (push) Successful in 2m59s

- Parse post content to highlight @mentions with blue styling
- Render vote segments from post data with formatted options display
- Add MessageSegment interface and segments/is_vote fields to Post type
- Update API base URL and branding from Carrot BBS to WithYou
This commit is contained in:
lafay
2026-04-25 13:01:36 +08:00
parent 2d1dc3673a
commit 4d25bf00ba
7 changed files with 34 additions and 9 deletions

View File

@@ -1,2 +1,2 @@
# 开发环境 API 地址
VITE_API_BASE_URL=https://bbs.littlelan.cn/api/v1
VITE_API_BASE_URL=https://withyou.littlelan.cn/api/v1