修改立减金组件样式
This commit is contained in:
parent
2fe21b4b78
commit
478505ed98
|
@ -52,13 +52,13 @@ const receiveTypeList = [
|
||||||
]
|
]
|
||||||
|
|
||||||
const week = [
|
const week = [
|
||||||
{ key: 'Mon', text: '星期一' },
|
{ key: 'Mon', text: '周一' },
|
||||||
{ key: 'Tue', text: '星期二' },
|
{ key: 'Tue', text: '周二' },
|
||||||
{ key: 'Wed', text: '星期三' },
|
{ key: 'Wed', text: '周三' },
|
||||||
{ key: 'Thu', text: '星期四' },
|
{ key: 'Thu', text: '周四' },
|
||||||
{ key: 'Fri', text: '星期五' },
|
{ key: 'Fri', text: '周五' },
|
||||||
{ key: 'Sat', text: '星期六' },
|
{ key: 'Sat', text: '周六' },
|
||||||
{ key: 'Sun', text: '星期天' }
|
{ key: 'Sun', text: '周天' }
|
||||||
]
|
]
|
||||||
//预警百分比
|
//预警百分比
|
||||||
const earlyPerList = ['70', '50', '30', '20']
|
const earlyPerList = ['70', '50', '30', '20']
|
||||||
|
@ -1239,6 +1239,7 @@ export default class addKnockGold extends Component {
|
||||||
style={{ marginLeft: '25px' }}>
|
style={{ marginLeft: '25px' }}>
|
||||||
{week.map((week) => (
|
{week.map((week) => (
|
||||||
<Checkbox
|
<Checkbox
|
||||||
|
className='checkbox'
|
||||||
disabled={this.props?.data?.id ? true : false}
|
disabled={this.props?.data?.id ? true : false}
|
||||||
value={week.text}
|
value={week.text}
|
||||||
key={week.key}>
|
key={week.key}>
|
||||||
|
@ -1261,7 +1262,7 @@ export default class addKnockGold extends Component {
|
||||||
model[index] = value
|
model[index] = value
|
||||||
this.onHandleChange(model, 'ruleDate')
|
this.onHandleChange(model, 'ruleDate')
|
||||||
}}
|
}}
|
||||||
width={158}
|
width={205}
|
||||||
disabledTime={this.onDisabledRange}
|
disabledTime={this.onDisabledRange}
|
||||||
/>
|
/>
|
||||||
{this.addOrMoveFunction(
|
{this.addOrMoveFunction(
|
||||||
|
@ -1291,7 +1292,7 @@ export default class addKnockGold extends Component {
|
||||||
}}>
|
}}>
|
||||||
<Radio value='irregular'>有效期内,不规则日期可用</Radio>
|
<Radio value='irregular'>有效期内,不规则日期可用</Radio>
|
||||||
</RadioGroup>
|
</RadioGroup>
|
||||||
<p className='notice' style={{ width: '600px' }}>
|
<p className='notice' style={{ width: '500px' }}>
|
||||||
可在有效期内任意选择时间天数,以及可用时段。
|
可在有效期内任意选择时间天数,以及可用时段。
|
||||||
因当前微信支持问题,如选择不规则时间,微信卡包内当前仅会展示有效期,建议
|
因当前微信支持问题,如选择不规则时间,微信卡包内当前仅会展示有效期,建议
|
||||||
将具体可用日期以及时间段填写在使用说明内。
|
将具体可用日期以及时间段填写在使用说明内。
|
||||||
|
@ -1305,7 +1306,7 @@ export default class addKnockGold extends Component {
|
||||||
this.props?.data?.id ? true : false,
|
this.props?.data?.id ? true : false,
|
||||||
this.props?.data?.id ? true : false
|
this.props?.data?.id ? true : false
|
||||||
]}
|
]}
|
||||||
width={234}
|
width={205}
|
||||||
value={this.state.model.irregularDate[index]}
|
value={this.state.model.irregularDate[index]}
|
||||||
onChange={(value) => {
|
onChange={(value) => {
|
||||||
const model = this.state.model.irregularDate
|
const model = this.state.model.irregularDate
|
||||||
|
@ -1339,7 +1340,7 @@ export default class addKnockGold extends Component {
|
||||||
model[index] = value
|
model[index] = value
|
||||||
this.onHandleChange(model, 'irregularTime')
|
this.onHandleChange(model, 'irregularTime')
|
||||||
}}
|
}}
|
||||||
width={158}
|
width={205}
|
||||||
disabledTime={this.onDisabledRange}
|
disabledTime={this.onDisabledRange}
|
||||||
/>
|
/>
|
||||||
{this.addOrMoveFunction(
|
{this.addOrMoveFunction(
|
||||||
|
|
|
@ -182,6 +182,12 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#usable_time {
|
#usable_time {
|
||||||
|
align-items: flex-start !important;
|
||||||
|
|
||||||
|
.form-label {
|
||||||
|
padding-top: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
.form-compontent {
|
.form-compontent {
|
||||||
.boxTime {
|
.boxTime {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -336,6 +342,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.checkbox {
|
||||||
|
margin-right: 22px !important;
|
||||||
|
}
|
||||||
|
|
||||||
.userSelect {
|
.userSelect {
|
||||||
width: 520px;
|
width: 520px;
|
||||||
min-height: 150px;
|
min-height: 150px;
|
||||||
|
|
Loading…
Reference in New Issue