Compare commits

...

4 Commits

Author SHA1 Message Date
ee797ebb14 Merge remote-tracking branch 'origin/dev'
# Conflicts:
#	src/views/ChengduGamePage.vue
2026-03-24 09:13:16 +08:00
1308ca5a2c Update vite.config.ts 2026-03-24 09:03:11 +08:00
fba407c1bf chore(config): 更新开发服务器代理配置
- 将 API 代理目标端口从 8080 更改为 18080
- 将 WebSocket 代理目标端口从 8080 更改为 18080
- 保持了原有的 changeOrigin 和 ws 配置选项
2026-03-20 17:27:13 +08:00
0fa14ca407 feat(game): 实现成都麻将游戏界面和核心功能
- 添加麻将桌面背景和完整的UI布局设计
- 实现玩家座位渲染、牌面显示和游戏状态管理
- 集成定缺选择、碰牌操作和结算功能
- 添加计时器、网络状态和实时消息显示
- 创建麻将牌面图片资源和动态加载机制
- 实现游戏流程控制和玩家交互逻辑
2026-03-18 17:26:20 +08:00
7 changed files with 1610 additions and 67 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

File diff suppressed because it is too large Load Diff

View File

@@ -4,15 +4,17 @@ import vue from '@vitejs/plugin-vue'
export default defineConfig({ export default defineConfig({
plugins: [vue()], plugins: [vue()],
server: { server: {
host: '127.0.0.1',
port: 3000,
proxy: { proxy: {
'/api/v1': { '/api/v1': {
target: 'http://127.0.0.1:8080', target: 'http://127.0.0.1:19000',
changeOrigin: true, changeOrigin: true,
}, },
'/api/v1/ws': { '/api/v1/ws': {
target: 'ws://127.0.0.1:8080', target: 'ws://127.0.0.1:19000',
ws: true, ws: true,
} }
} }
} }
}) })