From 4bf5023453e203286438975953447a5e1eab8a1d Mon Sep 17 00:00:00 2001 From: wangdong <1551135706@qq.com> Date: Fri, 7 Jun 2024 09:44:13 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E6=BB=9A=E5=8A=A8=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/shop/Index.vue | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) 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' } } ]