优化赛事信息页 UI
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 833 KiB |
@@ -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/model/model_event_info.dart';
|
||||||
import 'package:recording_tool/features/events/state/state_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/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/app_webview.dart';
|
||||||
import 'package:recording_tool/shared/widgets/widgets.dart';
|
import 'package:recording_tool/shared/widgets/widgets.dart';
|
||||||
|
|
||||||
@@ -117,21 +118,14 @@ class _TopGradientHeader extends StatelessWidget {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return SizedBox(
|
return Positioned(
|
||||||
|
top: -10.h,
|
||||||
|
left: 0,
|
||||||
|
right: 0,
|
||||||
|
child: SizedBox(
|
||||||
height: 219.h,
|
height: 219.h,
|
||||||
width: double.infinity,
|
width: double.infinity,
|
||||||
child: DecoratedBox(
|
child: Image.asset(Assets.images.imageEventInfoBarBg.path),
|
||||||
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)],
|
|
||||||
),
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -194,27 +188,6 @@ class _ProfileSection extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
child: Stack(
|
child: Stack(
|
||||||
children: [
|
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(
|
Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
@@ -44,6 +44,10 @@ class $AssetsImagesGen {
|
|||||||
AssetGenImage get imageDialogBg =>
|
AssetGenImage get imageDialogBg =>
|
||||||
const AssetGenImage('assets/images/image_dialog_bg.png');
|
const AssetGenImage('assets/images/image_dialog_bg.png');
|
||||||
|
|
||||||
|
/// File path: assets/images/image_event_info_bar_bg.png
|
||||||
|
AssetGenImage get imageEventInfoBarBg =>
|
||||||
|
const AssetGenImage('assets/images/image_event_info_bar_bg.png');
|
||||||
|
|
||||||
/// File path: assets/images/image_logo.png
|
/// File path: assets/images/image_logo.png
|
||||||
AssetGenImage get imageLogo =>
|
AssetGenImage get imageLogo =>
|
||||||
const AssetGenImage('assets/images/image_logo.png');
|
const AssetGenImage('assets/images/image_logo.png');
|
||||||
@@ -83,6 +87,7 @@ class $AssetsImagesGen {
|
|||||||
imageAppNameText,
|
imageAppNameText,
|
||||||
imageBlueTeam,
|
imageBlueTeam,
|
||||||
imageDialogBg,
|
imageDialogBg,
|
||||||
|
imageEventInfoBarBg,
|
||||||
imageLogo,
|
imageLogo,
|
||||||
imageOk,
|
imageOk,
|
||||||
imagePageBg,
|
imagePageBg,
|
||||||
|
|||||||
Reference in New Issue
Block a user