Commit 8cb09317 by FE

Merge branch '00' of gitlab.julyedu.com:baiguangyao/mr-julyedu into 00

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