From afd2c7bf5ed086c615fdf508711639cf5a2542e3 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, 30 Dec 2024 09:31:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=97=AE=E9=A2=98=E8=A5=BF?= =?UTF-8?q?=E5=AE=89=E5=B8=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/common-styles/index.vue | 47 +++++++++-------- src/components/model-goods-list/index.vue | 4 +- .../model-goods-list-styles.vue | 7 +++ src/components/model-img-magic/index.vue | 44 ++++++++++++---- .../model-img-magic-styles.vue | 30 +++++++---- src/config/const/goods-list.ts | 37 ++++++++++++- src/config/const/img-magic.ts | 52 +++++++++++++++++++ src/config/const/index.ts | 10 ++++ src/types/global.d.ts | 4 ++ src/utils/index.ts | 10 +++- src/views/layout/index.vue | 5 ++ 11 files changed, 201 insertions(+), 49 deletions(-) diff --git a/src/components/common/common-styles/index.vue b/src/components/common/common-styles/index.vue index ba04703c..0a82d7bb 100644 --- a/src/components/common/common-styles/index.vue +++ b/src/components/common/common-styles/index.vue @@ -17,33 +17,18 @@ - + - + - - - - - - - - - - - - - - - - - - - - + + + + + @@ -60,6 +45,18 @@ const props = defineProps({ background_img_style: '0', floating_up: 0, is_bottom_up: '0', + border: { + is_show: '0', + color: '#FF3F3F', + style: 'solid', + size: { + padding: 1, + padding_top: 1, + padding_right: 1, + padding_bottom: 1, + padding_left: 1, + }, + }, padding: 0, padding_top: 0, padding_bottom: 0, @@ -105,7 +102,11 @@ const props = defineProps({ isUpDown: { type: Boolean, default: true, - } + }, + isShowBorder: { + type: Boolean, + default: true, + }, }); // value 和初始化数据合并数据 let form = ref(props.value); diff --git a/src/components/model-goods-list/index.vue b/src/components/model-goods-list/index.vue index aa4ed9e4..f1d56ce7 100644 --- a/src/components/model-goods-list/index.vue +++ b/src/components/model-goods-list/index.vue @@ -163,7 +163,7 @@