From 0cab5023c3199178c87caec869bf937ed0dc132b 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 15:19:14 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2=E9=80=BB?=
=?UTF-8?q?=E8=BE=91=E6=98=BE=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/diy/diy.vue | 8 ++------
components/diy/goods-list.vue | 2 +-
components/diy/seckill.vue | 18 +-----------------
3 files changed, 4 insertions(+), 24 deletions(-)
diff --git a/components/diy/diy.vue b/components/diy/diy.vue
index 169b2b0a..9b043feb 100644
--- a/components/diy/diy.vue
+++ b/components/diy/diy.vue
@@ -11,7 +11,7 @@
-
+
@@ -55,9 +55,7 @@
-
-
-
+
@@ -166,7 +164,6 @@
// 选项卡数据
tabs_data: {},
diy_data: [],
- is_show_footer: '0',
tabs_home_id: this.propHomeId,
// 商品列表
goods_list: [],
@@ -200,7 +197,6 @@
// tabs选项卡数据过滤
// const filter_tabs_list = this.value.tabs_data || [];
this.setData({
- is_show_footer: this.value.header.com_data.content.bottom_navigation_show,
key: get_math(),
header_data: this.value.header,
footer_data: this.value.footer,
diff --git a/components/diy/goods-list.vue b/components/diy/goods-list.vue
index dabe868b..fa31769e 100644
--- a/components/diy/goods-list.vue
+++ b/components/diy/goods-list.vue
@@ -1,5 +1,5 @@
-
+
diff --git a/components/diy/seckill.vue b/components/diy/seckill.vue
index 69238cb5..b6a76c72 100644
--- a/components/diy/seckill.vue
+++ b/components/diy/seckill.vue
@@ -1,5 +1,5 @@
-
+
@@ -183,18 +183,6 @@
return {
form: {},
new_style: {},
- 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: [],
- },
time_bg: '',
slide_active_color: '',
seckill_head_style: '',
@@ -263,8 +251,6 @@
if (data && !isEmpty(data.current)) {
if (!isEmpty(data.current.goods)) {
new_list = data.current.goods;
- } else {
- new_list = Array(4).fill(this.default_list);
}
const { status, time_first_text } = data.current.time;
this.setData({
@@ -282,8 +268,6 @@
this.setData({
intervalId: setInterval(this.updateCountdown, 1000),
});
- } else {
- new_list = Array(4).fill(this.default_list);
}
this.setData({
time_bg: this.get_time_bg(),