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
415e45e3
Commit
415e45e3
authored
Aug 23, 2019
by
wangshuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单集购买
parent
0f4a912a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
src/components/detail/index.js
+1
-1
src/components/detail/single/singleSuccess.js
+8
-8
No files found.
src/components/detail/index.js
View file @
415e45e3
...
...
@@ -222,7 +222,7 @@ class Detail extends Component {
//
// }
payCallBack
=
(
singleType
,
nowPrice
,
laterPrice
)
=>
{
Toast
.
info
(
singleType
,
2
);
//
Toast.info(singleType, 2);
const
_this
=
this
;
if
(
singleType
===
2
)
{
_this
.
setState
({
...
...
src/components/detail/single/singleSuccess.js
View file @
415e45e3
...
...
@@ -27,14 +27,14 @@ class Single extends Component {
}
componentDidMount
()
{
if
(
getParam
(
'is_class'
)
===
1
||
getParam
(
'weixinpay'
))
{
console
.
log
(
0
);
this
.
payCallback
()
// this.props.payCallback();
}
if
(
browser
.
isWeixin
)
{
this
.
isweixinPay
()
}
//
if (getParam('is_class') === 1 || getParam('weixinpay')) {
//
console.log(0);
//
this.payCallback()
//
// this.props.payCallback();
//
}
//
if (browser.isWeixin) {
//
this.isweixinPay()
//
}
}
componentWillReceiveProps
(
nextProps
,
nextContext
)
{
...
...
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