From 63c002ed56441195bf6770ff71a2d61e27175cd6 Mon Sep 17 00:00:00 2001 From: kron Date: Mon, 27 Oct 2025 14:21:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/BowTargetEdit.vue | 2 +- src/components/RingBarChart.vue | 1 - src/pages/point-book-create.vue | 66 ++------------------------------ src/pages/point-book-detail.vue | 38 ++++++++---------- src/pages/point-book-edit.vue | 27 +++++++------ src/pages/point-book-profile.vue | 37 ++++++++++++++---- 6 files changed, 67 insertions(+), 104 deletions(-) diff --git a/src/components/BowTargetEdit.vue b/src/components/BowTargetEdit.vue index e735772..8971189 100644 --- a/src/components/BowTargetEdit.vue +++ b/src/components/BowTargetEdit.vue @@ -209,7 +209,7 @@ onMounted(async () => { fontSize: '16px', marginLeft: '2px', }" - >环points { display: flex; flex-direction: column; justify-content: flex-end; - margin-top: -30rpx; } .container > view { padding: 0 10rpx; diff --git a/src/pages/point-book-create.vue b/src/pages/point-book-create.vue index b63941e..064fc30 100644 --- a/src/pages/point-book-create.vue +++ b/src/pages/point-book-create.vue @@ -4,15 +4,12 @@ import { onShow } from "@dcloudio/uni-app"; import Container from "@/components/Container.vue"; import EditOption from "@/components/EditOption.vue"; import SButton from "@/components/SButton.vue"; -import { getPointBookDataAPI } from "@/apis"; const expandIndex = ref(0); const bowType = ref(""); const distance = ref(0); const bowtargetType = ref(""); const amountGroup = ref(""); -const days = ref(0); -const arrows = ref(0); const onExpandChange = (index, expand) => { if (expandIndex.value !== -1) { @@ -54,18 +51,11 @@ const toEditPage = () => { }); } else { uni.showToast({ - title: "请完善信息", + title: "Please complete the information", icon: "none", }); } }; -// onShow(async () => { -// const result = await getPointBookDataAPI(); -// if (result) { -// days.value = result.total_day || 0; -// arrows.value = result.total_arrow || 0; -// } -// }); onMounted(async () => { const pointBook = uni.getStorageSync("point-book"); if (pointBook) { @@ -82,29 +72,9 @@ onMounted(async () => { :bgType="2" bgColor="#F5F5F5" :whiteBackArrow="false" - title="选择参数" + title="Select Parameters" > - { - 下一步 + Next @@ -152,34 +122,4 @@ onMounted(async () => { .container > view:nth-child(2) { margin: 0 10px; } -.header { - width: 100%; - height: 27vw; - position: relative; - display: flex; - align-items: center; - color: #ffffffc7; - font-size: 14px; - margin-top: 10px; -} -.header > image { - position: absolute; - width: 100%; - border: 2px solid #fff; - box-sizing: border-box; - border-radius: 10px; -} -.header > view { - position: relative; -} -.header > view:nth-child(2) { - margin-left: 7vw; - margin-right: 7vw; -} -.header > view > view > text:first-child { - font-size: 27px; - font-weight: 500; - margin-right: 5px; - color: #fff4c9; -} diff --git a/src/pages/point-book-detail.vue b/src/pages/point-book-detail.vue index 6dfecc3..8dde86f 100644 --- a/src/pages/point-book-detail.vue +++ b/src/pages/point-book-detail.vue @@ -75,7 +75,7 @@ onLoad(async (options) => { :bgType="2" bgColor="#F5F5F5" :whiteBackArrow="false" - title="分析" + title="Analysis" :onBack="goBack" > @@ -92,7 +92,7 @@ onLoad(async (options) => { fontSize: selectedIndex === index ? '15px' : '13px', letterSpacing: index !== 0 ? '2px' : '0', }" - >{{ index === 0 ? "全部" : `第${index}组` }}{{ index === 0 ? "All" : `Set${index}` }}