From 657c60c11778b321d1c1660e698ba8cf9f5fc81c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Wed, 25 Sep 2024 16:47:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/diy/goods-list.vue | 38 -------------------- components/diy/{text-title.vue => title.vue} | 0 2 files changed, 38 deletions(-) rename components/diy/{text-title.vue => title.vue} (100%) diff --git a/components/diy/goods-list.vue b/components/diy/goods-list.vue index fa31769e..7cb5302d 100644 --- a/components/diy/goods-list.vue +++ b/components/diy/goods-list.vue @@ -194,41 +194,6 @@ new_style: {}, is_show_cart: false, propIsCartParaCurve: true, - default_list: { - title: '测试商品标题', - min_original_price: '41.2', - show_original_price_symbol: '¥', - show_original_price_unit: '/ 台', - min_price: '51', - show_price_symbol: '¥', - show_price_unit: '/ 台', - sales_count: '1000', - images: '', - new_cover: [], - plugins_view_icon_data: [ - { - name: '满减活动', - bg_color: '#EA3323', - br_color: '', - color: '#fff', - url: '', - }, - { - name: '包邮', - bg_color: '', - br_color: '#EA3323', - color: '#EA3323', - url: '', - }, - { - name: '领劵', - bg_color: '', - br_color: '#EA9223', - color: '#EA9223', - url: '', - }, - ], - }, list: [], content_radius: '', // 圆角设置 content_img_radius: '', // 图片圆角设置 @@ -281,9 +246,6 @@ } else if (!isEmpty(this.form.data_auto_list) && this.form.data_type == '1') { // 筛选商品并且筛选商品数组不为空 new_list = this.form.data_auto_list; - } else { - // 为空的时候走默认数据 - new_list = Array(4).fill(this.default_list); } // 最外层不同风格下的显示 this.set_outer_class(); diff --git a/components/diy/text-title.vue b/components/diy/title.vue similarity index 100% rename from components/diy/text-title.vue rename to components/diy/title.vue