|
...
|
...
|
@@ -26,6 +26,7 @@ import 'package:one_key/widgets/v_empty_view.dart'; |
|
|
|
import 'package:provider/provider.dart';
|
|
|
|
|
|
|
|
import '../../app.dart';
|
|
|
|
import '../../utils/screen_util.dart';
|
|
|
|
|
|
|
|
class MyPage extends StatefulWidget {
|
|
|
|
@override
|
|
...
|
...
|
@@ -213,10 +214,10 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { |
|
|
|
padding: EdgeInsets.only(
|
|
|
|
left: ScreenUtil().setWidth(24 * 2),
|
|
|
|
right: ScreenUtil().setWidth(24 * 2),
|
|
|
|
top: ScreenUtil().setWidth(60 * 2 + 20),
|
|
|
|
// top: ScreenUtil().setWidth(60 * 2 + 20),
|
|
|
|
),
|
|
|
|
child: Row(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Stack(clipBehavior: Clip.none, children: [
|
|
|
|
Container(
|
|
...
|
...
|
@@ -270,7 +271,7 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { |
|
|
|
HEmptyView(22),
|
|
|
|
Column(
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
constraints: BoxConstraints(
|
|
...
|
...
|
@@ -281,53 +282,73 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { |
|
|
|
maxLines: 1,
|
|
|
|
overflow: TextOverflow.ellipsis,
|
|
|
|
style: TextStyle(
|
|
|
|
letterSpacing: 0.2,
|
|
|
|
fontWeight: FontWeight.w600,
|
|
|
|
color: MyColours.color_ffffff,
|
|
|
|
fontSize: ScreenUtil().setSp(28)),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
VEmptyView(14),
|
|
|
|
Container(
|
|
|
|
height: ScreenUtil().setWidth(52),
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
left: ScreenUtil().setWidth(8),
|
|
|
|
right: ScreenUtil().setWidth(8),
|
|
|
|
),
|
|
|
|
alignment: Alignment.center,
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
color: MyColours.color_ffffff,
|
|
|
|
borderRadius: BorderRadius.circular(
|
|
|
|
ScreenUtil().setWidth(6))),
|
|
|
|
child: Column(
|
|
|
|
crossAxisAlignment:
|
|
|
|
CrossAxisAlignment.start,
|
|
|
|
mainAxisAlignment:
|
|
|
|
MainAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
ExText(
|
|
|
|
'店铺编号:' +
|
|
|
|
model.user.sellerid
|
|
|
|
.padLeft(6, '0'),
|
|
|
|
TextStyle(
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
color:
|
|
|
|
MyColours.color_515151,
|
|
|
|
fontSize:
|
|
|
|
ScreenUtil().setSp(16)),
|
|
|
|
),
|
|
|
|
ExText(
|
|
|
|
'员工编号:' +
|
|
|
|
model.user.account +
|
|
|
|
" " +
|
|
|
|
model.user.role_name,
|
|
|
|
TextStyle(
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
color:
|
|
|
|
MyColours.color_515151,
|
|
|
|
fontSize:
|
|
|
|
ScreenUtil().setSp(16)),
|
|
|
|
)
|
|
|
|
])),
|
|
|
|
VEmptyView(24),
|
|
|
|
ExText(
|
|
|
|
'店铺编号:' +
|
|
|
|
model.user.sellerid.padLeft(6, '0'),
|
|
|
|
TextStyle(
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
color: MyColours.color_ffffff,
|
|
|
|
fontSize: font(10)),
|
|
|
|
),
|
|
|
|
VEmptyView(10),
|
|
|
|
ExText(
|
|
|
|
'员工编号:' +
|
|
|
|
model.user.account +
|
|
|
|
" " +
|
|
|
|
model.user.role_name,
|
|
|
|
TextStyle(
|
|
|
|
fontWeight: FontWeight.bold,
|
|
|
|
color: MyColours.color_ffffff,
|
|
|
|
fontSize: font(10)),
|
|
|
|
)
|
|
|
|
// Container(
|
|
|
|
// height: ScreenUtil().setWidth(52),
|
|
|
|
// padding: EdgeInsets.only(
|
|
|
|
// left: ScreenUtil().setWidth(8),
|
|
|
|
// right: ScreenUtil().setWidth(8),
|
|
|
|
// ),
|
|
|
|
// alignment: Alignment.center,
|
|
|
|
// decoration: BoxDecoration(
|
|
|
|
// color: MyColours.color_ffffff,
|
|
|
|
// borderRadius: BorderRadius.circular(
|
|
|
|
// ScreenUtil().setWidth(6))),
|
|
|
|
// child: Column(
|
|
|
|
// crossAxisAlignment:
|
|
|
|
// CrossAxisAlignment.start,
|
|
|
|
// mainAxisAlignment:
|
|
|
|
// MainAxisAlignment.center,
|
|
|
|
// children: [
|
|
|
|
// ExText(
|
|
|
|
// '店铺编号:' +
|
|
|
|
// model.user.sellerid
|
|
|
|
// .padLeft(6, '0'),
|
|
|
|
// TextStyle(
|
|
|
|
// fontWeight: FontWeight.bold,
|
|
|
|
// color:
|
|
|
|
// MyColours.color_515151,
|
|
|
|
// fontSize:
|
|
|
|
// ScreenUtil().setSp(16)),
|
|
|
|
// ),
|
|
|
|
// ExText(
|
|
|
|
// '员工编号:' +
|
|
|
|
// model.user.account +
|
|
|
|
// " " +
|
|
|
|
// model.user.role_name,
|
|
|
|
// TextStyle(
|
|
|
|
// fontWeight: FontWeight.bold,
|
|
|
|
// color:
|
|
|
|
// MyColours.color_515151,
|
|
|
|
// fontSize:
|
|
|
|
// ScreenUtil().setSp(16)),
|
|
|
|
// )
|
|
|
|
// ])),
|
|
|
|
// VEmptyView(20),
|
|
|
|
// InkWell(
|
|
|
|
// onTap: () {
|
...
|
...
|
|