This commit is contained in:
@@ -36,9 +36,7 @@
|
||||
<view class="section-title">商品明细</view>
|
||||
<view class="items-list">
|
||||
<view class="item-row header">
|
||||
<text class="item-name">商品名称</text>
|
||||
<text class="item-specs">规格</text>
|
||||
<text class="item-dims">长x宽</text>
|
||||
<text class="item-info">商品信息</text>
|
||||
<text class="item-area">总面积(m²)</text>
|
||||
<text class="item-qty">数量</text>
|
||||
<text class="item-price">单价</text>
|
||||
@@ -49,9 +47,7 @@
|
||||
:key="index"
|
||||
class="item-row"
|
||||
>
|
||||
<text class="item-name">{{ item.productName }}</text>
|
||||
<text class="item-specs">{{ item.productSpec || '-' }}</text>
|
||||
<text class="item-dims">{{ item.length || '-' }}x{{ item.width || '-' }}</text>
|
||||
<text class="item-info">{{ item.productName }}\n{{ item.productSpec || '-' }}\n{{ item.length || '-' }}x{{ item.width || '-' }}</text>
|
||||
<text class="item-area">{{ calcArea(item) }}</text>
|
||||
<text class="item-qty">{{ item.quantity }}</text>
|
||||
<text class="item-price">¥{{ item.price }}</text>
|
||||
@@ -369,24 +365,16 @@ export default {
|
||||
padding: 16rpx 0;
|
||||
}
|
||||
|
||||
.item-name {
|
||||
flex: 2;
|
||||
min-width: 120rpx;
|
||||
}
|
||||
|
||||
.item-specs {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.item-dims {
|
||||
flex: 1;
|
||||
text-align: center;
|
||||
.item-info {
|
||||
flex: 3;
|
||||
white-space: pre-line;
|
||||
font-size: 24rpx;
|
||||
color: #333;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.item-area {
|
||||
flex: 1;
|
||||
flex: 1.2;
|
||||
text-align: center;
|
||||
color: #667eea;
|
||||
font-weight: 500;
|
||||
|
||||
Reference in New Issue
Block a user