diff --git a/src/App.vue b/src/App.vue
index 86eff1e..473e32b 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -4,3 +4,8 @@
+
diff --git a/src/components/AppBackground.vue b/src/components/AppBackground.vue
index 3095318..52a94bf 100644
--- a/src/components/AppBackground.vue
+++ b/src/components/AppBackground.vue
@@ -10,56 +10,31 @@ const props = defineProps({
default: "#050b19",
},
});
-const capsuleHeight = ref(0);
-// onMounted(() => {
-// const menuBtnInfo = uni.getMenuButtonBoundingClientRect();
-// capsuleHeight.value = menuBtnInfo.top + 50 - 9;
-// });
-
+
-
diff --git a/src/components/Container.vue b/src/components/Container.vue
index 5b3cfe4..9b3dd14 100644
--- a/src/components/Container.vue
+++ b/src/components/Container.vue
@@ -9,7 +9,7 @@ const props = defineProps({
},
bgType: {
type: Number,
- default: 0,
+ default: 2,
},
onBack: {
type: Function,
@@ -25,18 +25,13 @@ const props = defineProps({
},
bgColor: {
type: String,
- default: "#050b19",
+ default: "#F5F5F5",
},
});
const showHint = ref(false);
const hintType = ref(0);
-const capsuleHeight = ref(0);
const isLoading = ref(false);
-
-onMounted(() => {
- // const menuBtnInfo = uni.getMenuButtonBoundingClientRect();
- // capsuleHeight.value = menuBtnInfo.top - 9;
-});
+const statusBarHeight = uni.getSystemInfoSync().statusBarHeight;
const goBack = () => {
uni.navigateBack();
@@ -44,13 +39,13 @@ const goBack = () => {
-
+
diff --git a/src/components/Header.vue b/src/components/Header.vue
index 53e5865..612f31c 100644
--- a/src/components/Header.vue
+++ b/src/components/Header.vue
@@ -1,17 +1,7 @@
@@ -77,32 +44,6 @@ onBeforeUnmount(() => {
-
-
-
{{ pointBook.bowType.name }}
{{ pointBook.distance }} 米
@@ -129,8 +70,7 @@ onBeforeUnmount(() => {
justify-content: flex-start;
align-items: center;
width: 72vw;
- height: 50px;
- /* margin-top: var(--status-bar-height); */
+ height: 100rpx;
padding-left: 15px;
}
.container > view:nth-child(2) {
@@ -146,23 +86,6 @@ onBeforeUnmount(() => {
height: 22px;
margin-right: 10px;
}
-.first-try-steps {
- display: flex;
- align-items: center;
- color: #fff6;
- font-size: 14px;
-}
-.first-try-steps > text {
- transition: all 0.3s ease;
-}
-.first-try-steps > text:nth-child(2),
-.first-try-steps > text:nth-child(4) {
- margin: 0 5px;
-}
-.current-step {
- font-size: 16px;
- color: #fff;
-}
.point-book-info {
color: #333;
position: fixed;
@@ -178,25 +101,4 @@ onBeforeUnmount(() => {
padding: 5px 10px;
margin: 3px;
}
-.user-header {
- display: flex;
- align-items: center;
- justify-content: flex-start;
-}
-.user-header > image:first-child {
- width: 40px;
- height: 40px;
- border-radius: 50%;
- border: 2rpx solid #333;
-}
-.user-header > image:last-child {
- width: 36rpx;
-}
-.user-header > text:nth-child(2) {
- font-weight: 500;
- font-size: 30rpx;
- color: #333333;
- margin: 0 20rpx;
- max-width: 300rpx;
-}
diff --git a/src/components/Tabbar.vue b/src/components/Tabbar.vue
new file mode 100644
index 0000000..bbaa7de
--- /dev/null
+++ b/src/components/Tabbar.vue
@@ -0,0 +1,70 @@
+
+
+
+
+
+ Score
+
+
+
+ History
+
+
+
+ Profile
+
+
+
+
+
diff --git a/src/pages.json b/src/pages.json
index e951881..bbe1ef1 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -3,6 +3,12 @@
{
"path": "pages/index"
},
+ {
+ "path": "pages/signin"
+ },
+ {
+ "path": "pages/signup"
+ },
{
"path": "pages/create"
},
@@ -12,21 +18,9 @@
{
"path": "pages/edit"
},
- {
- "path": "pages/list"
- },
- {
- "path": "pages/profile"
- },
{
"path": "pages/reset-pwd"
},
- {
- "path": "pages/signin"
- },
- {
- "path": "pages/signup"
- },
{
"path": "pages/edit-profile"
}
diff --git a/src/pages/create.vue b/src/pages/create.vue
index 41c01b9..f839e6f 100644
--- a/src/pages/create.vue
+++ b/src/pages/create.vue
@@ -70,7 +70,7 @@ onMounted(async () => {
-
+
{
-
+