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
0465f529
Commit
0465f529
authored
Mar 30, 2021
by
李超鹏
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev-photo-v2' into dev-photo-v2
parents
d45224e4
8a0fba89
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
2 deletions
+17
-2
App.vue
take-order/App.vue
+2
-0
list.vue
take-order/pages/photo/list.vue
+3
-1
preview.vue
take-order/pages/photo/preview.vue
+10
-0
take.vue
take-order/pages/photo/take.vue
+2
-1
No files found.
take-order/App.vue
View file @
0465f529
...
@@ -109,6 +109,8 @@ export default {
...
@@ -109,6 +109,8 @@ export default {
classifyId
:
''
,
// 分类id
classifyId
:
''
,
// 分类id
systemId
:
''
,
// 系统id
systemId
:
''
,
// 系统id
},
},
topIndex
:
0
,
itemIndex
:
0
,
currentItemLength
:
0
,
//已拍摄照片张数
currentItemLength
:
0
,
//已拍摄照片张数
productList
:
[],
productList
:
[],
currentItem
:
null
,
// 选择的某一项
currentItem
:
null
,
// 选择的某一项
...
...
take-order/pages/photo/list.vue
View file @
0465f529
...
@@ -102,7 +102,8 @@
...
@@ -102,7 +102,8 @@
handleTopItemChange
:
function
(
ikey
,
item
)
{
handleTopItemChange
:
function
(
ikey
,
item
)
{
this
.
activeTop
=
ikey
this
.
activeTop
=
ikey
this
.
rightList
=
item
.
list
this
.
rightList
=
item
.
list
const
photo
=
getApp
().
globalData
.
photo
const
photo
=
getApp
().
globalData
.
photo
photo
.
topIndex
=
ikey
photo
.
waterSetting
=
item
.
userWatermark
photo
.
waterSetting
=
item
.
userWatermark
uni
.
pageScrollTo
({
uni
.
pageScrollTo
({
scrollTop
:
0
,
scrollTop
:
0
,
...
@@ -122,6 +123,7 @@
...
@@ -122,6 +123,7 @@
rightItemClick
:
function
(
item
,
ikey
)
{
rightItemClick
:
function
(
item
,
ikey
)
{
const
photo
=
getApp
().
globalData
.
photo
const
photo
=
getApp
().
globalData
.
photo
photo
.
currentItem
=
item
photo
.
currentItem
=
item
photo
.
itemIndex
=
ikey
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/photo/take'
url
:
'/pages/photo/take'
})
})
...
...
take-order/pages/photo/preview.vue
View file @
0465f529
...
@@ -70,6 +70,16 @@
...
@@ -70,6 +70,16 @@
})
})
}
}
}
}
if
(
photo
.
currentItem
){
photo
.
currentItem
.
imageList
.
unshift
(
photo
.
tempPath
.
mixWater
)
}
// if(photo.productList && photo.productList[photo.topIndex]){
// const topArr = photo.productList[photo.topIndex]
// if(topArr[photo.itemIndex]){
// topArr[photo.itemIndex].imageList.push(photo.tempPath.mixWater)
// }
// }
// photo.
if
(
photo
.
tempPath
.
mixWater
){
if
(
photo
.
tempPath
.
mixWater
){
// 保存水印处理图片到本地
// 保存水印处理图片到本地
path
=
photo
.
tempPath
.
mixWater
path
=
photo
.
tempPath
.
mixWater
...
...
take-order/pages/photo/take.vue
View file @
0465f529
...
@@ -112,7 +112,7 @@
...
@@ -112,7 +112,7 @@
let
arr
=
[]
let
arr
=
[]
// 包含经纬度
// 包含经纬度
const
waterInfo
=
this
.
waterInfo
const
waterInfo
=
this
.
waterInfo
arr
=
[
'经度
嘟嘟嘟激励大家了杰拉德杰拉德了大量聚集的决定立即登录
: '
+
waterInfo
.
longitude
,
'纬度: '
+
waterInfo
.
latitude
,
'地址: '
+
waterInfo
.
address
,
'时间: '
+
arr
=
[
'经度: '
+
waterInfo
.
longitude
,
'纬度: '
+
waterInfo
.
latitude
,
'地址: '
+
waterInfo
.
address
,
'时间: '
+
waterInfo
.
date
waterInfo
.
date
]
]
let
settingTxtArr
=
[]
let
settingTxtArr
=
[]
...
@@ -199,6 +199,7 @@
...
@@ -199,6 +199,7 @@
this
.
cameraInfo
[
type
]
=
val
this
.
cameraInfo
[
type
]
=
val
},
},
initData
()
{
initData
()
{
this
.
standardShow
=
true
const
globalData
=
getApp
().
globalData
const
globalData
=
getApp
().
globalData
this
.
navHeight
=
globalData
.
navHeight
this
.
navHeight
=
globalData
.
navHeight
this
.
ratio
=
globalData
.
screenHeight
/
globalData
.
rpxScreenHeight
this
.
ratio
=
globalData
.
screenHeight
/
globalData
.
rpxScreenHeight
...
...
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