From 703736258e519986e247ba167f0bf07ec639857d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Tue, 27 Aug 2024 18:42:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=95=86=E5=93=81=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/product-show-config/index.vue | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/components/common/product-show-config/index.vue b/src/components/common/product-show-config/index.vue index 0f083f91..09b33d68 100644 --- a/src/components/common/product-show-config/index.vue +++ b/src/components/common/product-show-config/index.vue @@ -3,10 +3,10 @@
显示内容
- {{ item.name }} + {{ item.name }} - + @@ -49,17 +49,16 @@ const state = reactive({ }); // 如果需要解构,确保使用toRefs const { form } = toRefs(state); - const base_list = { list_show_list: [ - { name: '商品名称', value: 'title' }, - { name: '商品标签', value: 'plugins_view_icon' }, - { name: '商品售价', value: 'price' }, - { name: '商品销量', value: 'sales_count' }, + { name: '商品名称', value: 'title', type:['0', '1', '2', '3', '4', '5', '6']}, + { name: '商品标签', value: 'plugins_view_icon', type:['0', '1', '2'] }, + { name: '商品售价', value: 'price', type:['0', '1', '2', '3', '4', '5', '6'] }, + { name: '商品销量', value: 'sales_count', type:['0', '1', '2'] }, // { name: '商品评分', value: '4' }, - { name: '商品原价', value: 'original_price' }, - { name: '售价单位', value: 'price_unit' }, - { name: '原价单位', value: 'original_price_unit' }, + { name: '商品原价', value: 'original_price', type:['0', '1', '2'] }, + { name: '售价单位', value: 'price_unit', type:['0', '1', '2', '3', '4', '5', '6'] }, + { name: '原价单位', value: 'original_price_unit', type:['0', '1', '2'] }, ], shopping_button_list: [ { name: '文字', value: 'text' },