diff --git a/src/App.vue b/src/App.vue
index 3ff262e..57ad347 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -5,6 +5,12 @@ onLaunch(() => {});
diff --git a/src/components/BowTarget.vue b/src/components/BowTarget.vue
new file mode 100644
index 0000000..7d8475b
--- /dev/null
+++ b/src/components/BowTarget.vue
@@ -0,0 +1,49 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/Button.vue b/src/components/Button.vue
new file mode 100644
index 0000000..4e19c11
--- /dev/null
+++ b/src/components/Button.vue
@@ -0,0 +1,23 @@
+
+
+
+
+
+
+
+
diff --git a/src/components/Guide.vue b/src/components/Guide.vue
index 71d8d13..778c1c3 100644
--- a/src/components/Guide.vue
+++ b/src/components/Guide.vue
@@ -12,7 +12,7 @@ defineProps({
- {{ title }}
+
@@ -22,21 +22,25 @@ defineProps({
display: flex;
align-items: center;
padding: 0 15px;
+ width: 100vw;
}
.container > image {
- width: 40vw;
+ width: 20%;
}
.container > view {
position: relative;
+ width: 80%;
+ padding-right: 22px;
+ min-height: 55px;
}
.container > view > image {
position: absolute;
- top: -10%;
+ top: -14%;
left: -7%;
- width: 75vw;
+ width: 100%;
}
-.container > view > text {
+.container > view {
color: #fff;
- font-size: 13px;
+ font-size: 14px;
}
diff --git a/src/components/UserHeader.vue b/src/components/UserHeader.vue
index 823f67e..11f8a28 100644
--- a/src/components/UserHeader.vue
+++ b/src/components/UserHeader.vue
@@ -35,7 +35,7 @@ const toUserPage = () => {
- {{ containerWidth }}
+ {{ userInfo.name }}
@@ -101,7 +101,7 @@ const toUserPage = () => {
.user-name > image {
margin-left: 5px;
- width: 24px;
+ width: 20px;
}
.user-stats {
diff --git a/src/pages.json b/src/pages.json
index 79a2e2e..adc4779 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -24,6 +24,18 @@
"navigationBarTitleText": "个人练习"
}
},
+ {
+ "path": "pages/practise-one",
+ "style": {
+ "navigationBarTitleText": "个人单组练习"
+ }
+ },
+ {
+ "path": "pages/practise-two",
+ "style": {
+ "navigationBarTitleText": "个人耐力挑战"
+ }
+ },
{
"path": "pages/friend-battle",
"style": {
@@ -35,6 +47,12 @@
"style": {
"navigationBarTitleText": "排行榜"
}
+ },
+ {
+ "path": "pages/equipment-debug",
+ "style": {
+ "navigationBarTitleText": "弓箭调试"
+ }
}
],
"globalStyle": {
diff --git a/src/pages/equipment-debug.vue b/src/pages/equipment-debug.vue
new file mode 100644
index 0000000..0f24bbd
--- /dev/null
+++ b/src/pages/equipment-debug.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
+
+
+
+ 请预先射几箭测试
+ 确保射击距离有5米
+
+
+
+
+ 本次射程5.2米,已达距离要求
+
+
+
+
+
+
diff --git a/src/pages/first-try.vue b/src/pages/first-try.vue
index feaaa6e..5cec410 100644
--- a/src/pages/first-try.vue
+++ b/src/pages/first-try.vue
@@ -2,17 +2,18 @@
import AppBackground from "@/components/AppBackground.vue";
import Header from "@/components/Header.vue";
import Guide from "@/components/Guide.vue";
+import Button from "@/components/Button.vue";
-
+
+ hi,Rocker,这是新人必刷小任务,0基础小白也能快速掌握弓箭技巧和游戏规则哦~:)
-
+
@@ -21,13 +22,4 @@ import Guide from "@/components/Guide.vue";
width: calc(100% - 20px);
margin: 10px 10px;
}
-.start-btn {
- margin: 0 10px;
- padding: 15px 0;
- font-weight: bold;
- width: calc(100% - 20px);
- background-color: #fed847;
- font-size: 15px;
- border-radius: 10px;
-}
diff --git a/src/pages/friend-battle.vue b/src/pages/friend-battle.vue
index c160742..631b857 100644
--- a/src/pages/friend-battle.vue
+++ b/src/pages/friend-battle.vue
@@ -8,9 +8,12 @@ import Guide from "@/components/Guide.vue";
-
+
+
+ 约上朋友开几局,欢乐多,不寂寞
+ 一起练升级更快,早日加入全国排位赛!
+
+
diff --git a/src/pages/index.vue b/src/pages/index.vue
index b9eb055..f1ffee8 100644
--- a/src/pages/index.vue
+++ b/src/pages/index.vue
@@ -32,6 +32,12 @@ const toPractisePage = () => {
url: "/pages/practise",
});
};
+
+const toQquipmentPage = () => {
+ uni.navigateTo({
+ url: "/pages/equipment-debug",
+ });
+};
@@ -40,11 +46,9 @@ const toPractisePage = () => {
-
-
-
+
我的弓箭
{
/>
-
-
-
@@ -144,14 +145,11 @@ const toPractisePage = () => {
padding-top: 45px;
}
-/* 用户信息样式 */
-
.container {
height: calc(100vh - 220px);
padding: 20px 10px;
}
-/* 功能区网格样式 */
.feature-grid {
display: grid;
grid-template-columns: 1fr 1fr;
@@ -197,7 +195,6 @@ const toPractisePage = () => {
width: 100%;
}
-/* 排位赛区域样式 */
.ranking-section {
border-radius: 15px;
padding: 15px;
diff --git a/src/pages/practise-one.vue b/src/pages/practise-one.vue
new file mode 100644
index 0000000..6b3c4b4
--- /dev/null
+++ b/src/pages/practise-one.vue
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/practise-two.vue b/src/pages/practise-two.vue
new file mode 100644
index 0000000..6e5f2c4
--- /dev/null
+++ b/src/pages/practise-two.vue
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/practise.vue b/src/pages/practise.vue
index 7d274f8..a92e800 100644
--- a/src/pages/practise.vue
+++ b/src/pages/practise.vue
@@ -2,19 +2,31 @@
import AppBackground from "@/components/AppBackground.vue";
import Header from "@/components/Header.vue";
import Guide from "@/components/Guide.vue";
+
+const toPractiseOne = () => {
+ uni.navigateTo({
+ url: "/pages/practise-one",
+ });
+};
+
+const toPractiseTwo = () => {
+ uni.navigateTo({
+ url: "/pages/practise-two",
+ });
+};
-
-
diff --git a/src/static/b-power.png b/src/static/b-power.png
new file mode 100644
index 0000000..04ec2a5
Binary files /dev/null and b/src/static/b-power.png differ
diff --git a/src/static/bow-target.png b/src/static/bow-target.png
new file mode 100644
index 0000000..c8dff28
Binary files /dev/null and b/src/static/bow-target.png differ