fix:最新

This commit is contained in:
李伊帆
2026-10-23 10:26:54 +08:00
parent e4276b0853
commit 28531c8120
104 changed files with 3248 additions and 722 deletions

View File

@@ -20,10 +20,13 @@ const props = defineProps<{
/** 外部传入时覆盖内部计算(如设备详情页自定义顶部区域) */
scrollStyle?: CSSProperties
extraBottomPx?: number
/** 页面顶部固定区域选择器(导航栏 + 步骤条等),用于计算滚动区高度 */
topSelector?: string
}>()
const { scrollStyle: defaultScrollStyle } = usePageScrollHeight({
extraBottomPx: props.extraBottomPx ?? 0,
topSelector: props.topSelector,
})
const mergedStyle = computed<CSSProperties>(() => props.scrollStyle ?? defaultScrollStyle.value)