Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
panyongping
uni-pdtravel
Commits
f318a2cf
Commit
f318a2cf
authored
Sep 06, 2023
by
renjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改相册首页扫码进入逻辑
parent
5b54046a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
albumIndex.vue
pages/album/albumIndex.vue
+5
-3
No files found.
pages/album/albumIndex.vue
View file @
f318a2cf
...
@@ -277,7 +277,9 @@ export default {
...
@@ -277,7 +277,9 @@ export default {
surveyResult
=
await
this
.
judgeWhether
(
'scenic/albumConfig/getSurveyConfig'
,
{
surveyResult
=
await
this
.
judgeWhether
(
'scenic/albumConfig/getSurveyConfig'
,
{
surveyIds
surveyIds
})
})
}
}
else
{
// 调查模板为空则直接展示首页
this
.
show
=
true
}
// 3.判断用户是否已经投过票
// 3.判断用户是否已经投过票
let
voteObj
=
{}
// 用户投票信息
let
voteObj
=
{}
// 用户投票信息
...
@@ -386,10 +388,10 @@ export default {
...
@@ -386,10 +388,10 @@ export default {
if
(
this
.
options
.
tip
===
'true'
)
{
// 从模板选择页进入
if
(
this
.
options
.
tip
===
'true'
)
{
// 从模板选择页进入
this
.
show
=
true
this
.
show
=
true
this
.
postCartTip
=
true
this
.
postCartTip
=
true
}
else
if
(
this
.
options
.
channelId
)
{
// 扫码进入本页
this
.
handleWhetherToVotePage
()
}
else
if
(
this
.
options
.
index
==
1
)
{
// 从vlog首页进入
}
else
if
(
this
.
options
.
index
==
1
)
{
// 从vlog首页进入
this
.
show
=
true
this
.
show
=
true
}
else
{
// 扫码进入本页
this
.
handleWhetherToVotePage
()
}
}
if
(
uni
.
getStorageSync
(
'location'
))
return
if
(
uni
.
getStorageSync
(
'location'
))
return
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment