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
ff7bd05a
Commit
ff7bd05a
authored
Aug 24, 2023
by
renjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
默认merchantId
parent
5347be55
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
albumIndex.vue
pages/album/albumIndex.vue
+3
-4
No files found.
pages/album/albumIndex.vue
View file @
ff7bd05a
...
@@ -204,7 +204,7 @@ export default {
...
@@ -204,7 +204,7 @@ export default {
this
.
$request
(
'wechatUser/pdFace/checkScanFace'
,{
openid
}).
then
(
res
=>
{
this
.
$request
(
'wechatUser/pdFace/checkScanFace'
,{
openid
}).
then
(
res
=>
{
if
(
res
.
code
===
'00'
)
{
if
(
res
.
code
===
'00'
)
{
const
merchantId
=
this
.
options
.
merchantId
const
merchantId
=
this
.
options
.
merchantId
||
'z0015605022691a5945bbe463141668c'
// 默认长江索道
if
(
res
.
data
.
isScanFace
===
0
)
{
//未扫脸
if
(
res
.
data
.
isScanFace
===
0
)
{
//未扫脸
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
`./getPortrait?merchantId
${
merchantId
}
`
url
:
`./getPortrait?merchantId
${
merchantId
}
`
...
@@ -285,11 +285,11 @@ export default {
...
@@ -285,11 +285,11 @@ export default {
}
}
// 4.判断是否跳转投票页面
// 4.判断是否跳转投票页面
if
(
voteObj
.
alreadySurvey
===
1
)
{
// 未投过票
if
(
voteObj
.
alreadySurvey
===
0
)
{
// 未投过票
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
`./chooseFavorite?surveyConfig=
${
JSON
.
stringify
(
surveyResult
)}
`
url
:
`./chooseFavorite?surveyConfig=
${
JSON
.
stringify
(
surveyResult
)}
`
})
})
}
else
if
(
voteObj
.
alreadySurvey
===
0
)
{
// 已投票
}
else
if
(
voteObj
.
alreadySurvey
===
1
)
{
// 已投票
this
.
show
=
true
this
.
show
=
true
}
}
},
},
...
@@ -328,7 +328,6 @@ export default {
...
@@ -328,7 +328,6 @@ export default {
this
.
showtip
=
true
this
.
showtip
=
true
}
else
if
(
this
.
options
.
index
==
1
)
{
// 从vlog首页进入
}
else
if
(
this
.
options
.
index
==
1
)
{
// 从vlog首页进入
this
.
show
=
true
this
.
show
=
true
this
.
options
.
merchantId
=
'z0015605022691a5945bbe463141668c'
// 默认长江索道
}
else
{
// 扫码进入本页
}
else
{
// 扫码进入本页
this
.
handleWhetherToVotePage
()
this
.
handleWhetherToVotePage
()
}
}
...
...
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