From 5b08e6c4379ecb702b1e1c208fb445c6ccc8e19a Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Tue, 15 Oct 2024 11:06:37 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=AD=97=E5=8F=B7=E6=8C=89=E7=85=A7=E5=AE=9E?= =?UTF-8?q?=E9=99=85=E5=90=8D=E5=AD=97=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/color-text-size-group/index.vue | 13 +++++++------ .../model-goods-list/model-goods-list-styles.vue | 4 ++-- .../model-goods-tabs/model-goods-tabs-styles.vue | 4 ++-- .../model-seckill/model-seckill-styles.vue | 2 +- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/src/components/common/color-text-size-group/index.vue b/src/components/common/color-text-size-group/index.vue index 3f114aa7..b8b6fbf5 100644 --- a/src/components/common/color-text-size-group/index.vue +++ b/src/components/common/color-text-size-group/index.vue @@ -4,7 +4,7 @@ {{ item.name }} - + @@ -14,22 +14,24 @@ interface Props { defaultColor?: string; typeList?: string[]; // 默认显示3个,传递了之后按照传递的显示 + sliderName?: string; } const props = withDefaults(defineProps(), { defaultColor: '', typeList: () => ['color', 'typeface', 'size'], + sliderName: '字号', }); const color = defineModel('color', { type: String, - default: '' + default: '', }); const typeface = defineModel('typeface', { type: String, - default: '400' + default: '400', }); const size = defineModel('size', { type: Number, - default: 15 + default: 15, }); const font_weight = [ @@ -38,5 +40,4 @@ const font_weight = [ ]; - \ No newline at end of file + diff --git a/src/components/model-goods-list/model-goods-list-styles.vue b/src/components/model-goods-list/model-goods-list-styles.vue index c47f1157..478ceee3 100644 --- a/src/components/model-goods-list/model-goods-list-styles.vue +++ b/src/components/model-goods-list/model-goods-list-styles.vue @@ -11,7 +11,7 @@