提交 95718b2d 编写于 作者: yi.li's avatar yi.li

修改订单管理列表样式

上级 6f4e8847
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
</el-tabs> </el-tabs>
<el-table :data="tableData" border max-height="1000" class="item-table" style="width: 100%;margin-top: 10px;"> <el-table :data="tableData" border max-height="1000" class="item-table" style="width: 100%;margin-top: 10px;">
<el-table-column prop="id" label="订单号" min-width="100" align="center"></el-table-column> <el-table-column prop="id" label="订单号" min-width="100" align="center"></el-table-column>
<el-table-column prop="goodsNameList" label="商品名称" min-width="100" align="center"> <el-table-column prop="goodsNameList" label="商品名称" min-width="150" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<!--<span>{{ scope.row.goodsName }}</span>--> <!--<span>{{ scope.row.goodsName }}</span>-->
<p v-for="(item, index) in scope.row.goodsNameList" :key="index" class="p-normal">{{item}}</p> <p v-for="(item, index) in scope.row.goodsNameList" :key="index" class="p-normal">{{item}}</p>
...@@ -524,8 +524,16 @@ ...@@ -524,8 +524,16 @@
height: 0; height: 0;
} }
.p-normal{ .p-normal{
line-height: 34px; line-height: 26px;
border-bottom: 1px solid #E4E7ED; border-bottom: 1px solid #E4E7ED;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
margin: 10px 0;
&:last-child{ &:last-child{
border-bottom: none; border-bottom: none;
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册