diff --git a/src/components/knockGold/index.jsx b/src/components/knockGold/index.jsx index 7fff6360..da83e428 100644 --- a/src/components/knockGold/index.jsx +++ b/src/components/knockGold/index.jsx @@ -52,13 +52,13 @@ const receiveTypeList = [ ] const week = [ - { key: 'Mon', text: '星期一' }, - { key: 'Tue', text: '星期二' }, - { key: 'Wed', text: '星期三' }, - { key: 'Thu', text: '星期四' }, - { key: 'Fri', text: '星期五' }, - { key: 'Sat', text: '星期六' }, - { key: 'Sun', text: '星期天' } + { key: 'Mon', text: '周一' }, + { key: 'Tue', text: '周二' }, + { key: 'Wed', text: '周三' }, + { key: 'Thu', text: '周四' }, + { key: 'Fri', text: '周五' }, + { key: 'Sat', text: '周六' }, + { key: 'Sun', text: '周天' } ] //预警百分比 const earlyPerList = ['70', '50', '30', '20'] @@ -1239,6 +1239,7 @@ export default class addKnockGold extends Component { style={{ marginLeft: '25px' }}> {week.map((week) => ( @@ -1261,7 +1262,7 @@ export default class addKnockGold extends Component { model[index] = value this.onHandleChange(model, 'ruleDate') }} - width={158} + width={205} disabledTime={this.onDisabledRange} /> {this.addOrMoveFunction( @@ -1291,7 +1292,7 @@ export default class addKnockGold extends Component { }}> 有效期内,不规则日期可用 -

+

可在有效期内任意选择时间天数,以及可用时段。 因当前微信支持问题,如选择不规则时间,微信卡包内当前仅会展示有效期,建议 将具体可用日期以及时间段填写在使用说明内。 @@ -1305,7 +1306,7 @@ export default class addKnockGold extends Component { this.props?.data?.id ? true : false, this.props?.data?.id ? true : false ]} - width={234} + width={205} value={this.state.model.irregularDate[index]} onChange={(value) => { const model = this.state.model.irregularDate @@ -1339,7 +1340,7 @@ export default class addKnockGold extends Component { model[index] = value this.onHandleChange(model, 'irregularTime') }} - width={158} + width={205} disabledTime={this.onDisabledRange} /> {this.addOrMoveFunction( diff --git a/src/components/knockGold/index.less b/src/components/knockGold/index.less index c923b8d7..b9eea143 100644 --- a/src/components/knockGold/index.less +++ b/src/components/knockGold/index.less @@ -182,6 +182,12 @@ } #usable_time { + align-items: flex-start !important; + + .form-label { + padding-top: 25px; + } + .form-compontent { .boxTime { display: flex; @@ -336,6 +342,10 @@ } } + .checkbox { + margin-right: 22px !important; + } + .userSelect { width: 520px; min-height: 150px;