【优化】固定订单列表地址栏的宽度,防止出现小屏浏览器出现不左右滚动而撑破容器的问题。

This commit is contained in:
大灰灰
2022-11-12 19:58:51 +08:00
parent 6fd036fb85
commit 21b06ee278

View File

@@ -295,7 +295,7 @@
}
}
},
{ field: 'orderAmount', title: '订单总额', width: 100, align: 'center', templet: '#orderAmount', totalRow: true },
{ field: 'orderAmount', title: '订单总额', width: 80, align: 'center', templet: '#orderAmount', totalRow: true },
{
field: 'item', title: '货品', align: 'center', width: 330, templet: "#orderItems"
},
@@ -421,10 +421,8 @@
return '<a style="color:red">' + data.afterSaleStatus + '</a>';
}
},
{
field: 'shipMobile', title: '地址', align: 'left', templet: "#orderShip"
field: 'shipMobile', title: '地址', width: 350, align: 'left', templet: "#orderShip"
},
//{
// field: 'userNickName',
@@ -1354,8 +1352,8 @@
<!--金额-->
<script type="text/html" id="orderAmount">
<font class="layui-font-12"></font>
<font class="layui-font-14">{{d.orderAmount}}</font>
<font class="layui-font-12" style="color: red"></font>
<font class="layui-font-14" style="color: red;font-weight: bolder;">{{d.orderAmount}}</font>
</script>