From 65ed8a4d4862374a27d5090f710323176d6994f1 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, 15 Oct 2024 11:36:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E5=B1=82=E7=BA=A7=E9=80=BB=E8=BE=91=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../model-custom/components/index.vue | 91 ++++++------------- .../components/right-side-operation/index.vue | 35 ++++--- src/components/model-custom/index.vue | 2 +- .../model-custom/model-custom-content.vue | 13 --- src/config/const/seckill.ts | 2 +- 5 files changed, 52 insertions(+), 91 deletions(-) diff --git a/src/components/model-custom/components/index.vue b/src/components/model-custom/components/index.vue index d3913144..f6bba971 100644 --- a/src/components/model-custom/components/index.vue +++ b/src/components/model-custom/components/index.vue @@ -59,7 +59,7 @@
- +
@@ -67,7 +67,7 @@
- +
diff --git a/src/components/model-custom/index.vue b/src/components/model-custom/index.vue index 5bc1952d..40c698a4 100644 --- a/src/components/model-custom/index.vue +++ b/src/components/model-custom/index.vue @@ -2,7 +2,7 @@
-
+
diff --git a/src/components/model-custom/model-custom-content.vue b/src/components/model-custom/model-custom-content.vue index b563f5c7..425ca0ed 100644 --- a/src/components/model-custom/model-custom-content.vue +++ b/src/components/model-custom/model-custom-content.vue @@ -159,19 +159,6 @@ const accomplish = () => { if (!draglist.value) { return; } else { - // 规整数据逻辑 - const list = draglist.value.diy_data.sort((a, b) => a.com_data.z_index - b.com_data.z_index); - // 将z-index重置为初始效果 - let z_index = 0; - if (list.length > 0) { - list.forEach((item) => { - if (item.com_data.z_index < 0) { - const new_z_index = z_index - 1; - item.com_data.z_index = new_z_index; - z_index = new_z_index; - } - }); - } form.custom_list = draglist.value.diy_data; } form.height = center_height.value; diff --git a/src/config/const/seckill.ts b/src/config/const/seckill.ts index 414874b1..17628cfa 100644 --- a/src/config/const/seckill.ts +++ b/src/config/const/seckill.ts @@ -86,7 +86,7 @@ const defaultSeckill: DefaultSeckill = { is_shop_show: '1', shop_type: 'text', shop_button_text: '去抢购', - shop_button_icon_class: '', + shop_button_icon_class: 'cart', seckill_subscript_show: '1', subscript_text: '秒杀', },