|
|
@@ -10,25 +10,28 @@ class FilesPage extends BasePage<FilesController> {
|
|
|
const FilesPage({super.key});
|
|
|
|
|
|
@override
|
|
|
- Widget? buildBody(BuildContext context) {
|
|
|
+ Widget buildBody(BuildContext context) {
|
|
|
return Scaffold(
|
|
|
+ backgroundColor: const Color.fromRGBO(246, 245, 248, 1),
|
|
|
+ appBar: AppBar(
|
|
|
+ title: const Text('文件夹'),
|
|
|
+ backgroundColor: const Color.fromRGBO(246, 245, 248, 1),
|
|
|
+ scrolledUnderElevation: 0,
|
|
|
+ actions: [
|
|
|
+ IconButton(
|
|
|
+ onPressed: () {},
|
|
|
+ icon: ImageIcon(Assets.images.iconFilesNewDir.provider()),
|
|
|
+ ),
|
|
|
+ IconButton(
|
|
|
+ onPressed: () {},
|
|
|
+ icon: ImageIcon(Assets.images.iconMore.provider()),
|
|
|
+ ),
|
|
|
+ ],
|
|
|
+ ),
|
|
|
body: Column(
|
|
|
children: [
|
|
|
Column(
|
|
|
children: [
|
|
|
- AppBar(
|
|
|
- title: const Text('文件夹'),
|
|
|
- actions: [
|
|
|
- IconButton(
|
|
|
- onPressed: () {},
|
|
|
- icon: ImageIcon(Assets.images.iconFilesNewDir.provider()),
|
|
|
- ),
|
|
|
- IconButton(
|
|
|
- onPressed: () {},
|
|
|
- icon: ImageIcon(Assets.images.iconMore.provider()),
|
|
|
- ),
|
|
|
- ],
|
|
|
- ),
|
|
|
Container(
|
|
|
margin: EdgeInsets.symmetric(horizontal: 12.w),
|
|
|
padding: EdgeInsets.symmetric(horizontal: 10.w, vertical: 8.w),
|
|
|
@@ -40,11 +43,12 @@ class FilesPage extends BasePage<FilesController> {
|
|
|
child: TextField(
|
|
|
maxLines: 1,
|
|
|
textAlignVertical: TextAlignVertical.center,
|
|
|
+ textInputAction: TextInputAction.search,
|
|
|
decoration: InputDecoration(
|
|
|
hintText: '搜索所有文件标题 / 内容',
|
|
|
border: InputBorder.none,
|
|
|
icon: ImageIcon(Assets.images.iconSearch.provider()),
|
|
|
- iconColor: const Color.fromRGBO(95, 95, 97, 1),
|
|
|
+ iconColor: const Color.fromRGBO(95, 95, 97, 1)
|
|
|
),
|
|
|
style: TextStyle(fontSize: 14.sp),
|
|
|
),
|
|
|
@@ -168,15 +172,17 @@ class FilesPage extends BasePage<FilesController> {
|
|
|
Container(
|
|
|
margin: EdgeInsets.only(top: 6.w),
|
|
|
child: Row(
|
|
|
+ crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
children: [
|
|
|
Text("1m12s",
|
|
|
style: TextStyle(
|
|
|
fontSize: 12.sp,
|
|
|
color: ColorName.tertiaryTextColor)),
|
|
|
- Text(" | ",
|
|
|
+ Text(" | ",
|
|
|
style: TextStyle(
|
|
|
fontSize: 12.sp,
|
|
|
- color: ColorName.tertiaryTextColor)),
|
|
|
+ color: ColorName.tertiaryTextColor,
|
|
|
+ fontWeight: FontWeight.bold)),
|
|
|
Text("2021-09-09 12:00:00",
|
|
|
style: TextStyle(
|
|
|
fontSize: 12.sp,
|