首页ui
This commit is contained in:
parent
725d105db1
commit
b579588881
@ -55,7 +55,14 @@ class HomePageView extends GetView <HomePageController> {
|
|||||||
fit: BoxFit.cover,
|
fit: BoxFit.cover,
|
||||||
),
|
),
|
||||||
|
|
||||||
Align(
|
|
||||||
|
Material(
|
||||||
|
color: Colors.transparent,
|
||||||
|
child: InkWell(
|
||||||
|
onTap: () {
|
||||||
|
print("dsfadf");
|
||||||
|
},
|
||||||
|
child: Align(
|
||||||
alignment: Alignment.bottomCenter,
|
alignment: Alignment.bottomCenter,
|
||||||
child: Container(
|
child: Container(
|
||||||
color: Colors.black.withAlpha(160),
|
color: Colors.black.withAlpha(160),
|
||||||
@ -73,6 +80,9 @@ class HomePageView extends GetView <HomePageController> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
|
||||||
|
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
@ -83,7 +93,7 @@ class HomePageView extends GetView <HomePageController> {
|
|||||||
//初始化顶部数据
|
//初始化顶部数据
|
||||||
SizedBox getHeaderWidget(BuildContext context){
|
SizedBox getHeaderWidget(BuildContext context){
|
||||||
final size = MediaQuery.of(context).size;
|
final size = MediaQuery.of(context).size;
|
||||||
final cw = 80.0;
|
const cw = 80.0;
|
||||||
|
|
||||||
return SizedBox(
|
return SizedBox(
|
||||||
width: size.width,
|
width: size.width,
|
||||||
@ -123,10 +133,10 @@ class HomePageView extends GetView <HomePageController> {
|
|||||||
// border: Border.all(color: Colors.black12, width: 0.5),
|
// border: Border.all(color: Colors.black12, width: 0.5),
|
||||||
// borderRadius: BorderRadius.all(Radius.circular(5.0))),
|
// borderRadius: BorderRadius.all(Radius.circular(5.0))),
|
||||||
color:Colors.red,
|
color:Colors.red,
|
||||||
padding: EdgeInsets.all(5.0),
|
padding: const EdgeInsets.all(5.0),
|
||||||
// margin: EdgeInsets.fromLTRB(3.0, 0.0, 3.0, 0.0),
|
// margin: EdgeInsets.fromLTRB(3.0, 0.0, 3.0, 0.0),
|
||||||
child: ConstrainedBox(
|
child: ConstrainedBox(
|
||||||
constraints: BoxConstraints(maxWidth: 100.0,),
|
constraints: const BoxConstraints(maxWidth: 100.0,),
|
||||||
child: Text(
|
child: Text(
|
||||||
title,
|
title,
|
||||||
softWrap: true,
|
softWrap: true,
|
||||||
@ -135,3 +145,6 @@ class HomePageView extends GetView <HomePageController> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user