From 6d2d52e040d1005d0a97673850a0715202b00977 Mon Sep 17 00:00:00 2001 From: aihe <961836564@qq.com> Date: Sun, 26 May 2024 00:20:09 +0800 Subject: [PATCH] uu --- common/custom.scss | 3 ++ .../bpe-gooditem-edit-tmp.vue | 42 ++++++++++++++++--- 2 files changed, 40 insertions(+), 5 deletions(-) diff --git a/common/custom.scss b/common/custom.scss index 8971e75..8fea664 100644 --- a/common/custom.scss +++ b/common/custom.scss @@ -144,6 +144,9 @@ .mr-40{ margin-right: 40rpx; } +.pt-5{ + padding-top: 5rpx; +} .pt-10{ padding-top: 10rpx; } diff --git a/components/buns-post-edit-templates/bpe-gooditem-edit-tmp.vue b/components/buns-post-edit-templates/bpe-gooditem-edit-tmp.vue index c7856d0..44a4a08 100644 --- a/components/buns-post-edit-templates/bpe-gooditem-edit-tmp.vue +++ b/components/buns-post-edit-templates/bpe-gooditem-edit-tmp.vue @@ -8,13 +8,40 @@ - - {{item.nationArea}} - 预报 {{item.cargoQty}} + + + + 产地{{item.nationArea}} + + + + + 预报 {{item.cargoQty}} + + + + + 单价{{item.price}} CNY + + + + + 尺寸 + {{item.length || '0'}}cm* + {{item.width || '0'}}cm* + {{item.length || '0'}}cm + + + + + 体积 + {{item.volume || '0'}}m³ + + - {{item.price}} CNY + 异常 @@ -36,7 +63,7 @@ - + @@ -57,6 +84,11 @@ default () { return { } } + }, + showMode: { + default () { + return '1' // 1 只显示商品名称、体积; 2:显示全部商品信息 + } } }, data() {