Commit e15b78972677878997cbd16ca0a246ff0e597de3

Authored by wdn127929
1 parent c58516d1

我的UI

Showing 1 changed file with 15 additions and 8 deletions
... ... @@ -160,7 +160,7 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
pinned: false,
floating: false,
backgroundColor: MyColours.color_F8F9FD,
expandedHeight: ScreenUtil().setWidth(154 * 2 + 33 * 2 + 72 + 50),
expandedHeight: ScreenUtil().setWidth(154 * 2 + 72 + 60),
flexibleSpace: FlexibleSpaceBar(
collapseMode: CollapseMode.pin,
background: Consumer<UserModel>(builder:
... ... @@ -170,14 +170,14 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
children: [
Container(
width: double.infinity,
height: ScreenUtil().setHeight(154 * 2 + 33 * 2 + 50),
height: ScreenUtil().setWidth(154 * 2 + 23 * 2),
alignment: Alignment.centerLeft,
color: MyColours.color_438E93,
child: Padding(
padding: EdgeInsets.only(
left: ScreenUtil().setWidth(24 * 2),
right: ScreenUtil().setWidth(24 * 2),
top: ScreenUtil().setWidth(60 * 2 + 50),
top: ScreenUtil().setWidth(60 * 2 + 20),
),
child: Row(
crossAxisAlignment: CrossAxisAlignment.start,
... ... @@ -311,6 +311,8 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
? MyColours.color_999999
: MyColours.color_438E93,
radius: ScreenUtil().setWidth(34),
margin: EdgeInsets.only(
top: ScreenUtil().setWidth(20)),
onPressed: () {
if (App.sp.getBool("accountLogin") ??
false) {
... ... @@ -336,11 +338,16 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
decoration: BoxDecoration(
color: MyColours.color_ffffff,
boxShadow: [
// BoxShadow(
// color: Color.fromRGBO(0, 0, 0, 0.4),
// offset: Offset(0, ScreenUtil().setWidth(8)),
// spreadRadius: ScreenUtil().setWidth(2),
// blurRadius: ScreenUtil().setWidth(34))
BoxShadow(
color: Color.fromRGBO(0, 0, 0, 0.4),
color: Color.fromRGBO(0, 0, 0, 0.1),
offset: Offset(0, ScreenUtil().setWidth(8)),
spreadRadius: ScreenUtil().setWidth(2),
blurRadius: ScreenUtil().setWidth(34))
blurRadius: ScreenUtil().setWidth(20),
spreadRadius: ScreenUtil().setWidth(1))
],
borderRadius: BorderRadius.circular(
ScreenUtil().setWidth(14))),
... ... @@ -473,7 +480,7 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
);
}),
),
)
),
];
}, body: Consumer<UserModel>(
builder: (BuildContext context, UserModel model, Widget child) {
... ... @@ -522,7 +529,7 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
// ))
// ],
// ),
// VEmptyView(40),
// VEmptyView(10),
Padding(
padding: EdgeInsets.symmetric(
... ...