feat(fittingRoom): 添加容器包裹页面内容并调整样式

- 添加 container 容器包裹页面主要结构- 调整滚动区域样式,注释掉 overflow-y 属性
- 为 container 设置相对定位样式
This commit is contained in:
liguigong
2025-10-11 10:44:40 +08:00
parent 5c279028c3
commit ee29c48b9b
+8 -3
View File
@@ -1,4 +1,5 @@
<template> <template>
<view class="container">
<uv-sticky :customNavHeight="0" :offset-top="0"> <uv-sticky :customNavHeight="0" :offset-top="0">
<view class="uni-margin-wrap"> <view class="uni-margin-wrap">
<uni-swiper-dot <uni-swiper-dot
@@ -43,6 +44,7 @@
<s-grid-clothes /> <s-grid-clothes />
<view class="height1"></view> <view class="height1"></view>
</scroll-view> </scroll-view>
</view>
</template> </template>
<script setup> <script setup>
@@ -131,6 +133,9 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.container {
position: relative;
}
.uni-margin-wrap { .uni-margin-wrap {
width: 100%; width: 100%;
position: relative; position: relative;
@@ -228,7 +233,7 @@
background: #171717; background: #171717;
} }
} }
.scroll { //.scroll {
overflow-y: scroll; // overflow-y: scroll;
} //}
</style> </style>