From 9f33610f2005247567041929eb8ef76fe2f3cb2b Mon Sep 17 00:00:00 2001 From: kron Date: Wed, 12 Nov 2025 20:40:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A1=E5=88=86=E6=9C=AC=E7=BB=86=E8=8A=82?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/audioManager.js | 2 +- src/components/AppFooter.vue | 12 ++-- src/components/BowTarget.vue | 11 ++-- src/components/BowTargetEdit.vue | 6 +- src/components/PointRecord.vue | 103 ++++++++++--------------------- src/pages/point-book-detail.vue | 72 +++++++++++---------- src/pages/point-book-edit.vue | 2 +- src/pages/point-book-list.vue | 39 ++++++++++-- src/pages/point-book.vue | 4 +- src/static/add-note.png | Bin 0 -> 699 bytes src/static/edit.png | Bin 363 -> 0 bytes src/static/has-note.png | Bin 0 -> 678 bytes src/static/tab-mall.png | Bin 2912 -> 3155 bytes 13 files changed, 128 insertions(+), 123 deletions(-) create mode 100644 src/static/add-note.png delete mode 100644 src/static/edit.png create mode 100644 src/static/has-note.png diff --git a/src/audioManager.js b/src/audioManager.js index c0d5beb..08832df 100644 --- a/src/audioManager.js +++ b/src/audioManager.js @@ -38,7 +38,7 @@ export const audioFils = { 射击无效: "https://static.shelingxingqiu.com/attachment/2025-09-17/dcutya55ufiiw8oo55.mp3", 未上靶: - "https://static.shelingxingqiu.com/attachment/2025-09-17/dcuuznjc78ljhzuw1o.mp3", + "https://static.shelingxingqiu.com/attachment/2025-11-12/de6n45o3tsm1v4unam.mp3", "1环": "https://static.shelingxingqiu.com/attachment/2025-09-17/dcutxin1aq7gxjih5l.mp3", "2环": diff --git a/src/components/AppFooter.vue b/src/components/AppFooter.vue index c6c8cf2..b030755 100644 --- a/src/components/AppFooter.vue +++ b/src/components/AppFooter.vue @@ -1,5 +1,4 @@ diff --git a/src/pages/point-book-detail.vue b/src/pages/point-book-detail.vue index 72e16ec..a0f1b1e 100644 --- a/src/pages/point-book-detail.vue +++ b/src/pages/point-book-detail.vue @@ -42,9 +42,11 @@ const closeTip = () => { }; const saveNote = async () => { - showTip3.value = false; - if (record.value.id) { - await addNoteAPI(record.value.id, notes.value); + if (record.value.id && notes.value) { + if (record.value.remark !== notes.value) { + await addNoteAPI(record.value.id, notes.value); + } + showTip3.value = false; } }; @@ -207,8 +209,11 @@ onShareTimeline(async () => { @click="() => openTip(3)" v-if="user.id === record.user.id" > - - 备注 + + {{ notes ? "我的备注" : "添加备注" }} @@ -222,14 +227,15 @@ onShareTimeline(async () => { /> --> - + - + - + 落点稳定性说明 @@ -309,14 +312,19 @@ onShareTimeline(async () => {