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 @@ + + + + + \ 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';