7316588d9e59bd287b37e31b32af0f0612cd2bd4
- 删除 src/state/active-room.ts 文件及其相关导入引用 - 更新 ChengduGamePage.vue 中的导入路径从 features/chengdu-game/useChengduGameRoom 到 game/chengdu - 移除 ChengduGamePage.vue 中不再需要的状态变量如 roomId、startGamePending 等 - 简化 roomStatusText 计算属性逻辑,移除 "等待中" 默认值 - 调整 phaseLabelMap 映射,移除 "摸牌" 阶段显示 - 删除多个废弃的计算属性如 centerTimer、selectedTileText、pendingClaimText 等 - 移除 actionTheme 函数及相关的按钮样式绑定 - 清理游戏场景中的装饰元素如 diamond outline、scene watermark、center desk 等 - 更新 HallPage.vue 中的导入路径到 store/active-room-store - 添加缺失的玩家数据字段如 hand、melds、outTiles、hasHu - 调整 CSS 样式包括工具栏位置、动画角度和时钟位置等视觉优化
Mahjong Web
This project uses Vue 3, TypeScript, Vite, and pnpm for package management.
Setup
Install dependencies:
pnpm install
Start the development server:
pnpm dev
Build for production:
pnpm build
Preview the production build:
pnpm preview
Description
Languages
Vue
70.1%
TypeScript
16.2%
CSS
13.4%
HTML
0.3%