diff --git a/src/components/EditOption.vue b/src/components/EditOption.vue
index 58aabaa..b7754ab 100644
--- a/src/components/EditOption.vue
+++ b/src/components/EditOption.vue
@@ -27,7 +27,7 @@ const props = defineProps({
default: "",
},
});
-const itemTexts = ["选择弓种", "选择练习距离", "选择靶纸", "选择组/箭数"];
+const itemTexts = ["Bow Type", "Distance", "Target Type", "Sets/Arrows"];
const distances = [5, 8, 10, 18, 25, 30, 50, 60, 70];
const groupArrows = [3, 6, 12, 18];
@@ -135,22 +135,22 @@ onMounted(async () => {
}"
>
onExpand(itemIndex, !expand)">
- {{
- itemIndex !== 3 ? itemTexts[itemIndex] : "选择组"
+ {{
+ itemIndex !== 3 ? itemTexts[itemIndex] : "Select Sets"
}}
- {{
+ {{
value || itemTexts[itemIndex]
}}
- {{
- value && value > 0 ? value + "米" : itemTexts[itemIndex]
+ {{
+ value && value > 0 ? value + "m" : itemTexts[itemIndex]
}}
- {{
+ {{
value || itemTexts[itemIndex]
}}
- {{
+ {{
selectedIndex !== -1 && secondSelectIndex !== -1
- ? `${selectedIndex}组/${groupArrows[secondSelectIndex]}箭`
+ ? `${selectedIndex}sets/${groupArrows[secondSelectIndex]}arrows`
: itemTexts[itemIndex]
}}
@@ -186,7 +186,7 @@ onMounted(async () => {
@click="onSelectItem(index)"
>
{{ item }}
- 米
+ m
(selectedIndex = 9)"
@change="onMeterChange"
/>
- 米
+ m
@@ -227,12 +227,12 @@ onMounted(async () => {
@click="onSelectItem(i)"
>
{{ i }}
- 组
+ sets
选择每组的箭数Select arrows per set
{
@click="onSelectSecondItem(index)"
>
{{ item }}
- 箭
+ arrows
diff --git a/src/components/PointRecord.vue b/src/components/PointRecord.vue
index 0df8e8d..8afdb29 100644
--- a/src/components/PointRecord.vue
+++ b/src/components/PointRecord.vue
@@ -68,7 +68,6 @@ onMounted(() => {
display: flex;
align-items: center;
border-radius: 25rpx;
- margin-bottom: 25rpx;
height: 200rpx;
border: 2rpx solid #fed848;
}
diff --git a/src/components/RingBarChart.vue b/src/components/RingBarChart.vue
index b4d4e0d..74f55d2 100644
--- a/src/components/RingBarChart.vue
+++ b/src/components/RingBarChart.vue
@@ -4,7 +4,7 @@ import { ref, computed } from "vue";
const props = defineProps({
data: {
type: Object,
- default: () => ({}),
+ default: Array,
},
total: {
type: Number,
@@ -69,6 +69,7 @@ const ringText = (ring) => {
display: flex;
flex-direction: column;
justify-content: flex-end;
+ margin-top: -30rpx;
}
.container > view {
padding: 0 10rpx;
diff --git a/src/components/ScrollList.vue b/src/components/ScrollList.vue
index 1e0d788..1ea4474 100644
--- a/src/components/ScrollList.vue
+++ b/src/components/ScrollList.vue
@@ -59,6 +59,7 @@ onShow(async () => {
{
>
- 加载中...
- {{ count === 0 ? "暂无数据" : "没有更多了" }}
+ Loading...
+ {{ count === 0 ? "No data" : "That‘s all" }}
@@ -83,9 +84,7 @@ onShow(async () => {
.scroll-list {
width: 100%;
height: 100%;
-}
-.tips {
- height: 50rpx;
+ flex-direction: column;
}
.tips > text {
color: #d0d0d0;
diff --git a/src/pages/point-book-home.vue b/src/pages/point-book-home.vue
index 67a7d57..da775ed 100644
--- a/src/pages/point-book-home.vue
+++ b/src/pages/point-book-home.vue
@@ -1,7 +1,6 @@
-
-
-
-
-
-
-
-
-
- 周一
-
-
-
-
- 周二
-
-
-
-
- 周三
-
-
-
-
- 周四
-
-
-
-
- 周五
-
-
-
-
- 周六
-
-
-
-
- 周日
-
+
+
+
+
-
-
- {{ data.todayTotalArrow || "-" }}
- 今日射箭(箭)
-
-
- {{ data.totalArrow || "-" }}
- 累计射箭(箭)
-
-
- {{ data.totalDay || "-" }}
- 已训练天数(天)
-
-
- {{ data.averageRing || "-" }}
- 平均环数(箭)
-
-
- {{
- data.yellowRate !== undefined
- ? Number((data.yellowRate * 100).toFixed(2)) + "%"
- : "-"
- }}
- 黄心率
-
-
-
-
-
-
-
-
-
+
-
-
- 生成中...
-
-
+
+ Mon
+
+
+
+
+ Tue
+
+
+
+
+ Wed
+
+
+
+
+ Thu
+
+
+
+
+ Fri
+
+
+
+
+ Sat
+
+
+
+
+ Sun
-
-
+
+
+ {{ data.todayTotalArrow || "-" }}
+ Today's Arrows
+
+
+ {{ data.totalArrow || "-" }}
+ Total Arrows
+
+
+ {{ data.totalDay || "-" }}
+ Training Days
+
+
+ {{ data.averageRing || "-" }}
+ Avg Score
+
+
+ {{
+ data.yellowRate !== undefined
+ ? Number((data.yellowRate * 100).toFixed(2)) + "%"
+ : "-"
+ }}
+ X-Ring Rate
+
+
+
+
+
+
+
+
+
+
+
+
+ Generating...
+
+
+
+
+
+
diff --git a/src/pages/point-book-profile.vue b/src/pages/point-book-profile.vue
new file mode 100644
index 0000000..79538a9
--- /dev/null
+++ b/src/pages/point-book-profile.vue
@@ -0,0 +1,114 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/point-book.vue b/src/pages/point-book.vue
index 4ae6c6b..0f56629 100644
--- a/src/pages/point-book.vue
+++ b/src/pages/point-book.vue
@@ -1,6 +1,9 @@
-
-
+
+
+
+
+
+
+
-
+