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
278dfa23
Commit
278dfa23
authored
Jan 04, 2021
by
和慭琛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
第二轮提测版本
parent
d56ffa8c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
5 deletions
+16
-5
pages.json
take-order/pages.json
+4
-1
try.vue
take-order/pages/photo/try.vue
+12
-4
No files found.
take-order/pages.json
View file @
278dfa23
...
@@ -28,7 +28,10 @@
...
@@ -28,7 +28,10 @@
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"拍照"
,
"navigationBarTitleText"
:
"拍照"
,
"navigationBarBackgroundColor"
:
"#333333"
,
"navigationBarBackgroundColor"
:
"#333333"
,
"navigationBarTextStyle"
:
"#FFFFFF"
"navigationBarTextStyle"
:
"#FFFFFF"
,
"app-plus"
:
{
//app平台
"bounce"
:
"none"
//禁止滚动
}
}
}
},
},
...
...
take-order/pages/photo/try.vue
View file @
278dfa23
<
template
>
<
template
>
<view
class=
"blackBackColor"
>
<view
class=
"blackBackColor"
>
<camera
device-position=
"back"
flash=
"off"
style=
'width:100%; height:100vh;'
@
error=
"cameraRefuse"
>
<camera
device-position=
"back"
flash=
"off"
style=
'width:100%; height:100vh;
overflow: hidden;
'
@
error=
"cameraRefuse"
>
<cover-view
class=
"locationView"
>
<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-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"
>
维度:
{{
latitude
}}
</cover-view>
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<cover-image
class=
"liveWatermarkNormal"
mode=
"aspectFit"
:src=
"liveWaterMarkImage"
></cover-image>
<cover-image
class=
"liveWatermarkNormal"
mode=
"aspectFit"
:src=
"liveWaterMarkImage"
></cover-image>
</camera>
</camera>
<cover-view
class=
"bottomView"
>
<cover-view
class=
"bottomView"
>
<cover-image
class=
"backIcon"
:src=
"icon_arrow_down"
mode=
""
@
click=
"
go
Back"
></cover-image>
<cover-image
class=
"backIcon"
:src=
"icon_arrow_down"
mode=
""
@
click=
"
simple
Back"
></cover-image>
<!--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>
...
@@ -117,6 +117,13 @@
...
@@ -117,6 +117,13 @@
goPage
()
{
goPage
()
{
// 进入图片预览页
// 进入图片预览页
},
},
simpleBack
(){
uni
.
navigateBack
({
//delta: 2
});
},
goBack
()
{
goBack
()
{
let
pages
=
getCurrentPages
();
let
pages
=
getCurrentPages
();
...
@@ -582,10 +589,11 @@
...
@@ -582,10 +589,11 @@
<
style
>
<
style
>
.blackBackColor
{
.blackBackColor
{
background-color
:
#000000
;
background-color
:
#000000
;
overflow
:
hidden
;
}
}
.bottomView
{
.bottomView
{
background-color
:
#
000000
;
background-color
:
#
333333
;
z-index
:
5
;
z-index
:
5
;
width
:
100%
;
width
:
100%
;
height
:
200
rpx
;
height
:
200
rpx
;
...
@@ -605,7 +613,7 @@
...
@@ -605,7 +613,7 @@
}
}
.takeIcon
{
.takeIcon
{
background-color
:
#
000000
;
background-color
:
#
333333
;
width
:
150
rpx
;
width
:
150
rpx
;
height
:
150
rpx
;
height
:
150
rpx
;
}
}
...
...
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