Commit 6e75fbee by wufan

style:添加员工和添加学员样式调整

parent 729fdd22
...@@ -205,7 +205,7 @@ class ChooseMembersModal extends React.Component { ...@@ -205,7 +205,7 @@ class ChooseMembersModal extends React.Component {
title: '全选', // 实际为头像,但在表格上这行要求显示为全选 title: '全选', // 实际为头像,但在表格上这行要求显示为全选
key: 'avatar', key: 'avatar',
dataIndex: 'avatar', dataIndex: 'avatar',
width: '40%', width: '80%',
render: (value, record) => { render: (value, record) => {
const { adminName } = record; const { adminName } = record;
...@@ -307,7 +307,7 @@ class ChooseMembersModal extends React.Component { ...@@ -307,7 +307,7 @@ class ChooseMembersModal extends React.Component {
scroll={{ y: 290}} scroll={{ y: 290}}
size={'small'} size={'small'}
rowSelection={{ rowSelection={{
columnWidth : 24, columnWidth : 50,
selectedRowKeys, selectedRowKeys,
onChange : this.onChangeRow, onChange : this.onChangeRow,
getCheckboxProps : this.getCheckboxProps, getCheckboxProps : this.getCheckboxProps,
......
...@@ -10,14 +10,14 @@ ...@@ -10,14 +10,14 @@
margin-bottom: 12px; margin-bottom: 12px;
} }
.container-left-body{ .container-left-body{
colgroup { // colgroup {
col { // col {
&:nth-child(2n) { // &:nth-child(2n) {
width: 80%!important; // width: 80%!important;
min-width: 80%!important; // min-width: 80%!important;
} // }
} // }
} // }
border: 1px solid #E9E9E9; border: 1px solid #E9E9E9;
.ant-table-thead > tr > th { .ant-table-thead > tr > th {
font-weight:400!important; font-weight:400!important;
......
...@@ -210,7 +210,7 @@ class ChooseMembersModal extends React.Component { ...@@ -210,7 +210,7 @@ class ChooseMembersModal extends React.Component {
title: '全选', // 实际为头像,但在表格上这行要求显示为全选 title: '全选', // 实际为头像,但在表格上这行要求显示为全选
key: 'avatar', key: 'avatar',
dataIndex: 'avatar', dataIndex: 'avatar',
width: '40%', width: '80%',
render: (value, record) => { render: (value, record) => {
const { name } = record; const { name } = record;
...@@ -328,7 +328,7 @@ class ChooseMembersModal extends React.Component { ...@@ -328,7 +328,7 @@ class ChooseMembersModal extends React.Component {
}} }}
size={'small'} size={'small'}
rowSelection={{ rowSelection={{
columnWidth : 24, columnWidth : 50,
selectedRowKeys, selectedRowKeys,
onChange : this.onChangeRow, onChange : this.onChangeRow,
getCheckboxProps : this.getCheckboxProps, getCheckboxProps : this.getCheckboxProps,
......
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