style: remove user page full height constraint

This commit is contained in:
hajimi
2026-08-03 04:03:17 +08:00
parent 9dd3f7e05b
commit d635afed6b
+1 -17
View File
@@ -251,14 +251,10 @@ const handleMenuTap = (item: any) => {
<style lang="scss" scoped>
.user-page {
height: 100vh;
overflow: hidden;
display: flex;
flex-direction: column;
min-height: 100vh;
background: #fff;
color: #111827;
padding-bottom: 0;
box-sizing: border-box;
}
.user-toolbar {
@@ -403,16 +399,10 @@ const handleMenuTap = (item: any) => {
}
.user-content {
flex: 1;
min-height: 0;
padding: 0 24rpx;
display: flex;
flex-direction: column;
}
.user-section {
flex: 1;
min-height: 0;
margin-bottom: 12rpx;
padding: 14rpx 10rpx 10rpx;
border-radius: 16rpx;
@@ -420,8 +410,6 @@ const handleMenuTap = (item: any) => {
background: #fff;
box-sizing: border-box;
box-shadow: 0 8rpx 28rpx rgba(23, 40, 75, 0.04);
display: flex;
flex-direction: column;
&__title {
display: block;
@@ -438,11 +426,9 @@ const handleMenuTap = (item: any) => {
}
.user-benefits {
flex: 0 0 auto;
padding-bottom: 12rpx;
&__grid {
flex: 0 0 124rpx;
display: flex;
gap: 10rpx;
align-items: stretch;
@@ -545,11 +531,9 @@ const handleMenuTap = (item: any) => {
}
.user-list {
flex: 1;
display: flex;
flex-direction: column;
gap: 4rpx;
justify-content: space-between;
overflow: hidden;
&__item {