Commit b8368aef by xuzhenghua

课程券

parent a6b931aa
......@@ -68,7 +68,8 @@ class Coupon extends PureComponent {
id,
format_expire_time,
start_amount,
limit_amount
limit_amount,
limit_course
} = this.props
let top, bottom
......@@ -84,7 +85,7 @@ class Coupon extends PureComponent {
)
bottom = (
<>
<span className={'limit'}>可用于大于代金券金额的课程</span>
<span className={'limit'}>{limit_course == 0 ? '可用于大于代金券金额的课程': `仅适用于《${course_title}》`}</span>
{
showUseButton && ctype == this.VOUCHER &&
<button
......
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