完成分享计分详情的靶子和点的渲染

This commit is contained in:
kron
2025-11-16 17:09:50 +08:00
parent 8a4b44666f
commit 3e362241cc
2 changed files with 109 additions and 16 deletions

View File

@@ -92,7 +92,7 @@ const shareImage = async () => {
onLoad(async (options) => {
if (options.id) {
const result = await getPointBookDetailAPI(options.id || 222);
const result = await getPointBookDetailAPI(options.id || 243);
record.value = result;
notes.value = result.remark || "";
const config = uni.getStorageSync("point-book-config");
@@ -281,18 +281,18 @@ onShareTimeline(async () => {
class="btns"
:style="{
gridTemplateColumns: `repeat(${
user.id === record.user.id ? 1 : 1
user.id === record.user.id ? 2 : 1
}, 1fr)`,
}"
>
<button hover-class="none" @click="goBack">关闭</button>
<!-- <button
<button
hover-class="none"
@click="shareImage"
v-if="user.id === record.user.id"
>
分享
</button> -->
</button>
</view>
</view>
<ScreenHint2 :show="showTip || showTip2 || showTip3" :onClose="closeTip">