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 @@