Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
lls_program
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2026-05-21 15:11:32 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2a50116b9ded60c2504f2db0b44071d69ff01f5f
2a50116b
1 parent
bda957c4
feat(ScanCheckinDetail): 修改扫码打卡成功后的弹窗与跳转逻辑
更新打卡成功弹窗的文案和确认按钮文本,将跳转页面改为海报详情页,方便用户查看并分享打卡结果
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
src/pages/ScanCheckinDetail/index.vue
src/pages/ScanCheckinDetail/index.vue
View file @
2a50116
...
...
@@ -336,18 +336,14 @@ const submitCheckin = async ({ activityId, detailId, scannedCode = '' }) => {
const modalResult = await Taro.showModal({
title: '打卡成功',
content: '您已完成当前扫码打卡,可前往
列表查看状态
。',
content: '您已完成当前扫码打卡,可前往
海报页查看并继续分享
。',
showCancel: false,
confirmText: '查看
列表
',
confirmText: '查看
海报
',
})
if (modalResult.confirm) {
const params = new URLSearchParams({
activityId: activityId || detail.activityId,
})
Taro.redirectTo({
url: `/pages/ScanCheckinList/index?${params.toString()}`,
Taro.navigateTo({
url: `/pages/PosterCheckinDetail/index?activityId=${activityId || detail.activityId}`,
})
}
return
...
...
Please
register
or
login
to post a comment