diff --git a/pages/goods-update/goods-update.wxss b/pages/goods-update/goods-update.wxss index 19e25d0..ffc1ef0 100644 --- a/pages/goods-update/goods-update.wxss +++ b/pages/goods-update/goods-update.wxss @@ -21,27 +21,14 @@ page::-webkit-scrollbar { min-height: 100vh; background-color: #f5f7fa; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif; - overflow: hidden; /* 禁用页面容器滚动 */ position: relative; } -/* 商品详情内容区域作为主要滚动区域 */ +/* 商品详情内容区域 */ .goods-detail-content { - height: calc(100vh - 140px); /* 减去底部按钮和顶部区域的高度 */ - overflow-y: auto; - -webkit-overflow-scrolling: touch; - scrollbar-width: none; /* Firefox */ - -ms-overflow-style: none; /* IE/Edge */ position: relative; } -/* 强制隐藏滚动条 */ -.goods-detail-content::-webkit-scrollbar { - display: none; - width: 0; - height: 0; -} - /* 隐藏所有scroll-view组件的滚动条 */ scroll-view { scrollbar-width: none; /* Firefox */