diff --git a/sheep/components/s-block-item/s-block-item.vue b/sheep/components/s-block-item/s-block-item.vue index 156f36f6..5e65b36b 100644 --- a/sheep/components/s-block-item/s-block-item.vue +++ b/sheep/components/s-block-item/s-block-item.vue @@ -9,7 +9,7 @@ - + diff --git a/sheep/components/s-menu-grid/s-menu-grid.vue b/sheep/components/s-menu-grid/s-menu-grid.vue index 518d6edf..deae0663 100644 --- a/sheep/components/s-menu-grid/s-menu-grid.vue +++ b/sheep/components/s-menu-grid/s-menu-grid.vue @@ -1,82 +1,104 @@ + .grid-item-box { + flex: 1; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + height: 100%; + + .img-box { + position: relative; + + .tag-box { + position: absolute; + z-index: 2; + top: 0; + right: 0; + font-size: 2em; + line-height: 1; + padding: 0.4em 0.6em 0.3em; + transform: scale(0.4) translateX(0.5em) translatey(-0.6em); + transform-origin: 100% 0; + border-radius: 200rpx; + white-space: nowrap; + } + } + + .title-box { + .grid-tip { + font-size: 24rpx; + white-space: nowrap; + text-align: center; + } + } + } + \ No newline at end of file