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
5573c9cc
Commit
5573c9cc
authored
Aug 24, 2023
by
renjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
扫脸倒计时
parent
0e66b8d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
getPortrait.vue
pages/album/getPortrait.vue
+2
-2
No files found.
pages/album/getPortrait.vue
View file @
5573c9cc
...
...
@@ -27,7 +27,7 @@
<text
class=
"tip"
>
获取照片需先在拍摄点摄影
</text>
<u-mask
:show=
"maskShow"
@
click=
"maskShow = false"
>
<view
class=
"mask"
>
<text
class=
"countdown"
v-if=
"maskCount"
>
{{
maskCount
}}
s
</text>
<text
class=
"countdown"
v-if=
"maskCount
>= 0
"
>
{{
maskCount
}}
s
</text>
<view
class=
"tip"
>
<view>
未找到您的照片
</view>
<view
class=
"small"
>
请在拍摄点拍摄后重试
</view>
...
...
@@ -180,7 +180,7 @@ export default {
this
.
maskShow
=
true
var
loop
=
setInterval
(()
=>
{
this
.
maskCount
-=
1
if
(
this
.
maskCount
<=
-
1
)
{
if
(
this
.
maskCount
<=
0
)
{
// this.maskShow = false
this
.
src
=
''
clearInterval
(
loop
)
...
...
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