From 802d21a896ee372647de972afce0a10fc4d78fb0 Mon Sep 17 00:00:00 2001 From: kron Date: Tue, 4 Nov 2025 17:41:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PointRecord.vue | 26 +++++++++++++++++----- src/pages/point-book-detail.vue | 37 +++++++++++++++++++++++--------- src/static/delete-white.png | Bin 0 -> 389 bytes src/util.js | 8 ++++--- 4 files changed, 53 insertions(+), 18 deletions(-) create mode 100644 src/static/delete-white.png diff --git a/src/components/PointRecord.vue b/src/components/PointRecord.vue index 24ebef7..be7c406 100644 --- a/src/components/PointRecord.vue +++ b/src/components/PointRecord.vue @@ -13,9 +13,7 @@ const props = defineProps({ }); const bowOptions = ref({}); const targetOptions = ref({}); -const rightOptions = [ - { text: "删除", style: { backgroundColor: "#ff4d4f", color: "#fff" } }, -]; +// 使用插槽自定义右侧按钮为图标,若需要文字按钮可恢复 rightOptions const toDetailPage = () => { uni.navigateTo({ @@ -41,9 +39,13 @@ const onSwipeActionClick = () => {