From 646152083b3959c64980b37897ee3d888ff2d0f2 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Sat, 25 Sep 2021 18:25:55 +0800 Subject: [PATCH] 20210925 --- src/main/resources/templates/febs/views/modules/order/orderList.html | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/order/orderList.html b/src/main/resources/templates/febs/views/modules/order/orderList.html index b3601ab..16da162 100644 --- a/src/main/resources/templates/febs/views/modules/order/orderList.html +++ b/src/main/resources/templates/febs/views/modules/order/orderList.html @@ -58,7 +58,9 @@ .layui-table-cell{ text-align:center; height: auto; - white-space: normal; + white-space: nowrap; /*文本不会换行,在同一行显示*/ + overflow: hidden; /*超出隐藏*/ + text-overflow: ellipsis; /*省略号显示*/ } .layui-table img{ max-width:200px @@ -159,17 +161,17 @@ id: 'orderTable', url: ctx + 'admin/order/orderList', cols: [[ - {field: 'orderNo', title: '订单编号', minWidth: 150,align:'left'}, - {field: 'memberName', title: '购买人', minWidth: 150,align:'left'}, - {field: 'memberPhone', title: '联系方式', minWidth: 150,align:'left'}, - {field: 'amount', title: '订单金额', minWidth: 150,align:'left'}, - {field: 'orderTime', title: '下单时间', minWidth: 150,align:'left'}, - {field: 'payTime', title: '支付时间', minWidth: 150,align:'left'}, - {field: 'payOrderNo', title: '支付订单号', minWidth: 150,align:'left'}, + {field: 'orderNo', title: '订单编号', minWidth: 120,align:'left'}, + {field: 'memberName', title: '购买人', minWidth: 120,align:'left'}, + {field: 'memberPhone', title: '联系方式', minWidth: 120,align:'left'}, + {field: 'amount', title: '订单金额', minWidth: 120,align:'left'}, + {field: 'orderTime', title: '下单时间', minWidth: 120,align:'left'}, + {field: 'payTime', title: '支付时间', minWidth: 120,align:'left'}, + {field: 'payOrderNo', title: '支付订单号', minWidth: 120,align:'left'}, {field: 'payImage', title: '支付凭证', templet: function (d) { return '<a lay-event="seePayImage"><img id="seePayImage'+d.id+'" src="'+d.payImage+'" alt=""></a>'; - }, minWidth: 300,align:'center'}, + }, minWidth: 200,align:'center'}, {field: 'status', title: '状态', templet: function (d) { if (d.status === 1) { -- Gitblit v1.9.1