Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
Details
Activity
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
wangxuelai
wechatapp.shangjiadao.com
Commits
9ac14c14
Commit
9ac14c14
authored
Aug 20, 2019
by
wangxuelai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/sj-dev-0819' into wxl-develop-0819
parents
935315b2
092a94db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
shareclock.js
src/pages/clockdetail/shareclock.js
+18
-3
No files found.
src/pages/clockdetail/shareclock.js
View file @
9ac14c14
...
...
@@ -190,7 +190,6 @@ Page({
wx
.
downloadFile
({
url
:
imgSrc
,
success
:
function
(
res
)
{
console
.
log
(
res
);
//图片保存到本地
wx
.
saveImageToPhotosAlbum
({
filePath
:
res
.
tempFilePath
,
...
...
@@ -200,7 +199,23 @@ Page({
icon
:
'success'
,
duration
:
2000
})
that
.
getIntegral
()
integralLog
({
type
:
1
,
source_type
:
1
,
source_id
:
that
.
data
.
clockId
,
customerId
:
visitor
&&
visitor
.
id
}).
then
((
res
)
=>
{
if
(
res
.
integral
&&
Number
(
res
.
integral
)
>
0
)
{
that
.
setData
({
scoreFeedBackStatus
:
{
integral
:
res
.
integral
,
show
:
true
,
scoretype
:
2
,
}
})
that
.
autoclosefeedback
();
}
})
},
fail
:
function
(
err
)
{
console
.
log
(
err
);
...
...
@@ -261,7 +276,7 @@ Page({
open_id
:
visitor
&&
visitor
.
openid
,
school_id
:
this
.
data
.
clockDetail
.
school_id
,
remark
:
''
,
class_id
:
this
.
data
.
id
class_id
:
this
.
data
.
clockDetail
.
class_
id
})
}
...
...
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