diff --git a/src/apis.js b/src/apis.js
index bb00464..e47e3d0 100644
--- a/src/apis.js
+++ b/src/apis.js
@@ -498,3 +498,23 @@ export const donateAPI = async (amount, name, phone, organizer, advice) => {
advice,
});
};
+
+export const laserAimAPI = async () => {
+ return request("POST", "/user/device/laserAim");
+};
+
+export const laserCloseAPI = async () => {
+ return request("POST", "/user/device/closeAim");
+};
+
+export const getDeviceBatteryAPI = async () => {
+ return request("GET", "/user/device/battery");
+};
+
+export const addNoteAPI = async (id, remark) => {
+ return request("POST", "/user/score/sheet/remark", { id, remark });
+};
+
+export const removePointRecord = async (id) => {
+ return request("DELETE", `/user/score/sheet/delete?id=${id}`);
+};
diff --git a/src/components/EditOption.vue b/src/components/EditOption.vue
index e489bfc..666a383 100644
--- a/src/components/EditOption.vue
+++ b/src/components/EditOption.vue
@@ -1,5 +1,5 @@
+
+
+
+
+
+
+
+ openTip(1)"
+ >
+ 落点稳定性
+
+
+ {{ Number((data.stability || 0).toFixed(2)) }}
+
+
+ 黄心率
+ {{ Number((data.yellowRate * 100).toFixed(2)) }}%
+
+
+ 10环数
+ {{ data.tenRings }}
+
+
+ 平均环数
+ {{ Number((data.averageRing || 0).toFixed(2)) }}
+
+
+ 总环数
+ {{ data.userTotalRing }}/{{ data.totalRing }}
+
+
+
+
+ 落点分布
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ index }}:
+ {{ item.list.reduce((acc, cur) => acc + cur.ring, 0) }}
+ 环
+
+
+
+ {{
+ arrow.ring === 0 ? "X" : arrow.ring === -1 ? "M" : arrow.ring
+ }}
+
+
+
+
+ 开启我的弓箭记录
+
+
+
+
+ 落点稳定性说明
+ 通过计算每支箭与其他箭的平均距离衡量射箭的稳定性,数字越小则说明射箭越稳定。该数据只能在用户标记落点的情况下生成。
+
+
+ 落点分布说明
+ 展示用户某次练习中射箭的点位
+
+
+
+
+
+
+
diff --git a/src/pages/point-book-detail.vue b/src/pages/point-book-detail.vue
index 87671ca..b1e28e9 100644
--- a/src/pages/point-book-detail.vue
+++ b/src/pages/point-book-detail.vue
@@ -1,29 +1,39 @@
@@ -85,11 +143,11 @@ onLoad(async (options) => {
:bgType="2"
bgColor="#F5F5F5"
:whiteBackArrow="false"
- title="Analysis"
+ title=""
:onBack="goBack"
>
-
+
-
+ -->
+
+
{
Total Rings
{{ data.userTotalRing }}/{{ data.totalRing }}
-
-
-
+
Distribution
-
-
-
-
- Score Distribution
-
+
-
-
- {{
- selectedIndex === 0 ? "Rings per Set" : `Set ${selectedIndex} Rings`
- }}
-
-
- {{
- `Set${index}`
- }}
+
+
+ {{ index }}:
+ {{ item.userTotalRing }}
+ Ring
+
- Close
+
+
+
{
+
+
+ Are you sure to delete this record?
+
+ Cancel
+ Confirm
+
+
+
+
diff --git a/src/static/edit.png b/src/static/edit.png
new file mode 100644
index 0000000..f583708
Binary files /dev/null and b/src/static/edit.png differ