修改立减金组件样式

This commit is contained in:
wangsongsole 2022-08-10 11:16:40 +08:00
parent 2fe21b4b78
commit 478505ed98
2 changed files with 22 additions and 11 deletions

View File

@ -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) => (
<Checkbox
className='checkbox'
disabled={this.props?.data?.id ? true : false}
value={week.text}
key={week.key}>
@ -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 {
}}>
<Radio value='irregular'>有效期内不规则日期可用</Radio>
</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
]}
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(

View File

@ -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;