diff --git a/src/views/shop/Index.vue b/src/views/shop/Index.vue index eef0887..101b75a 100644 --- a/src/views/shop/Index.vue +++ b/src/views/shop/Index.vue @@ -33,12 +33,22 @@ :columns="columns" :data="loadData" :pagination="pagination" + :scroll="{ x: 1450 }" > 商户logo + + {{ item.shop_name }} + + + {{ item.shop_label }} + + + {{ item.company_name }} + {{ item.is_select_mechant ? '是' : '否' }} @@ -90,11 +100,15 @@ export default { }, { title: '商户名称', - dataIndex: 'shop_name' + width: '150px', + dataIndex: 'shop_name', + scopedSlots: { customRender: 'shop_name' } }, { title: '商户标签', - dataIndex: 'shop_label' + width: '150px', + dataIndex: 'shop_label', + scopedSlots: { customRender: 'shop_label' } }, { title: '账号名称', @@ -111,7 +125,9 @@ export default { }, { title: '公司名称', - dataIndex: 'company_name' + width: '150px', + dataIndex: 'company_name', + scopedSlots: { customRender: 'company_name' } }, { title: '法人名字', @@ -119,7 +135,8 @@ export default { }, { title: '手机号', - dataIndex: 'phone' + dataIndex: 'phone', + width: '120px' }, { title: '是否展示营业执照', @@ -136,12 +153,13 @@ export default { }, { title: '添加时间', + width: '150px', dataIndex: 'create_time' }, { title: '操作', dataIndex: 'action', - width: '180px', + width: '120px', scopedSlots: { customRender: 'action' } } ]