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
c9401807
Commit
c9401807
authored
Mar 29, 2021
by
李俊赕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
处理水印请求
parent
dde5b61d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
list.vue
take-order/pages/photo/list.vue
+3
-0
take.vue
take-order/pages/photo/take.vue
+4
-2
No files found.
take-order/pages/photo/list.vue
View file @
c9401807
...
@@ -101,6 +101,7 @@
...
@@ -101,6 +101,7 @@
globalData
.
photo
.
productList
=
result
globalData
.
photo
.
productList
=
result
this
.
dataList
=
result
this
.
dataList
=
result
var
item
=
result
[
0
]
var
item
=
result
[
0
]
globalData
.
photo
.
waterSetting
=
item
.
userWatermark
this
.
rightList
=
item
.
list
this
.
rightList
=
item
.
list
},
},
...
@@ -108,6 +109,8 @@
...
@@ -108,6 +109,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
photo
.
waterSetting
=
item
.
userWatermark
uni
.
pageScrollTo
({
uni
.
pageScrollTo
({
scrollTop
:
0
,
scrollTop
:
0
,
duration
:
0
duration
:
0
...
...
take-order/pages/photo/take.vue
View file @
c9401807
...
@@ -96,9 +96,11 @@
...
@@ -96,9 +96,11 @@
this
.
currentItem
=
photo
.
currentItem
this
.
currentItem
=
photo
.
currentItem
},
},
compute
:
{
compute
:
{
setting
()
{
waterSetting
()
{
// photo.waterSetting
const
photo
=
getApp
().
globalData
.
photo
const
photo
=
getApp
().
globalData
.
photo
return
photo
.
setting
||
null
console
.
log
(
photo
.
waterSetting
,
'photo.waterSetting'
)
return
photo
.
waterSetting
||
null
}
}
},
},
watch
:
{
watch
:
{
...
...
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