Commit a7c02d70 by 李长胜

处理详情页列宽拉开不显示全表问题

1 parent 610bf3e1
.wrapper-merchant { .wrapper-merchant {
display: inline-flex; display: inline-flex;
} }
.merchant-left { .merchant-left {
width: 500px; width: 500px;
......
...@@ -46,7 +46,10 @@ ...@@ -46,7 +46,10 @@
.layui-form { .layui-form {
margin-top: 20px; margin-top: 20px;
} }
.merchant-right{
overflow-x: auto;
width: calc(100vw - 500px - 20px);
}
.merchant-right > div:first-child { .merchant-right > div:first-child {
position: relative; position: relative;
height: 40px; height: 40px;
...@@ -470,27 +473,32 @@ ...@@ -470,27 +473,32 @@
{ {
field: 'staffName', field: 'staffName',
title: '员工姓名', title: '员工姓名',
width: 120 width: 200,
align: 'center'
}, },
{ {
field: 'roleName', field: 'roleName',
title: '角色', title: '角色',
width: 120 width: 200,
align: 'center'
}, },
{ {
field: 'staffPhone', field: 'staffPhone',
title: '登录账户', title: '登录账户',
width: 120 width: 200,
align: 'center'
}, },
{ {
field: 'createdAccount', field: 'createdAccount',
title: '创建者', title: '创建者',
width: 100 width: 200,
align: 'center'
}, },
{ {
field: 'createdTime', field: 'createdTime',
title: '创建时间', title: '创建时间',
width: 112 width: 200,
align: 'center'
} }
] ]
] ]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!