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
6c8aa5b9
Commit
6c8aa5b9
authored
Dec 29, 2020
by
李超鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拍照页面
parent
8d762988
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
12 deletions
+30
-12
try.vue
take-order/pages/photo/try.vue
+30
-12
live_mark.png
take-order/static/live_mark.png
+0
-0
No files found.
take-order/pages/photo/try.vue
View file @
6c8aa5b9
...
@@ -7,21 +7,20 @@
...
@@ -7,21 +7,20 @@
<cover-image
@
click=
"changeLight"
class=
"nav-lightIcon"
mode=
"aspectFit"
:src=
"icon_location"
></cover-image>
<cover-image
@
click=
"changeLight"
class=
"nav-lightIcon"
mode=
"aspectFit"
:src=
"icon_location"
></cover-image>
</cover-view-->
</cover-view-->
<camera
device-position=
"back"
flash=
"off"
style=
'width:100%; height:100vh;'
>
<camera
device-position=
"back"
flash=
"off"
style=
'width:100%; height:100vh;'
>
<cover-view
class=
"locationView"
>
<cover-view
class=
"locationText u-m-l-20 u-m-t-30"
>
{{
longitude
}}
</cover-view>
<cover-view
class=
"locationText u-m-l-20 u-m-t-10"
>
{{
latitude
}}
</cover-view>
<cover-view
class=
"locationText u-m-l-20 u-m-t-10"
>
{{
address
}}
</cover-view>
<cover-view
class=
"locationText u-m-l-20 u-m-t-10"
>
{{
date
}}
</cover-view>
</cover-view>
<cover-image
class=
"liveWatermarkNormal"
mode=
"aspectFit"
src=
"@/static/live_mark.png"
></cover-image>
</camera>
</camera>
<cover-view
class=
"bottomView"
>
<cover-view
class=
"bottomView"
>
<cover-image
class=
'switchIcon'
:src=
'icon_switch_white'
@
click=
"switchClick()"
>
</cover-image>
<cover-image
class=
'switchIcon'
:src=
'icon_switch_white'
@
click=
"switchClick()"
>
</cover-image>
<cover-image
class=
'takeIcon'
:src=
'icon_take'
@
click=
"takePhoto()"
>
</cover-image>
<cover-image
class=
'takeIcon'
:src=
'icon_take'
@
click=
"takePhoto()"
>
</cover-image>
<cover-image
class=
'flashIcon'
:src=
'icon_light_on_white'
@
click=
"flashClick()"
>
</cover-image>
<cover-image
class=
'flashIcon'
:src=
'icon_light_on_white'
@
click=
"flashClick()"
>
</cover-image>
</cover-view>
</cover-view>
<cover-view
class=
"locationView"
>
<text
class=
"locationText u-m-l-20 u-m-t-30"
>
{{
longitude
}}
</text>
<text
class=
"locationText u-m-l-20 u-m-t-10"
>
{{
latitude
}}
</text>
<text
class=
"locationText u-m-l-20 u-m-t-10"
>
{{
address
}}
</text>
<text
class=
"locationText u-m-l-20 u-m-t-10"
>
{{
date
}}
</text>
</cover-view>
<canvas
v-show=
'showImage'
canvas-id=
"canvas"
style=
'width:1000px; height:1500px;'
></canvas>
<canvas
v-show=
'showImage'
canvas-id=
"canvas"
style=
'width:1000px; height:1500px;'
></canvas>
</view>
</view>
...
@@ -263,22 +262,41 @@
...
@@ -263,22 +262,41 @@
}
}
.locationView
{
.locationView
{
z-index
:
5
;
/*
z-index: 5;
width: 300rpx;
width: 300rpx;
position: absolute;
position: absolute;
left: 0;
left: 0;
bottom: 200rpx;
bottom: 200rpx;
display: flex;
display: flex;
flex-direction: column;
flex-direction: column;
padding-bottom: 20rpx;
padding-bottom: 20rpx;
padding-right: 20rpx; */
bottom
:
200
rpx
;
padding-bottom
:
20
rpx
;
padding-right
:
20
rpx
;
padding-right
:
20
rpx
;
z-index
:
4
;
position
:
absolute
;
font-size
:
14px
;
line-height
:
18px
;
color
:
#fff
;
}
}
.locationText
{
.locationText
{
font-size
:
24
rpx
;
/*
font-size: 24rpx;
color: #999999;
color: #999999;
width
:
260
rpx
;
width: 260rpx; */
margin
:
2px
0
;
}
.liveWatermarkNormal
{
z-index
:
3
;
position
:
absolute
;
left
:
50%
;
top
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
width
:
360
rpx
;
height
:
90
rpx
;
z-index
:
6
;
}
}
</
style
>
</
style
>
take-order/static/live_mark.png
0 → 100644
View file @
6c8aa5b9
4.52 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