diff --git a/src/apis.js b/src/apis.js index 31add74..16995f0 100644 --- a/src/apis.js +++ b/src/apis.js @@ -113,11 +113,12 @@ export const startRoomAPI = (number) => { return request("POST", "/user/room/start", { number }); }; -export const getPractiseResultListAPI = (page = 1, page_size = 10) => { - return request( +export const getPractiseResultListAPI = async (page = 1, page_size = 15) => { + const reuslt = await request( "GET", `/user/practice/list?page=${page}&page_size=${page_size}` ); + return reuslt.list; }; export const matchGameAPI = (match, gameType, teamSize) => { diff --git a/src/components/Container.vue b/src/components/Container.vue index 3a32b0c..52cc24a 100644 --- a/src/components/Container.vue +++ b/src/components/Container.vue @@ -15,6 +15,10 @@ defineProps({ type: Function, default: null, }, + overflow: { + type: String, + default: "auto", + }, }); const isIos = ref(true); onMounted(() => { @@ -29,7 +33,7 @@ onMounted(() => {
@@ -40,11 +44,9 @@ onMounted(() => { .content { width: 100vw; overflow-x: hidden; - overflow-y: auto; display: flex; flex-direction: column; align-items: center; justify-content: space-between; - padding-bottom: 10px; } diff --git a/src/components/Header.vue b/src/components/Header.vue index 4bf3d27..de2c4f3 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -36,7 +36,7 @@ onMounted(() => {