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' },