Merge branch 'feat-shebei' into test

This commit is contained in:
2026-09-23 15:37:10 +08:00
7 changed files with 124 additions and 16 deletions
+6 -2
View File
@@ -14,8 +14,13 @@ const props = defineProps({
type: String,
default: "normal",
},
contentHeight: {
type: String,
default: "",
},
});
const getContentHeight = () => {
if (props.contentHeight) return props.contentHeight;
if (props.mode === "tall") return "50vw";
if (props.mode === "square") return "74vw";
return "36vw";
@@ -82,8 +87,7 @@ const getContentHeight = () => {
position: absolute;
width: 80vw;
left: -7%;
bottom: -18vw;
bottom: -8rpx;
z-index: -1;
transform: translateY(-75px);
}
</style>