Commit 9586e90595812c94ee4706b6e51193e8d1e1c63d

Authored by wdn127929
1 parent 8fc69a6d

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

@@ -288,7 +288,7 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { @@ -288,7 +288,7 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
288 ), 288 ),
289 VEmptyView(14), 289 VEmptyView(14),
290 Container( 290 Container(
291 - height: ScreenUtil().setWidth(30), 291 + height: ScreenUtil().setWidth(52),
292 padding: EdgeInsets.only( 292 padding: EdgeInsets.only(
293 left: ScreenUtil().setWidth(8), 293 left: ScreenUtil().setWidth(8),
294 right: ScreenUtil().setWidth(8), 294 right: ScreenUtil().setWidth(8),
@@ -298,16 +298,36 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver { @@ -298,16 +298,36 @@ class MyPageState extends State<MyPage> with WidgetsBindingObserver {
298 color: MyColours.color_ffffff, 298 color: MyColours.color_ffffff,
299 borderRadius: BorderRadius.circular( 299 borderRadius: BorderRadius.circular(
300 ScreenUtil().setWidth(6))), 300 ScreenUtil().setWidth(6))),
301 - child: Center(  
302 - child: ExText(  
303 - model.user.account +  
304 - " " +  
305 - model.user.role_name,  
306 - TextStyle(  
307 - fontWeight: FontWeight.bold,  
308 - color: MyColours.color_515151,  
309 - fontSize: ScreenUtil().setSp(16)),  
310 - ))), 301 + child: Column(
  302 + crossAxisAlignment:
  303 + CrossAxisAlignment.start,
  304 + mainAxisAlignment:
  305 + MainAxisAlignment.center,
  306 + children: [
  307 + ExText(
  308 + '店铺编号:' +
  309 + model.user.sellerid
  310 + .padLeft(6, '0'),
  311 + TextStyle(
  312 + fontWeight: FontWeight.bold,
  313 + color:
  314 + MyColours.color_515151,
  315 + fontSize:
  316 + ScreenUtil().setSp(16)),
  317 + ),
  318 + ExText(
  319 + '员工编号:' +
  320 + model.user.account +
  321 + " " +
  322 + model.user.role_name,
  323 + TextStyle(
  324 + fontWeight: FontWeight.bold,
  325 + color:
  326 + MyColours.color_515151,
  327 + fontSize:
  328 + ScreenUtil().setSp(16)),
  329 + )
  330 + ])),
311 // VEmptyView(20), 331 // VEmptyView(20),
312 // InkWell( 332 // InkWell(
313 // onTap: () { 333 // onTap: () {
@@ -1137,6 +1137,11 @@ class Utils { @@ -1137,6 +1137,11 @@ class Utils {
1137 return numValue < 10 ? "0" + numValue.toString() : numValue.toString(); 1137 return numValue < 10 ? "0" + numValue.toString() : numValue.toString();
1138 } 1138 }
1139 1139
  1140 + //给数字前面加0
  1141 + // static String addZeroNumberSeller(String numValue) {
  1142 + // return numValue.length < 7 ? "0" + numValue : numValue;
  1143 + // }
  1144 +
1140 //转换日期数字 1145 //转换日期数字
1141 static String formatWeekDayNum(int numValue) { 1146 static String formatWeekDayNum(int numValue) {
1142 switch (numValue) { 1147 switch (numValue) {