feat: 移除预约记录/详情页防截屏限制,预约日期条支持置灰显示已过预约时间

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
jacobxu666
2026-09-04 11:42:21 +08:00
co-authored by Claude Fable 5
parent 08e2f6888b
commit 64ac69db93
3 changed files with 6 additions and 26 deletions
-12
View File
@@ -244,9 +244,6 @@ let countdownTimer: ReturnType<typeof setInterval> | null = null
onUnmounted(() => {
clearTimer()
// #ifdef MP-WEIXIN
wx.offUserCaptureScreen()
// #endif
})
const records = ref<ReserveRecord[]>([])
@@ -308,15 +305,6 @@ async function fetchRecords(append = false) {
}
onLoad(() => {
// #ifdef MP-WEIXIN
wx.setVisualEffectOnCapture({ visualEffect: 'hidden' })
wx.onUserCaptureScreen(() => {
uni.showToast({ title: '该页面截图无效,请不要截图', icon: 'none' })
if (currentRecord.value) {
fetchCode(currentRecord.value)
}
})
// #endif
fetchRecords()
})