From 8907015c31e2ea72a97981f5c41b9f6ece6af3d7 Mon Sep 17 00:00:00 2001 From: 77 <270260644@qq.com> Date: Mon, 11 Nov 2024 18:47:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E7=8E=B0=E9=AD=94=E6=96=B9=E8=A3=85?= =?UTF-8?q?=E4=BF=AE=E5=8A=A8=E6=80=81=E7=9A=84=E6=9B=B4=E6=94=B9=E5=9C=B0?= =?UTF-8?q?=E5=9D=80=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sheep/components/s-mof-block/s-mof-block.vue | 37 +++++++++++--------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/sheep/components/s-mof-block/s-mof-block.vue b/sheep/components/s-mof-block/s-mof-block.vue index cafcf69..25c4b99 100644 --- a/sheep/components/s-mof-block/s-mof-block.vue +++ b/sheep/components/s-mof-block/s-mof-block.vue @@ -9,9 +9,7 @@ - + 今日推荐 @@ -21,7 +19,7 @@ - + @@ -34,9 +32,7 @@ - + 热门榜单 @@ -58,9 +54,7 @@ - + 首发新品 @@ -82,9 +76,7 @@ - + 促销单品 @@ -119,7 +111,15 @@ showMenuTools, closeMenuTools } from '@/sheep/hooks/useModal'; - + // 接受参数 + const props = defineProps({ + data: { + type: Object, + default: {}, + } + }); + + console.log("====++++=====",props.data) const show = computed(() => sheep.$store('modal').menu); function onClick(item) { @@ -175,10 +175,12 @@ // margin-top: 10px; padding-bottom: 10px; padding-top: 10px; + &>.t { display: flex; align-items: center; - padding:0 10px; + padding: 0 10px; + .left-font { color: rgba(252, 60, 62); font-size: 17px; @@ -197,14 +199,15 @@ .new-list { // width: 100%; - margin-right:10px; + margin-right: 10px; + .item { float: left; width: 50%; .nei { margin: 10px; - margin-right:0; + margin-right: 0; margin-bottom: 0; background: white; border-radius: 10px;