feat: 功能完善: 订单模块的button切边、评论自动跳转、详情页进入个人页前置判断、详情分享卡片取值问题以及部分样式问题

This commit is contained in:
2025-10-18 11:23:20 +08:00
parent 9ef35267cf
commit 2ba4586804
13 changed files with 131 additions and 42 deletions

View File

@@ -44,10 +44,19 @@
}
}
.list {
padding: 12px 20px;
// padding: 12px 20px;
padding: 12px 0;
& > .commentItem {
padding-bottom: 12px;
// padding-bottom: 12px;
padding: 0 0 12px 20px;
box-sizing: border-box;
&.weight_super.blink::after {
padding: 0;
top: -5px;
left: 0;
border-radius: initial;
}
}
.commentItem {
@@ -56,6 +65,7 @@
justify-content: space-between;
gap: 8px;
position: relative;
width: 100%;
&.blink::after {
content: "";

View File

@@ -187,7 +187,8 @@ function CommentItem(props: {
<View
className={classnames(
styles.commentItem,
blink_id === comment.id && styles.blink
blink_id === comment.id && styles.blink,
styles.weight_super
)}
key={comment.id}
id={`comment_id_${comment.id}`}
@@ -344,7 +345,7 @@ export default forwardRef(function Comments(
setBlinkId(res.data.id);
setTimeout(() => {
setBlinkId(undefined);
}, 3300);
}, 4300);
});
}
}