完成分享计分详情的靶子和点的渲染
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user