fix: rating

This commit is contained in:
zzc
2026-05-24 00:12:07 +08:00
parent 1138e1f0de
commit 553d546c6e

View File

@@ -550,16 +550,14 @@ onReachBottom(() => {
/* 评论区 */ /* 评论区 */
.comments-section { .comments-section {
padding: 0; padding: 32rpx;
} }
.tabs-header { .tabs-header {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
margin-bottom: 24rpx; margin-bottom: 32rpx;
border-bottom: 2rpx solid #f0f2f7;
padding-bottom: 24rpx;
} }
.tabs { .tabs {
@@ -568,7 +566,7 @@ onReachBottom(() => {
} }
.tab { .tab {
font-size: 30rpx; font-size: 32rpx;
color: #999; color: #999;
font-weight: 500; font-weight: 500;
position: relative; position: relative;
@@ -578,7 +576,7 @@ onReachBottom(() => {
.tab.active { .tab.active {
color: #111; color: #111;
font-size: 34rpx; font-size: 36rpx;
font-weight: 800; font-weight: 800;
} }
@@ -614,11 +612,21 @@ onReachBottom(() => {
.comment-item { .comment-item {
display: flex; display: flex;
padding: 32rpx 0; padding: 32rpx 0;
border-bottom: 2rpx solid #f0f2f7; position: relative;
} }
.comment-item:last-child { .comment-item::after {
border-bottom: none; content: '';
position: absolute;
bottom: 0;
left: 104rpx; /* 头像宽度(80) + 间距(24) */
right: 0;
height: 2rpx;
background-color: #f0f2f7;
}
.comment-item:last-child::after {
display: none;
} }
.c-avatar { .c-avatar {
@@ -639,7 +647,7 @@ onReachBottom(() => {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: flex-start; align-items: flex-start;
margin-bottom: 12rpx; margin-bottom: 8rpx;
} }
.c-user-info { .c-user-info {
@@ -652,7 +660,7 @@ onReachBottom(() => {
font-size: 30rpx; font-size: 30rpx;
font-weight: 800; font-weight: 800;
color: #111; color: #111;
margin-right: 12rpx; margin-right: 16rpx;
} }
.c-badge { .c-badge {
@@ -695,14 +703,14 @@ onReachBottom(() => {
} }
.c-text { .c-text {
font-size: 30rpx; font-size: 32rpx;
color: #333; color: #222;
line-height: 1.6; line-height: 1.6;
} }
.load-more { .load-more {
text-align: center; text-align: center;
padding: 40rpx 0 20rpx; padding: 40rpx 0 0;
color: #999; color: #999;
font-size: 24rpx; font-size: 24rpx;
} }