From 5420cb599a7687168ad2abc76cb7aad939830686 Mon Sep 17 00:00:00 2001
From: therefore-ming <3442162087@qq.com>
Date: Mon, 24 Nov 2025 15:30:05 +0800
Subject: [PATCH] 111
---
scoring/App.vue | 1 +
scoring/api/room.js | 8 +
scoring/pages.json | 14 +
scoring/pages/edit-user-info/index.vue | 273 +++++++++
scoring/pages/game-detail/index.vue | 272 +++++++++
scoring/pages/scoring/index.vue | 380 +++++++++++-
scoring/pages/settle/index.vue | 151 ++++-
scoring/pages/single-room/index.vue | 799 ++++++++++++++++++++++---
scoring/utils/CommonValues.js | 2 +-
9 files changed, 1748 insertions(+), 152 deletions(-)
create mode 100644 scoring/api/room.js
create mode 100644 scoring/pages/edit-user-info/index.vue
create mode 100644 scoring/pages/game-detail/index.vue
diff --git a/scoring/App.vue b/scoring/App.vue
index 8c2b732..0312a12 100644
--- a/scoring/App.vue
+++ b/scoring/App.vue
@@ -2,6 +2,7 @@
export default {
onLaunch: function() {
console.log('App Launch')
+
},
onShow: function() {
console.log('App Show')
diff --git a/scoring/api/room.js b/scoring/api/room.js
new file mode 100644
index 0000000..521e6c2
--- /dev/null
+++ b/scoring/api/room.js
@@ -0,0 +1,8 @@
+import {GET} from '@/utils/request'
+
+
+// 查询【请填写功能名称】详细
+export const getuser = (roomid) => {
+ return GET('/system/roomuser/list',roomid)
+}
+
diff --git a/scoring/pages.json b/scoring/pages.json
index 91263fb..9459a30 100644
--- a/scoring/pages.json
+++ b/scoring/pages.json
@@ -17,6 +17,20 @@
"path": "pages/scoring/index", // 计分页面(新增注册)
"style": { "navigationBarTitleText": "开局计分" }
},
+
+ {
+ "path": "pages/game-detail/index",
+ "style": {
+ "navigationBarTitleText": "对局详情"
+ }
+ },
+ {
+ "path": "pages/edit-user-info/index",
+ "style": {
+ "navigationBarTitleText": "编辑用户信息"
+ }
+ },
+
{
"path": "pages/settle/index", // 结算页面(新增注册)
"style": { "navigationBarTitleText": "房间结算" }
diff --git a/scoring/pages/edit-user-info/index.vue b/scoring/pages/edit-user-info/index.vue
new file mode 100644
index 0000000..81cf36f
--- /dev/null
+++ b/scoring/pages/edit-user-info/index.vue
@@ -0,0 +1,273 @@
+
+
+
+
+
+
+
+ 编辑用户信息
+
+ 保存
+
+
+
+
+
+
+
+ 头像:
+
+
+
+
+
+
+
+ 点击更新头像
+
+
+
+
+
+ 昵称:
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/scoring/pages/game-detail/index.vue b/scoring/pages/game-detail/index.vue
new file mode 100644
index 0000000..ce7931d
--- /dev/null
+++ b/scoring/pages/game-detail/index.vue
@@ -0,0 +1,272 @@
+
+
+
+
+
+
+
+ 对局详情
+
+
+
+
+
+
+
+
+
+
+
+
+ 总分
+
+
+ {{ formatScore(player.totalScore) }}
+
+
+
+
+
+
+ 第{{ roundIndex + 1 }}局
+
+
+ {{ formatScore(getPlayerRoundScore(roundIndex, player.id)) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/scoring/pages/scoring/index.vue b/scoring/pages/scoring/index.vue
index dca5a1d..75dca81 100644
--- a/scoring/pages/scoring/index.vue
+++ b/scoring/pages/scoring/index.vue
@@ -5,7 +5,10 @@
- 第1局
+
+ {{ isEditMode ? '修改' : '第' + currentRound + '局' }}
+ 第{{ currentRound }}局
+
@@ -18,22 +21,37 @@
胜负
得分
-
+
+
+
-
- 玩家80061
+
+ {{ player.name }}
+ 自己
-
-
+
+
-
-
+
+
+
+
+ 对局分数相加不为0,请检查!
+
+
@@ -48,40 +66,287 @@
-
+
+
\ No newline at end of file
diff --git a/scoring/utils/CommonValues.js b/scoring/utils/CommonValues.js
index 5435b6b..b09f61b 100644
--- a/scoring/utils/CommonValues.js
+++ b/scoring/utils/CommonValues.js
@@ -1,5 +1,5 @@
-export const BASE_URL = 'http://172.20.10.2:8080';
+export const BASE_URL = 'http://localhost:8080';
// export const BASE_URL = 'https://www.jianxinghome.cn:8484';
// export const BASE_URL = 'https://www.safeguardfull.cn:8484';