Commit 9586e90595812c94ee4706b6e51193e8d1e1c63d

Authored by wdn127929
1 parent 8fc69a6d

店铺编号---我的页面 OK

... ... @@ -288,7 +288,7 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
),
VEmptyView(14),
Container(
height: ScreenUtil().setWidth(30),
height: ScreenUtil().setWidth(52),
padding: EdgeInsets.only(
left: ScreenUtil().setWidth(8),
right: ScreenUtil().setWidth(8),
... ... @@ -298,16 +298,36 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
color: MyColours.color_ffffff,
borderRadius: BorderRadius.circular(
ScreenUtil().setWidth(6))),
child: Center(
child: ExText(
model.user.account +
" " +
model.user.role_name,
TextStyle(
fontWeight: FontWeight.bold,
color: MyColours.color_515151,
fontSize: ScreenUtil().setSp(16)),
))),
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: () {
... ...
... ... @@ -1137,6 +1137,11 @@ class Utils {
return numValue < 10 ? "0" + numValue.toString() : numValue.toString();
}
//给数字前面加0
// static String addZeroNumberSeller(String numValue) {
// return numValue.length < 7 ? "0" + numValue : numValue;
// }
//转换日期数字
static String formatWeekDayNum(int numValue) {
switch (numValue) {
... ...