diff --git a/src/App.vue b/src/App.vue index 57ad347..a927eb2 100644 --- a/src/App.vue +++ b/src/App.vue @@ -52,4 +52,36 @@ button.hover { .guide-tips > text:first-child { color: #fed847; } + +@keyframes scaleIn { + from { + transform: scale(0); + opacity: 0; + } + to { + transform: scale(1); + opacity: 1; + } +} + +.scale-in { + animation: scaleIn 0.3s ease-out forwards; + transform-origin: center center; +} + +@keyframes scaleOut { + from { + transform: scale(1); + opacity: 1; + } + to { + transform: scale(0); + opacity: 0; + } +} + +.scale-out { + animation: scaleOut 0.3s ease-out forwards; + transform-origin: center center; +} diff --git a/src/components/AppBackground.vue b/src/components/AppBackground.vue index 91eea14..7d86962 100644 --- a/src/components/AppBackground.vue +++ b/src/components/AppBackground.vue @@ -1,7 +1,18 @@ + + @@ -29,6 +40,10 @@ height: 100%; left: 0; top: 0; - background: linear-gradient(to bottom, rgba(26, 26, 26, 0.8), rgba(0, 0, 0, 0.8)); + background: linear-gradient( + to bottom, + rgba(26, 26, 26, 0.8), + rgba(0, 0, 0, 0.8) + ); } - \ No newline at end of file + diff --git a/src/components/BowTarget.vue b/src/components/BowTarget.vue index 7d8475b..4911318 100644 --- a/src/components/BowTarget.vue +++ b/src/components/BowTarget.vue @@ -1,15 +1,50 @@ - + @@ -17,33 +52,60 @@ .container { position: relative; width: calc(100% - 30px); - padding: 50px 15px; + padding: 15px; } .container > image { width: 100%; + padding: 10px 0; } .header { - position: absolute; - top: 0px; - left: 0px; - width: calc(100% - 30px); + width: calc(100% - 20px); display: flex; align-items: center; justify-content: space-between; - padding: 20px 15px; font-size: 13px; + padding: 0 10px; } -.header > image { +.header > image:first-child { width: 40px; height: 40px; } -.header > view { +.header > view:nth-child(2) { display: flex; align-items: center; color: #b9b9b9; } -.header > view > image { +.header > view:nth-child(2) > image { width: 22px; margin-right: 5px; } +.header > text:nth-child(3) { + position: absolute; + font-size: 20px; + color: #fed847; + top: 75px; + font-size: 16px; +} +.header-tips { + font-size: 20px; + color: #fed847; +} +.footer { + width: calc(100% - 20px); + padding: 0 10px; + display: flex; + margin-top: -40px; +} +.footer > image { + width: 40px; + height: 40px; +} +.container > text { + width: 100%; + color: #fed847; + text-align: center; + line-height: 40px; + display: block; + margin-top: 20px; +} diff --git a/src/components/Button.vue b/src/components/Button.vue deleted file mode 100644 index 4e19c11..0000000 --- a/src/components/Button.vue +++ /dev/null @@ -1,23 +0,0 @@ - - - - diff --git a/src/components/CoachComment.vue b/src/components/CoachComment.vue new file mode 100644 index 0000000..74943fe --- /dev/null +++ b/src/components/CoachComment.vue @@ -0,0 +1,61 @@ + + + + + diff --git a/src/components/Guide.vue b/src/components/Guide.vue index 778c1c3..9f59bc1 100644 --- a/src/components/Guide.vue +++ b/src/components/Guide.vue @@ -1,8 +1,8 @@ @@ -11,7 +11,12 @@ defineProps({ - + diff --git a/src/components/IconButton.vue b/src/components/IconButton.vue new file mode 100644 index 0000000..ebfbb54 --- /dev/null +++ b/src/components/IconButton.vue @@ -0,0 +1,39 @@ + + + + diff --git a/src/components/SButton.vue b/src/components/SButton.vue new file mode 100644 index 0000000..0a058a9 --- /dev/null +++ b/src/components/SButton.vue @@ -0,0 +1,38 @@ + + + + + diff --git a/src/components/ScorePanel.vue b/src/components/ScorePanel.vue new file mode 100644 index 0000000..90f71fb --- /dev/null +++ b/src/components/ScorePanel.vue @@ -0,0 +1,51 @@ + + + + diff --git a/src/components/ScorePanel2.vue b/src/components/ScorePanel2.vue new file mode 100644 index 0000000..d5f46c5 --- /dev/null +++ b/src/components/ScorePanel2.vue @@ -0,0 +1,74 @@ + + + + diff --git a/src/components/ScoreResult.vue b/src/components/ScoreResult.vue new file mode 100644 index 0000000..3a156eb --- /dev/null +++ b/src/components/ScoreResult.vue @@ -0,0 +1,155 @@ + + + + + diff --git a/src/components/ShootProgress.vue b/src/components/ShootProgress.vue new file mode 100644 index 0000000..0e25dd4 --- /dev/null +++ b/src/components/ShootProgress.vue @@ -0,0 +1,83 @@ + + + + + diff --git a/src/components/Swiper.vue b/src/components/Swiper.vue new file mode 100644 index 0000000..48e79df --- /dev/null +++ b/src/components/Swiper.vue @@ -0,0 +1,87 @@ + + + + + diff --git a/src/pages/equipment-debug.vue b/src/pages/equipment-debug.vue index 0f24bbd..48d69a2 100644 --- a/src/pages/equipment-debug.vue +++ b/src/pages/equipment-debug.vue @@ -3,7 +3,7 @@ import AppBackground from "@/components/AppBackground.vue"; import Header from "@/components/Header.vue"; import Guide from "@/components/Guide.vue"; import BowTarget from "@/components/BowTarget.vue"; -import Button from "@/components/Button.vue"; +import Button from "@/components/SButton.vue"; diff --git a/src/static/app-bg2.png b/src/static/app-bg2.png new file mode 100644 index 0000000..2c4af6b Binary files /dev/null and b/src/static/app-bg2.png differ diff --git a/src/static/close-gold-outline.png b/src/static/close-gold-outline.png new file mode 100644 index 0000000..3b938c5 Binary files /dev/null and b/src/static/close-gold-outline.png differ diff --git a/src/static/coach-comment.png b/src/static/coach-comment.png new file mode 100644 index 0000000..36842dc Binary files /dev/null and b/src/static/coach-comment.png differ diff --git a/src/static/enter-arrow-blue.png b/src/static/enter-arrow-blue.png new file mode 100644 index 0000000..408eb09 Binary files /dev/null and b/src/static/enter-arrow-blue.png differ diff --git a/src/static/finish-frame.png b/src/static/finish-frame.png new file mode 100644 index 0000000..c7508fa Binary files /dev/null and b/src/static/finish-frame.png differ diff --git a/src/static/finish-tip.png b/src/static/finish-tip.png new file mode 100644 index 0000000..f16a074 Binary files /dev/null and b/src/static/finish-tip.png differ diff --git a/src/static/long-bubble-tall.png b/src/static/long-bubble-tall.png new file mode 100644 index 0000000..aad5e47 Binary files /dev/null and b/src/static/long-bubble-tall.png differ diff --git a/src/static/practise1.png b/src/static/practise1.png index 1a7bd06..30cab87 100644 Binary files a/src/static/practise1.png and b/src/static/practise1.png differ diff --git a/src/static/practise2.png b/src/static/practise2.png index 30cab87..1a7bd06 100644 Binary files a/src/static/practise2.png and b/src/static/practise2.png differ diff --git a/src/static/review.png b/src/static/review.png new file mode 100644 index 0000000..9fac578 Binary files /dev/null and b/src/static/review.png differ diff --git a/src/static/score-bg.png b/src/static/score-bg.png new file mode 100644 index 0000000..27e90af Binary files /dev/null and b/src/static/score-bg.png differ diff --git a/src/static/share.png b/src/static/share.png new file mode 100644 index 0000000..64285e4 Binary files /dev/null and b/src/static/share.png differ diff --git a/src/static/sound-yellow.png b/src/static/sound-yellow.png new file mode 100644 index 0000000..9c2fedc Binary files /dev/null and b/src/static/sound-yellow.png differ