feat: 功能完善: 订单模块的button切边、评论自动跳转、详情页进入个人页前置判断、详情分享卡片取值问题以及部分样式问题
This commit is contained in:
@@ -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: "";
|
||||
|
||||
@@ -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);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user