Initial commit: 91dj android client dev_1.0.0

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
谢宇宁
2026-10-08 11:37:25 +07:00
co-authored by Claude Opus 5.5
commit 97dd6a739a
1262 changed files with 119813 additions and 0 deletions
+49
View File
@@ -0,0 +1,49 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:jydj/hj_model/video_model.dart';
import 'package:jydj/hj_utils/screen.dart';
import 'package:jydj/tools_base/widget/sheet_handle_bar.dart';
import 'comment_views.dart';
Future showCommentDialog(
String objId, {
String objType = "video",
int? commentCount,
VideoModel? videoModel,
}) async {
return Get.bottomSheet(
Container(
alignment: Alignment.topLeft,
height: screen.screenHeight * 0.72,
decoration: BoxDecoration(
color: Color(0xff141414),
borderRadius: BorderRadius.only(
topLeft: Radius.circular(20),
topRight: Radius.circular(20),
),
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Container(
alignment: Alignment.center,
padding: EdgeInsets.only(top: 12, bottom: 12),
child: const SheetHandleBar(color: Color(0x1AFFFFFF)),
),
Padding(
padding: const EdgeInsets.only(left: 16, bottom: 16),
child: Text(
"${commentCount ?? 0}条评论",
style: TextStyle(color: Colors.white, fontWeight: FontWeight.w400, fontSize: 14),
),
),
Expanded(
child: CommentView(objId, objType: objType, videoModel: videoModel),
),
],
),
),
elevation: 0.72,
);
}