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-22 14:36:59 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
844379933b0eba6e7912524f1edc5e8d006ebac0
84437993
1 parent
274ff72a
fix(扫码打卡详情页): 修正注册参数赋值逻辑
新增扫码阶段注册来源常量,更新跳转欢迎页的注释说明,调整注册相关参数的赋值逻辑
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
src/pages/ScanCheckinDetail/index.vue
src/pages/ScanCheckinDetail/index.vue
View file @
8443799
...
...
@@ -68,6 +68,7 @@ import {
const defaultCover =
'https://cdn.ipadbiz.cn/lls_prog/images/check_detail_img.png?imageMogr2/strip/quality/60'
const REGISTER_SOURCE_SCAN_STAGE = 'SCAN_STAGE'
const detail = reactive({
activityId: '',
...
...
@@ -127,9 +128,8 @@ const normalizedRichTextContent = computed(() => {
})
const navigateToWelcome = () => {
// 扫码入口沿用首页广告位的判断路线:
// 先判断是否有家庭,没有则先去 Welcome,再由 Welcome 决定补资料/创建家庭/加入家庭。
// 现在这条链路不再要求“完成后回到当前详情页继续扫码”,而是完成家庭准入后回首页。
// 扫码详情页缺少家庭时,沿用 Welcome -> AddProfile/建家庭/加家庭 的准入链路。
// 这里的来源归因固定表示“从扫码打卡详情页进入补资料”。
const params = new URLSearchParams({
reg_source: detail.regSource,
reg_stage_id: detail.regStageId,
...
...
@@ -425,8 +425,8 @@ const initPage = options => {
options.stage_id ||
options.id ||
''
detail.regSource =
options.reg_source || ''
detail.regStageId =
options.reg_stage_id || ''
detail.regSource =
REGISTER_SOURCE_SCAN_STAGE
detail.regStageId =
detailId
detail.entrySceneRaw = sceneParams.rawScene || ''
detail.entryMode = resolveEntryMode(sceneParams, options)
detail.id = detailId
...
...
Please
register
or
login
to post a comment