Showing
1 changed file
with
14 additions
and
7 deletions
| ... | @@ -24,19 +24,23 @@ class _SearchPageState extends State<SearchPage> { | ... | @@ -24,19 +24,23 @@ class _SearchPageState extends State<SearchPage> { |
| 24 | width: double.infinity, | 24 | width: double.infinity, |
| 25 | alignment: Alignment.center, | 25 | alignment: Alignment.center, |
| 26 | child: Container( | 26 | child: Container( |
| 27 | - padding: EdgeInsets.symmetric(horizontal: 16.px, vertical: 12.px), | 27 | + padding: EdgeInsets.symmetric( |
| 28 | + horizontal: 16.px, | ||
| 29 | + vertical: 12.px, | ||
| 30 | + ), | ||
| 28 | child: Row( | 31 | child: Row( |
| 29 | children: <Widget>[ | 32 | children: <Widget>[ |
| 30 | Icon( | 33 | Icon( |
| 31 | Icons.fullscreen, | 34 | Icons.fullscreen, |
| 32 | size: 24.px, | 35 | size: 24.px, |
| 36 | + color: Colors.white, | ||
| 33 | ), | 37 | ), |
| 34 | Expanded( | 38 | Expanded( |
| 35 | child: Container( | 39 | child: Container( |
| 36 | height: 32.px, | 40 | height: 32.px, |
| 37 | margin: EdgeInsets.only(right: 20.px, left: 12.px), | 41 | margin: EdgeInsets.only(right: 20.px, left: 12.px), |
| 38 | decoration: BoxDecoration( | 42 | decoration: BoxDecoration( |
| 39 | - color: Colors.white.withOpacity(0.2), | 43 | + color: Colors.white, |
| 40 | borderRadius: BorderRadius.circular(4.px), | 44 | borderRadius: BorderRadius.circular(4.px), |
| 41 | ), | 45 | ), |
| 42 | padding: EdgeInsets.only(left: 12.px), | 46 | padding: EdgeInsets.only(left: 12.px), |
| ... | @@ -49,7 +53,10 @@ class _SearchPageState extends State<SearchPage> { | ... | @@ -49,7 +53,10 @@ class _SearchPageState extends State<SearchPage> { |
| 49 | size: 20.px, | 53 | size: 20.px, |
| 50 | ), | 54 | ), |
| 51 | Container( | 55 | Container( |
| 52 | - padding: EdgeInsets.only(left: 2.px, bottom: 2.px), | 56 | + padding: EdgeInsets.only( |
| 57 | + left: 2.px, | ||
| 58 | + bottom: 2.px, | ||
| 59 | + ), | ||
| 53 | child: const Text( | 60 | child: const Text( |
| 54 | '搜索内容', | 61 | '搜索内容', |
| 55 | style: StandardTextStyle.normal, | 62 | style: StandardTextStyle.normal, |
| ... | @@ -80,7 +87,7 @@ class _SearchPageState extends State<SearchPage> { | ... | @@ -80,7 +87,7 @@ class _SearchPageState extends State<SearchPage> { |
| 80 | opacity: 0.6, | 87 | opacity: 0.6, |
| 81 | child: SizedBox( | 88 | child: SizedBox( |
| 82 | height: 46.px, | 89 | height: 46.px, |
| 83 | - child: Center(child: Text('全部搜索记录')), | 90 | + child: const Center(child: Text('全部搜索记录')), |
| 84 | ), | 91 | ), |
| 85 | ), | 92 | ), |
| 86 | Container( | 93 | Container( |
| ... | @@ -89,7 +96,7 @@ class _SearchPageState extends State<SearchPage> { | ... | @@ -89,7 +96,7 @@ class _SearchPageState extends State<SearchPage> { |
| 89 | aspectRatio: 4.px, | 96 | aspectRatio: 4.px, |
| 90 | child: Container( | 97 | child: Container( |
| 91 | decoration: BoxDecoration( | 98 | decoration: BoxDecoration( |
| 92 | - color: ColorPlate.darkGray, | 99 | + color: Colors.white, |
| 93 | border: Border.all(color: Colors.black), | 100 | border: Border.all(color: Colors.black), |
| 94 | borderRadius: BorderRadius.circular(8.px), | 101 | borderRadius: BorderRadius.circular(8.px), |
| 95 | ), | 102 | ), |
| ... | @@ -97,7 +104,7 @@ class _SearchPageState extends State<SearchPage> { | ... | @@ -97,7 +104,7 @@ class _SearchPageState extends State<SearchPage> { |
| 97 | child: Text( | 104 | child: Text( |
| 98 | '预留轮播图', | 105 | '预留轮播图', |
| 99 | style: TextStyle( | 106 | style: TextStyle( |
| 100 | - color: Colors.white.withOpacity(0.1), | 107 | + color: Colors.black45, |
| 101 | fontSize: 18.px, | 108 | fontSize: 18.px, |
| 102 | fontWeight: FontWeight.w900, | 109 | fontWeight: FontWeight.w900, |
| 103 | ), | 110 | ), |
| ... | @@ -109,7 +116,7 @@ class _SearchPageState extends State<SearchPage> { | ... | @@ -109,7 +116,7 @@ class _SearchPageState extends State<SearchPage> { |
| 109 | ); | 116 | ); |
| 110 | return Scaffold( | 117 | return Scaffold( |
| 111 | body: Container( | 118 | body: Container( |
| 112 | - color: ColorPlate.back1, | 119 | + color: Colors.white, |
| 113 | height: double.infinity, | 120 | height: double.infinity, |
| 114 | width: double.infinity, | 121 | width: double.infinity, |
| 115 | child: Column( | 122 | child: Column( | ... | ... |
-
Please register or login to post a comment