feat(CommentItem, PostDetailScreen, ReportDialog): integrate report functionality
Some checks failed
Frontend CI / build-and-push-web (push) Successful in 2m54s
Frontend CI / build-android-apk (push) Has been cancelled
Frontend CI / ota-android (push) Has been cancelled

- Added report button to CommentItem for reporting comments and replies.
- Integrated ReportDialog into PostDetailScreen for handling report submissions.
- Enhanced ReportDialog with detailed report reasons and improved UI interactions.
- Updated styles across various components for a more modern look and feel.

Made-with: Cursor
This commit is contained in:
lafay
2026-03-30 17:53:30 +08:00
parent e0ee29caf8
commit 774b5c4b47
14 changed files with 793 additions and 373 deletions

View File

@@ -432,18 +432,34 @@ export function createChatScreenStyles(colors: AppColors) {
transform: [{ translateY: -1 }],
},
// 发送按钮
// 发送按钮 - QQ/微信风格
sendButtonActive: {
width: 38,
height: 30,
borderRadius: 15,
width: 36,
height: 36,
borderRadius: 18, // 正圆形
backgroundColor: colors.primary.main,
alignItems: 'center',
justifyContent: 'center',
...shadows.md,
// 微信风格:轻微阴影,不夸张
shadowColor: colors.primary.main,
shadowOffset: { width: 0, height: 1 },
shadowOpacity: 0.2,
shadowRadius: 3,
elevation: 2,
},
sendButtonDisabled: {
opacity: 0.6,
opacity: 0.4,
},
// 发送按钮光泽层(叠加在按钮上模拟渐变)
sendButtonShine: {
position: 'absolute',
top: 0,
left: 0,
right: 0,
height: '50%',
borderTopLeftRadius: 18,
borderTopRightRadius: 18,
backgroundColor: 'rgba(255, 255, 255, 0.08)',
},
// 输入框