<view class="tr bg-w">
<view class="th">单板数量</view>
<view class="th">总张数</view>
<view class="th">坏板数量</view>
<view class="th">加板数量</view>
<view class="th">单价</view>
</view>
<view class="tr">
<view class="td">{{ item.danbannum }}</view>
<view class="td">{{ item.zhenbannum }}</view>
<view class="td">{{ item.huaibannum }}</view>
<view class="td">{{ item.jiabannum }}</view>
<view class="td">{{ item.unitprice }}</view>
</view>
table {
width: 100%;
border-collapse: collapse;
border: 0.5px solid #e9e9e9;
}
th,
td {
border: 0.5px solid #e9e9e9;
height: 2rem;
line-height: 1.5;
text-align: center;
}
th {
background-color: #fbfbfb;
}
.table {
border: 0px solid darkgray;
font-size: 12px;
width: 100%;
}
.tr {
display: flex;
width: 100%;
justify-content: center;
height: 2rem;
align-items: center;
}
.td,
.th {
width: 20%;
justify-content: center;
text-align: center;
border-collapse: collapse;
border: 0.5px solid #e9e9e9;
height: 2rem;
line-height: 2rem;
}
.bg-w {
background: #fbfbfb;
}

发表评论 取消回复