Commit d0917c73 by wangshuo

砍价中间页VIP课程按钮状态

parent df81d83c
...@@ -593,6 +593,9 @@ function CourseBottom(props) { ...@@ -593,6 +593,9 @@ function CourseBottom(props) {
} else if (props.item.bargain_status === 3) { } else if (props.item.bargain_status === 3) {
Buttons = <Link to={`/play/video?id=${props.item.v_course_id}`} Buttons = <Link to={`/play/video?id=${props.item.v_course_id}`}
className={classnames('bargain', 'button--study')}>去学习</Link> className={classnames('bargain', 'button--study')}>去学习</Link>
if(props.item.course_id === 139) {
Buttons = <a onClick={() => props.toDetail(props.item.course_id)} className={'bargain bargian-study'}>我要砍价</a>
}
} else { } else {
Buttons = ( Buttons = (
<div className="btns"> <div className="btns">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment