diff --git a/src/App.vue b/src/App.vue index 3e7849f..3ff262e 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,7 +1,27 @@ - + diff --git a/src/components/InputEntry.vue b/src/components/InputEntry.vue deleted file mode 100644 index 285b8f2..0000000 --- a/src/components/InputEntry.vue +++ /dev/null @@ -1,47 +0,0 @@ - - - - - diff --git a/src/components/UserItem.vue b/src/components/UserItem.vue index c9828d1..c3b00d9 100644 --- a/src/components/UserItem.vue +++ b/src/components/UserItem.vue @@ -47,18 +47,6 @@ defineProps({ color: #999; margin-right: 10px; } -.user-item > view button { - margin: 0; - padding: 0; - border: none; - background: none; - line-height: 1; - outline: none; - box-sizing: border-box; -} -.user-item > view button::after { - border: none; -} .user-item > view image { width: 24px; diff --git a/src/pages.json b/src/pages.json index 601f984..79a2e2e 100644 --- a/src/pages.json +++ b/src/pages.json @@ -12,23 +12,29 @@ "navigationBarTitleText": "用户信息" } }, - { - "path": "pages/ranking", - "style": { - "navigationBarTitleText": "排行榜" - } - }, { "path": "pages/first-try", "style": { "navigationBarTitleText": "新手试炼" } }, + { + "path": "pages/practise", + "style": { + "navigationBarTitleText": "个人练习" + } + }, { "path": "pages/friend-battle", "style": { "navigationBarTitleText": "好友约战" } + }, + { + "path": "pages/ranking", + "style": { + "navigationBarTitleText": "排行榜" + } } ], "globalStyle": { diff --git a/src/pages/first-try.vue b/src/pages/first-try.vue index b3edbbe..feaaa6e 100644 --- a/src/pages/first-try.vue +++ b/src/pages/first-try.vue @@ -23,10 +23,11 @@ import Guide from "@/components/Guide.vue"; } .start-btn { margin: 0 10px; + padding: 15px 0; + font-weight: bold; width: calc(100% - 20px); background-color: #fed847; font-size: 15px; - padding: 3px; border-radius: 10px; } diff --git a/src/pages/friend-battle.vue b/src/pages/friend-battle.vue index 12c32d2..c160742 100644 --- a/src/pages/friend-battle.vue +++ b/src/pages/friend-battle.vue @@ -61,10 +61,12 @@ import Guide from "@/components/Guide.vue"; width: 70%; text-align: center; font-size: 14px; + height: 40px; } .founded-room > view > button { background-color: #fed847; width: 30%; + line-height: 40px; border-radius: 30px; font-size: 14px; padding: 3px 0; @@ -84,7 +86,6 @@ import Guide from "@/components/Guide.vue"; position: relative; display: flex; flex-direction: column; - justify-content: center; } .create-room > view > image:first-child { width: 18vw; @@ -110,8 +111,10 @@ import Guide from "@/components/Guide.vue"; .create-room > button { background-color: #fed847; border-radius: 30px; + margin: 0 auto; width: 70%; font-size: 15px; transform: translateY(-110%); + padding: 15px 0; } diff --git a/src/pages/index.vue b/src/pages/index.vue index 579d37b..b9eb055 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -26,6 +26,12 @@ const toFriendBattlePage = () => { url: "/pages/friend-battle", }); }; + +const toPractisePage = () => { + uni.navigateTo({ + url: "/pages/practise", + }); +};