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
8938ec36
Commit
8938ec36
authored
Mar 26, 2021
by
李俊赕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
视图-拍照规范页面
parent
d12246c4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
12 deletions
+14
-12
standard.vue
take-order/components/photo/standard.vue
+3
-1
pages.json
take-order/pages.json
+1
-1
take.vue
take-order/pages/photo/take.vue
+10
-10
No files found.
take-order/components/photo/standard.vue
View file @
8938ec36
<
template
>
<
template
>
<view
class=
"standard-box"
v-if=
"currentItem"
>
<view
class=
"standard-box"
>
简单了解的了解到了家里的经历的阶段了
<swiper
class=
"swiper-box"
:current=
"swiperCurrent"
@
transition=
"transition"
@
animationfinish=
"animationfinish"
>
<swiper
class=
"swiper-box"
:current=
"swiperCurrent"
@
transition=
"transition"
@
animationfinish=
"animationfinish"
>
<swiper-item
class=
"swiper-item"
key=
"swiper1"
>
<swiper-item
class=
"swiper-item"
key=
"swiper1"
>
<view
class=
"title"
>
<view
class=
"title"
>
...
@@ -151,6 +152,7 @@
...
@@ -151,6 +152,7 @@
flex-direction
:
column
;
flex-direction
:
column
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
color
:
#fff
;
}
}
.swiper-box
{
.swiper-box
{
width
:
690rpx
;
width
:
690rpx
;
...
...
take-order/pages.json
View file @
8938ec36
...
@@ -279,7 +279,7 @@
...
@@ -279,7 +279,7 @@
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
},{
},{
"name"
:
"拍照-规范"
,
//模式名称
"name"
:
"拍照-规范"
,
//模式名称
"path"
:
"pages/photo/
product
"
,
//启动页面,必选
"path"
:
"pages/photo/
take
"
,
//启动页面,必选
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
"query"
:
""
//启动参数,在页面的onLoad函数里面得到
},{
},{
"name"
:
"基本信息"
,
//模式名称
"name"
:
"基本信息"
,
//模式名称
...
...
take-order/pages/photo/take.vue
View file @
8938ec36
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<cover-image
@
click=
"goPage('/pages/photo/markSetting')"
class=
"icon"
mode=
"aspectFit"
src=
"/static/photo/icon-setting.png"
></cover-image>
<cover-image
@
click=
"goPage('/pages/photo/markSetting')"
class=
"icon"
mode=
"aspectFit"
src=
"/static/photo/icon-setting.png"
></cover-image>
</cover-view>
</cover-view>
</cover-view>
</cover-view>
<camera
class=
"camera-box"
v-if=
"cameraChange"
:device-position=
"cameraInfo.devicePosition"
:flash=
"cameraInfo.flash"
:style=
"
{'height':cameraHeight + 'rpx'}"
<camera
class=
"camera-box"
v-if=
"cameraChange
&&!standardShow
"
:device-position=
"cameraInfo.devicePosition"
:flash=
"cameraInfo.flash"
:style=
"
{'height':cameraHeight + 'rpx'}"
@error="cameraError">
@error="cameraError">
<cover-view
class=
"mark-box"
>
<cover-view
class=
"mark-box"
>
<cover-view
class=
"txt u-m-l-20 u-m-t-30"
>
经度:
{{
waterInfo
.
longitude
||
'正在获取中...'
}}
</cover-view>
<cover-view
class=
"txt u-m-l-20 u-m-t-30"
>
经度:
{{
waterInfo
.
longitude
||
'正在获取中...'
}}
</cover-view>
...
@@ -18,18 +18,18 @@
...
@@ -18,18 +18,18 @@
</cover-view>
</cover-view>
<cover-image
class=
"mark-water"
mode=
"aspectFit"
:src=
"waterInfo.markImage"
></cover-image>
<cover-image
class=
"mark-water"
mode=
"aspectFit"
:src=
"waterInfo.markImage"
></cover-image>
</camera>
</camera>
<cover-view
class=
"bottom-box"
v-
show
=
"!standardShow"
>
<cover-view
class=
"bottom-box"
v-
if
=
"!standardShow"
>
<cover-image
class=
"icon"
src=
'/static/photo/icon-back.png'
mode=
""
@
click=
"goBack"
></cover-image>
<cover-image
class=
"icon"
src=
'/static/photo/icon-back.png'
mode=
""
@
click=
"goBack"
></cover-image>
<cover-image
class=
'icon-take icon'
src=
'/static/photo/icon-take.png'
@
click=
"takePhoto"
>
</cover-image>
<cover-image
class=
'icon-take icon'
src=
'/static/photo/icon-take.png'
@
click=
"takePhoto"
>
</cover-image>
<cover-image
class=
'icon'
src=
'/static/photo/icon-standard.png'
@
click=
"standardShow = true"
>
</cover-image>
<cover-image
class=
'icon'
src=
'/static/photo/icon-standard.png'
@
click=
"standardShow = true"
>
</cover-image>
</cover-view>
</cover-view>
<canvas
canvas-id=
"canvas"
id=
"photoCanvas"
class=
"canvas"
:style=
"
{'width':750 + 'rpx','height': cameraHeight + 'rpx'}">
</canvas>
<canvas
canvas-id=
"canvas"
id=
"photoCanvas"
class=
"canvas"
:style=
"
{'width':750 + 'rpx','height': cameraHeight + 'rpx'}">
</canvas>
<
cover-view
class=
"page-mask"
v-if=
"standardShow
"
>
<
view
v-show=
"standardShow"
class=
"page-mask"
:z-index=
"10000
"
>
<photo-standard
:currentItem=
"currentItem"
/>
<photo-standard
:currentItem=
"currentItem"
/>
<
cover-
view
class=
"btn-close"
@
click=
"standardShow = false"
>
<view
class=
"btn-close"
@
click=
"standardShow = false"
>
<
cover-
image
class=
"icon icon-close"
mode=
"aspectFit"
src=
"/static/photo/icon-close.png"
></cover-image>
<image
class=
"icon icon-close"
mode=
"aspectFit"
src=
"/static/photo/icon-close.png"
></cover-image>
</
cover-
view>
</view>
</
cover-
view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -50,10 +50,10 @@
...
@@ -50,10 +50,10 @@
name
:
'111'
,
name
:
'111'
,
images
:[
'https://qn-static.banshouhui.com/live_mark.png'
,
'https://qn-static.banshouhui.com/live_mark.png'
,
'https://qn-static.banshouhui.com/live_mark.png'
],
images
:[
'https://qn-static.banshouhui.com/live_mark.png'
,
'https://qn-static.banshouhui.com/live_mark.png'
,
'https://qn-static.banshouhui.com/live_mark.png'
],
},
},
standardShow
:
fals
e
,
standardShow
:
tru
e
,
cameraInfo
:{
cameraInfo
:{
devicePosition
:
'front'
,
devicePosition
:
'front'
,
flash
:
'
off
'
flash
:
'
auto
'
},
},
waterInfo
:
{
waterInfo
:
{
longitude
:
''
,
// 经度
longitude
:
''
,
// 经度
...
@@ -494,7 +494,7 @@
...
@@ -494,7 +494,7 @@
.page-mask
{
.page-mask
{
position
:
fixed
;
position
:
fixed
;
bottom
:
0
;
bottom
:
0
;
z-index
:
100
;
z-index
:
100
0
;
width
:
750rpx
;
width
:
750rpx
;
height
:
100vh
;
height
:
100vh
;
padding
:
0
30rpx
;
padding
:
0
30rpx
;
...
...
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