Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
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
李俊赕
self-support
Commits
33ac4cab
Commit
33ac4cab
authored
May 17, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
相机手电筒
parent
f170223e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
index.vue
src/components/take/index.vue
+3
-3
icon-flash-off.png
src/static/photo/icon-flash-off.png
+0
-0
icon-flash-torch.png
src/static/photo/icon-flash-torch.png
+0
-0
No files found.
src/components/take/index.vue
View file @
33ac4cab
...
...
@@ -6,7 +6,7 @@
<cover-image
@
click=
"setCameraInfo('devicePosition')"
class=
"icon"
mode=
"aspectFit"
src=
"/static/photo/icon-switch.png"
></cover-image>
<cover-image
@
click=
"setCameraInfo('flash')"
class=
"icon"
mode=
"aspectFit"
:src=
"'/static/photo/icon-
light
-' + cameraInfo.flash +'.png'"
></cover-image>
:src=
"'/static/photo/icon-
flash
-' + cameraInfo.flash +'.png'"
></cover-image>
<cover-image
v-if=
"currentItem.partnerCompanyId"
@
click=
"changeType(3)"
class=
"icon"
mode=
"aspectFit"
src=
"/static/photo/icon-setting.png"
></cover-image>
</cover-view>
...
...
@@ -84,7 +84,7 @@
standardShow
:
false
,
cameraInfo
:
{
devicePosition
:
'back'
,
flash
:
'
auto
'
flash
:
'
off
'
},
waterInfo
:
{
longitude
:
''
,
// 经度
...
...
@@ -222,7 +222,7 @@
val
=
val
===
'back'
?
'front'
:
'back'
break
;
case
'flash'
:
val
=
val
===
'
auto'
?
'on'
:
(
val
===
'on'
?
'off'
:
'auto'
)
val
=
val
===
'
off'
?
'torch'
:
'off'
break
;
defalut
:
...
...
src/static/photo/icon-flash-off.png
0 → 100644
View file @
33ac4cab
1.36 KB
src/static/photo/icon-flash-torch.png
0 → 100644
View file @
33ac4cab
1 KB
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