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
5cfa8f92
Commit
5cfa8f92
authored
Apr 26, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
相机组件保存图片调整
parent
847d71fb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
9 deletions
+6
-9
index.vue
src/components/take/index.vue
+4
-7
readme.md
src/components/take/readme.md
+2
-2
No files found.
src/components/take/index.vue
View file @
5cfa8f92
...
...
@@ -7,7 +7,7 @@
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>
<cover-image
@
click=
"changeType(3)"
class=
"icon"
mode=
"aspectFit"
<cover-image
v-if=
"currentItem.system_id"
@
click=
"changeType(3)"
class=
"icon"
mode=
"aspectFit"
src=
"/static/photo/icon-setting.png"
></cover-image>
</cover-view>
</cover-view>
...
...
@@ -64,11 +64,7 @@
system_id
:
''
,
// 系统ID
brand_id
:
''
,
// 品牌ID
classify_id
:
''
,
// 分类ID
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
:
[],
// 拍照要求示意图
main_point
:
[]
// 要点
}
}
...
...
@@ -114,7 +110,8 @@
},
created
(
e
)
{
const
photo
=
getApp
().
globalData
.
photo
getApp
().
trackPage
(
'拍照页'
)
getApp
().
trackPage
(
'拍照页'
)
photo
.
allImages
=
[]
// this.ctx = uni.createCameraContext();
this
.
updateTime
()
this
.
getLocation
()
...
...
src/components/take/readme.md
View file @
5cfa8f92
...
...
@@ -23,8 +23,8 @@ uni.hideTabBar()
```
json
{
_id
:
''
,
//
保存图片时需要
,必传
system_id
:
''
,
//
获取水印列表需要
,必传
_id
:
''
,
//
保存图片时需要
system_id
:
''
,
//
获取水印列表需要
images
:
[
//
拍照示意图
'https
:
//qn-static.banshouhui.com/live_mark.png'
,
'https
:
//qn-static.banshouhui.com/live_mark.png'
,
...
...
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