完成生成靶子数据图片的头部

This commit is contained in:
kron
2025-11-14 11:59:21 +08:00
parent 7871544f01
commit 0745c4ba9f
2 changed files with 275 additions and 9 deletions

View File

@@ -85,14 +85,14 @@ const loading = ref(false);
const shareImage = async () => {
if (loading.value) return;
loading.value = true;
await generateShareImage("shareImageCanvas");
await generateShareImage("shareImageCanvas", record.value);
await wxShare("shareImageCanvas");
loading.value = false;
};
onLoad(async (options) => {
if (options.id) {
const result = await getPointBookDetailAPI(options.id || 209);
const result = await getPointBookDetailAPI(options.id || 222);
record.value = result;
notes.value = result.remark || "";
const config = uni.getStorageSync("point-book-config");