优化表格组件checkbox样式,订单管理列表宽度调整

This commit is contained in:
Apple 2022-08-26 11:53:15 +08:00
parent 06097d73eb
commit e36f8c6f3f
2 changed files with 16 additions and 16 deletions

View File

@ -348,8 +348,8 @@ export default class menu extends React.Component {
<div <div
className='th-td' className='th-td'
style={{ style={{
width: "50px", width: '30px',
textAlign: "left", textAlign: 'left',
background: this.props.headBackgroud background: this.props.headBackgroud
}}> }}>
<Checkbox <Checkbox
@ -432,8 +432,8 @@ export default class menu extends React.Component {
<div <div
className='td' className='td'
style={{ style={{
width: "50px", width: '30px',
textAlign: "left" textAlign: 'left'
}}> }}>
<Checkbox <Checkbox
checked={item.checked} checked={item.checked}

View File

@ -53,14 +53,14 @@ const Column = [
name: 'order_number', name: 'order_number',
prop: 'order_number', prop: 'order_number',
type: 'normal', type: 'normal',
width: '100px' width: '150px'
}, },
{ {
title: '兑换码-批次ID', title: '兑换码-批次ID',
name: 'code_batch_id', name: 'code_batch_id',
prop: 'code_batch_id', prop: 'code_batch_id',
type: 'normal', type: 'normal',
width: '100px' width: '80px'
}, },
{ {
title: '商品名称', title: '商品名称',
@ -74,14 +74,14 @@ const Column = [
name: 'official_price', name: 'official_price',
prop: 'official_price', prop: 'official_price',
type: 'normal', type: 'normal',
width: 'auto' width: '80px',
}, },
{ {
title: '合同价(成本价)', title: '合同价(成本价)',
name: 'cost', name: 'cost',
type: 'slot', type: 'slot',
prop: 'cost', prop: 'cost',
width: 'auto' width: '120px',
}, },
{ {
title: '分销商', title: '分销商',
@ -94,7 +94,7 @@ const Column = [
title: '归属key批次', title: '归属key批次',
name: 'key_batch_id', name: 'key_batch_id',
prop: 'key_batch_id', prop: 'key_batch_id',
width: 'auto', width: '80px',
type: 'normal' type: 'normal'
}, },
{ {
@ -109,14 +109,14 @@ const Column = [
name: 'num', name: 'num',
type: 'normal', type: 'normal',
prop: 'num', prop: 'num',
width: 'auto' width: '50px',
}, },
{ {
title: '状态', title: '状态',
name: 'statusDom', name: 'statusDom',
prop: 'statusDom', prop: 'statusDom',
type: 'slot', type: 'slot',
width: 'auto' width: '80px'
}, },
{ {
title: '操作', title: '操作',
@ -136,7 +136,7 @@ const Column = [
title: '创建时间', title: '创建时间',
name: 'create_time', name: 'create_time',
prop: 'create_time', prop: 'create_time',
width: '120px', width: '130px',
type: 'normal' type: 'normal'
}, },
{ {
@ -150,7 +150,7 @@ const Column = [
title: '订单类型', title: '订单类型',
name: 'type_text', name: 'type_text',
prop: 'type_text', prop: 'type_text',
width: 'auto', width: '50px',
type: 'slot' type: 'slot'
}, },
{ {
@ -158,20 +158,20 @@ const Column = [
name: 'discount', name: 'discount',
type: 'normal', type: 'normal',
prop: 'discount', prop: 'discount',
width: 'auto' width: '80px'
}, },
{ {
title: '结算', title: '结算',
name: 'total', name: 'total',
prop: 'total', prop: 'total',
width: 'auto', width: 'auto',
type: 'normal' type: '80px'
}, },
{ {
title: 'key', title: 'key',
name: 'key', name: 'key',
prop: 'key', prop: 'key',
width: 'auto', width: '140px',
type: 'normal' type: 'normal'
} }
] ]