Browse Source

上线测试更改BUG

wangwenju 1 tháng trước cách đây
mục cha
commit
c614385298
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 3 2
      LiangZhiYUMao/pages/matchmaker-workbench/my-resources.vue

+ 3 - 2
LiangZhiYUMao/pages/matchmaker-workbench/my-resources.vue

@@ -1180,7 +1180,7 @@ export default {
 
 <style lang="scss" scoped>
 	.my-resources {
-		min-height: 100vh;
+		height: 100vh;
 		background: #F5F5F5;
 		display: flex;
 		flex-direction: column;
@@ -1323,12 +1323,13 @@ export default {
 		height: 0; /* 配合 flex: 1 使用,确保 scroll-view 有明确高度 */
 		padding: 0 20rpx 140rpx;
 		box-sizing: border-box;
+		overflow: hidden;
 	}
 
 	/* 资源分组 */
 	.resource-section {
 		margin-bottom: 30rpx;
-		min-height: calc(50vh - 100rpx); /* 确保至少占半屏高度 */
+		min-height: auto; /* 移除固定最小高度,让内容自然撑开 */
 		display: flex;
 		flex-direction: column;