优化赛事信息页 UI
This commit is contained in:
@@ -10,6 +10,7 @@ import 'package:recording_tool/features/competition_teams/server/server_competit
|
||||
import 'package:recording_tool/features/events/model/model_event_info.dart';
|
||||
import 'package:recording_tool/features/events/state/state_event_info.dart';
|
||||
import 'package:recording_tool/features/events/view_model/view_model_event_info.dart';
|
||||
import 'package:recording_tool/gen/assets.gen.dart';
|
||||
import 'package:recording_tool/shared/widgets/app_webview.dart';
|
||||
import 'package:recording_tool/shared/widgets/widgets.dart';
|
||||
|
||||
@@ -117,21 +118,14 @@ class _TopGradientHeader extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return SizedBox(
|
||||
height: 219.h,
|
||||
width: double.infinity,
|
||||
child: DecoratedBox(
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.only(
|
||||
bottomLeft: Radius.circular(36.r),
|
||||
bottomRight: Radius.circular(36.r),
|
||||
),
|
||||
gradient: const LinearGradient(
|
||||
begin: Alignment.topLeft,
|
||||
end: Alignment.bottomRight,
|
||||
colors: [Color(0xFF5EC9FF), Color(0xFF178BFF)],
|
||||
),
|
||||
),
|
||||
return Positioned(
|
||||
top: -10.h,
|
||||
left: 0,
|
||||
right: 0,
|
||||
child: SizedBox(
|
||||
height: 219.h,
|
||||
width: double.infinity,
|
||||
child: Image.asset(Assets.images.imageEventInfoBarBg.path),
|
||||
),
|
||||
);
|
||||
}
|
||||
@@ -194,27 +188,6 @@ class _ProfileSection extends StatelessWidget {
|
||||
),
|
||||
child: Stack(
|
||||
children: [
|
||||
// Positioned(
|
||||
// top: -28.h,
|
||||
// right: -14.w,
|
||||
// child: Transform.rotate(
|
||||
// angle: 0.68,
|
||||
// child: Container(
|
||||
// width: 110.w,
|
||||
// height: 138.h,
|
||||
// decoration: BoxDecoration(
|
||||
// gradient: LinearGradient(
|
||||
// begin: Alignment.topCenter,
|
||||
// end: Alignment.bottomCenter,
|
||||
// colors: [
|
||||
// const Color(0xFF53D7FF).withValues(alpha: 0.12),
|
||||
// const Color(0xFFFF85C8).withValues(alpha: 0.13),
|
||||
// ],
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
// ),
|
||||
Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
|
||||
Reference in New Issue
Block a user