From e8fb20686ff91fcf66efe768733ceea72af6810b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Mon, 18 Nov 2024 18:16:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=95=B0=E6=8D=AE=E9=AD=94?= =?UTF-8?q?=E6=96=B9=E7=9A=84=E8=BD=AE=E6=92=AD=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/carousel-indicator/index.vue | 30 +-- src/components/common/common-styles/index.vue | 2 +- src/components/model-carousel/index.vue | 57 ++++-- src/components/model-custom/index.vue | 191 ++++++++---------- .../model-custom/model-custom-content.vue | 20 +- .../model-custom/model-custom-styles.vue | 30 ++- .../components/carousel/magic-carousel.vue | 91 +++++++-- .../components/carousel/product-list-show.vue | 10 +- .../components/custom/index.vue | 48 +---- .../magic-cube-settings/tabs-styles.vue | 6 + src/components/model-data-magic/index.vue | 127 ++++++++---- .../model-data-magic-content.vue | 6 + src/components/model-nav-group/index.vue | 64 ++++-- .../model-nav-group-styles.vue | 2 +- src/components/model-seckill/index.vue | 4 +- .../model-seckill/model-seckill-styles.vue | 3 + src/config/const/carousel.ts | 2 + src/config/const/custom.ts | 31 ++- src/config/const/nav-group.ts | 6 +- src/config/const/seckill.ts | 8 + src/config/const/tabs-carousel.ts | 2 + src/styles/common.scss | 22 ++ 22 files changed, 477 insertions(+), 285 deletions(-) diff --git a/src/components/common/carousel-indicator/index.vue b/src/components/common/carousel-indicator/index.vue index e1ad9a01..8abd7812 100644 --- a/src/components/common/carousel-indicator/index.vue +++ b/src/components/common/carousel-indicator/index.vue @@ -4,6 +4,21 @@ @@ -47,6 +71,10 @@ const state = reactive({ // 如果需要解构,确保使用toRefs const { form, data } = toRefs(state); +const mult_color_picker_event = (arry: color_list[], type: number) => { + form.value.data_style.color_list = arry; + form.value.data_style.direction = type.toString(); +} \ No newline at end of file diff --git a/src/components/model-data-magic/components/carousel/product-list-show.vue b/src/components/model-data-magic/components/carousel/product-list-show.vue index 9f80e746..16bf54b3 100644 --- a/src/components/model-data-magic/components/carousel/product-list-show.vue +++ b/src/components/model-data-magic/components/carousel/product-list-show.vue @@ -11,7 +11,7 @@
-
{{ item.title }}
+
{{ item.title }}
{{ item.show_price_symbol }}{{ item.min_price }}