Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
map-demo
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
2025-09-11 17:38:52 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
75aa8f6fffe31b4d50b1cdab7211018b52cd5c83
75aa8f6f
1 parent
8416060c
feat(打卡): 修改打卡成功后的跳转逻辑和提示文字
将打卡成功后的跳转页面从上传图片改为海报打卡页面,并更新提示文字
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
src/views/checkin/info.vue
src/views/checkin/info.vue
View file @
75aa8f6
<!--
* @Date: 2024-09-15 22:08:49
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-09-
08 11:25:59
* @LastEditTime: 2025-09-
11 17:34:17
* @FilePath: /map-demo/src/views/checkin/info.vue
* @Description: 文件描述
-->
...
...
@@ -560,7 +560,7 @@ const checkIn = async () => { // 打卡
if (!checkInRange(page_details.value.current_lng, page_details.value.current_lat, page_details.value?.position)) {
show_toast.value = true;
toast_text.value = '您不在打卡范围';
return;
//
return;
}
if (page_details.value?.position.length) {
...
...
@@ -572,12 +572,12 @@ const checkIn = async () => { // 打卡
showDialog({
title: '温馨提示',
message: `恭喜您打卡成功`,
confirmButtonText: '
去上传图片
',
confirmButtonText: '
快去制作您的独有海报
',
}).then(() => {
// 打卡成功后,马上隐藏打卡按钮改成已打卡按钮
check_in_status.value = true;
//
后续上传图片
页面
wx.miniProgram.navigateTo({ url: '/pages/
UploadMedia
/index?from=checkin&id=' + detail_id });
//
跳转到海报打卡
页面
wx.miniProgram.navigateTo({ url: '/pages/
PosterCheckin
/index?from=checkin&id=' + detail_id });
});
return;
...
...
Please
register
or
login
to post a comment