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
6a696f53
Commit
6a696f53
authored
Aug 23, 2023
by
renjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
相册首页跳转修改
parent
775ba504
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
albumIndex.vue
pages/album/albumIndex.vue
+4
-5
No files found.
pages/album/albumIndex.vue
View file @
6a696f53
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
<!--
<u-lazy-load
threshold=
"-450"
border-radius=
"10"
:image=
"item.image"
:index=
"index"
></u-lazy-load>
-->
<!--
<u-lazy-load
threshold=
"-450"
border-radius=
"10"
:image=
"item.image"
:index=
"index"
></u-lazy-load>
-->
<view
class=
"info-box"
:style=
"
{'background-color': item.color}">
<view
class=
"info-box"
:style=
"
{'background-color': item.color}">
<view
class=
"item-title"
>
{{
item
.
title
}}
</view>
<view
class=
"item-title"
>
{{
item
.
title
}}
</view>
<view
class=
"slogan"
>
一句宣传语
</view>
<view
class=
"slogan"
>
快来定制吧
</view>
<view
class=
"bottom"
>
<view
class=
"bottom"
>
<view
class=
"img-btn"
>
<view
class=
"img-btn"
>
点击定制
点击定制
...
@@ -157,15 +157,14 @@ export default {
...
@@ -157,15 +157,14 @@ 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'
)
{
console
.
log
(
res
.
data
)
if
(
res
.
data
.
isScanFace
===
0
)
{
//未扫脸
if
(
res
.
data
.
isScanFace
===
0
)
{
//未扫脸
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'./getPortrait'
url
:
'./getPortrait'
})
})
}
else
if
(
res
.
data
.
isScanFace
===
1
)
{
//已扫脸
}
else
if
(
res
.
data
.
isScanFace
===
1
)
{
//已扫脸
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
`./myPhotoAlbum/myPhotoAlbum?
url
:
`./myPhotoAlbum/myPhotoAlbum?faceIds=
${
JSON
.
stringify
(
res
.
data
.
faceIds
)}
&companyId=
${
this
.
options
.
companyId
}
`
companyId=
${
this
.
options
.
companyId
}
&
faceIds=
${
JSON
.
stringify
(
res
.
data
.
faceIds
)}
`
})
})
}
}
}
else
{
}
else
{
...
...
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