Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
take_order
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
和慭琛
take_order
Commits
72b2a1b4
Commit
72b2a1b4
authored
May 13, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拍照手电筒
parent
eed615cf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
take.vue
take-order/pages/photo/take.vue
+3
-3
icon-flash-off.png
take-order/static/photo/icon-flash-off.png
+0
-0
icon-flash-torch.png
take-order/static/photo/icon-flash-torch.png
+0
-0
No files found.
take-order/pages/photo/take.vue
View file @
72b2a1b4
...
...
@@ -5,7 +5,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
@
click=
"goPage('/pages/photo/setting')"
class=
"icon"
mode=
"aspectFit"
src=
"/static/photo/icon-setting.png"
></cover-image>
</cover-view>
...
...
@@ -63,7 +63,7 @@
standardShow
:
true
,
cameraInfo
:
{
devicePosition
:
'back'
,
flash
:
'
auto
'
flash
:
'
off
'
},
waterInfo
:
{
longitude
:
''
,
// 经度
...
...
@@ -207,7 +207,7 @@
val
=
val
===
'back'
?
'front'
:
'back'
break
;
case
'flash'
:
val
=
val
===
'
auto'
?
'on'
:
(
val
===
'on'
?
'off'
:
'auto'
)
val
=
val
===
'
off'
?
'torch'
:
'off'
break
;
defalut
:
...
...
take-order/static/photo/icon-flash-off.png
0 → 100644
View file @
72b2a1b4
1.36 KB
take-order/static/photo/icon-flash-torch.png
0 → 100644
View file @
72b2a1b4
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