feat: 整体常用控件封装,常用工具类。首页数据对接

This commit is contained in:
chengsiwen committed 2026-06-27 14:15:25 +08:00
1 parent d90d023e85
commit fbcd33ea2b
50 files changed
+4558 -264

No files matched your search

+3 -1
View File
@@ -5,4 +5,6 @@ export 'package:skywood/global/const/common_color.dart';
export 'package:skywood/global/const/common_string.dart';
export 'package:skywood/utils/tools/app_screen.dart';
export 'package:skywood/utils/tools/help_img.dart';
export 'package:skywood/utils/tools/help_img.dart';
export 'package:flutter_screenutil/flutter_screenutil.dart';
+6 -13
View File
@@ -58,17 +58,9 @@ class _MainRootState extends State<MainRoot> {
minimum: EdgeInsets.only(bottom: 10.h),
child: Stack(
children: [
SizedBox(
height: 49.h, width: 345.w,
),
Positioned(
top: 11.h,
child: _buildTabBar(),
),
Positioned(
top: 0, left: 15.w,
child: _buildImgs(),
)
SizedBox(height: 49.h, width: 345.w),
Positioned(top: 11.h, child: _buildTabBar()),
Positioned(top: 0, left: 15.w, child: _buildImgs()),
],
),
),
@@ -76,8 +68,9 @@ class _MainRootState extends State<MainRoot> {
}
Widget _buildImgs() {
return Container(
height: 38.h, width: 345.w,
return SizedBox(
height: 38.h,
width: 345.w,
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: List.generate(_items.length, (index) {