This commit is contained in:
yixu
2025-09-14 21:48:30 +08:00
parent 6c108d8425
commit 7f29511cb6

View File

@@ -57,10 +57,12 @@ const handleHaibao = async () => {
let userPicture = ''; let userPicture = '';
if (!globalStore.result_url) { if (!globalStore.result_url) {
weui.alert("请先参与活动合成图片并打榜!") weui.alert("请先参与活动合成图片并打榜!")
haibaoShow.value = false
return false;
} else { } else {
userPicture = await loadImage(globalStore.result_url) userPicture = await loadImage(globalStore.result_url)
} }
const loading = weui.loading();
const infos = Storage.get("userinfos") const infos = Storage.get("userinfos")
const haibaoCover = new Haibao(951, 1607) const haibaoCover = new Haibao(951, 1607)
haibaoCover.add(userPicture, 50, 50) haibaoCover.add(userPicture, 50, 50)