Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
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
baiguangyao
mr-julyedu
Commits
058aac60
Commit
058aac60
authored
Aug 23, 2019
by
wangshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单集购买
parent
36177fec
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
src/components/detail/index.js
+1
-0
src/components/detail/single/singleSuccess.js
+2
-2
No files found.
src/components/detail/index.js
View file @
058aac60
...
@@ -90,6 +90,7 @@ class Detail extends Component {
...
@@ -90,6 +90,7 @@ class Detail extends Component {
//
//
// }
// }
payCallBack
=
(
singleType
,
nowPrice
,
laterPrice
)
=>
{
payCallBack
=
(
singleType
,
nowPrice
,
laterPrice
)
=>
{
Toast
.
info
(
singleType
,
2
);
const
_this
=
this
;
const
_this
=
this
;
if
(
singleType
===
2
)
{
if
(
singleType
===
2
)
{
_this
.
setState
({
_this
.
setState
({
...
...
src/components/detail/single/singleSuccess.js
View file @
058aac60
...
@@ -158,7 +158,7 @@ class Single extends Component {
...
@@ -158,7 +158,7 @@ class Single extends Component {
Toast
.
info
(
res
.
data
.
data
.
msg
,
2
)
Toast
.
info
(
res
.
data
.
data
.
msg
,
2
)
return
;
return
;
}
}
this
.
props
.
payCallBack
(
singleType
,
nowPrice
,
laterPrice
);
_
this
.
props
.
payCallBack
(
singleType
,
nowPrice
,
laterPrice
);
})
})
}
}
})
})
...
@@ -231,7 +231,7 @@ class Single extends Component {
...
@@ -231,7 +231,7 @@ class Single extends Component {
Toast
.
info
(
res
.
data
.
data
.
msg
,
2
)
Toast
.
info
(
res
.
data
.
data
.
msg
,
2
)
return
;
return
;
}
}
this
.
props
.
payCallBack
(
singleType
,
nowPrice
,
laterPrice
);
_
this
.
props
.
payCallBack
(
singleType
,
nowPrice
,
laterPrice
);
})
})
}
}
})
})
...
...
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