chore:一级分类高度和二级分类高度一致

This commit is contained in:
2026-07-21 17:36:35 +08:00
parent 75f70138ed
commit e9b96df758
2 changed files with 14 additions and 7 deletions

View File

@@ -2388,11 +2388,14 @@ export default {
.second-category-btns {
display: flex;
flex-wrap: wrap;
height: 96rpx;
box-sizing: border-box;
align-items: center;
// #ifdef H5
padding: 20rpx 10rpx 0rpx 24rpx;
padding: 0rpx 10rpx 0rpx 24rpx;
// #endif
// #ifndef H5
padding: 20rpx 20rpx 10rpx;
padding: 0rpx 20rpx 0rpx;
// #endif
background: #fff;
border-bottom: 1rpx solid #f0f0f0;
@@ -2403,7 +2406,7 @@ export default {
color: #666;
border-radius: 30rpx;
font-size: 20rpx;
margin: 0 14rpx 17rpx 0;
margin: 0 14rpx 0rpx 0;
max-width: 100%;
white-space: nowrap;
overflow: hidden;

View File

@@ -729,11 +729,12 @@ export default {
}
.content-box {
flex: 1;
height: 0;
display: flex;
flex: 1;
height: 0;
display: flex;
align-items: flex-start;
.tree-wrap {
.tree-wrap {
width: 170rpx;
height: 100%;
background-color: #f5f5f5;
@@ -1590,6 +1591,8 @@ export default {
.tree-wrap .category-item {
padding: 30rpx 16rpx;
background-color: #f5f5f5;
height: 96rpx;
box-sizing: border-box;
view {
color: #333;
@@ -1599,6 +1602,7 @@ export default {
&.select {
background: #fff;
border-bottom: 1rpx solid #f0f0f0;
view {
color: #333;