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;