|
...
|
...
|
@@ -97,6 +97,8 @@ class _StoreCustomerHomeLeftPageState extends State<StoreCustomerHomeLeftPage> { |
|
|
|
};
|
|
|
|
await widget.customerProvider
|
|
|
|
.getSellerCountsList(context, params, isShowLoading: isShowLoading);
|
|
|
|
widget.customerProvider.pageStateStoreHome = PageState.Success;
|
|
|
|
setState(() {});
|
|
|
|
if ((widget.customerProvider.homeStatisticsList == null ||
|
|
|
|
widget.customerProvider.homeStatisticsList.length == 0) &&
|
|
|
|
callback != null) {
|
|
...
|
...
|
@@ -121,6 +123,7 @@ class _StoreCustomerHomeLeftPageState extends State<StoreCustomerHomeLeftPage> { |
|
|
|
index = '3';
|
|
|
|
}
|
|
|
|
NavigatorUtil.goCustomerListPage(context, FromPage.FromPageHome, uid,
|
|
|
|
{'object': widget.customerProvider.storeSunmodel.sellerUser},
|
|
|
|
index: index);
|
|
|
|
},
|
|
|
|
child: Container(
|
|
...
|
...
|
@@ -165,7 +168,13 @@ class _StoreCustomerHomeLeftPageState extends State<StoreCustomerHomeLeftPage> { |
|
|
|
index = '3';
|
|
|
|
}
|
|
|
|
NavigatorUtil.goCustomerListPage(
|
|
|
|
context, FromPage.FromPageHome, uid,
|
|
|
|
context,
|
|
|
|
FromPage.FromPageHome,
|
|
|
|
uid,
|
|
|
|
{
|
|
|
|
'object':
|
|
|
|
widget.customerProvider.storeSunmodel.sellerUser
|
|
|
|
},
|
|
|
|
index: index);
|
|
|
|
},
|
|
|
|
text: btnTitle,
|
|
...
|
...
|
@@ -414,6 +423,7 @@ class _StoreCustomerHomeLeftPageState extends State<StoreCustomerHomeLeftPage> { |
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
Widget _monthWidget() {
|
|
|
|
return Container(
|
|
|
|
margin: EdgeInsets.symmetric(horizontal: w(10)),
|
|
...
|
...
|
@@ -724,6 +734,7 @@ class _StoreCustomerHomeLeftPageState extends State<StoreCustomerHomeLeftPage> { |
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|
|
|
|
*/
|
|
|
|
|
|
|
|
Widget _managerWidget(
|
|
|
|
String pnum, String btnTitle, String percent, String detailStr,
|
|
...
|
...
|
@@ -937,6 +948,7 @@ class _StoreCustomerHomeLeftPageState extends State<StoreCustomerHomeLeftPage> { |
|
|
|
callback: () {
|
|
|
|
// getTableList();
|
|
|
|
_getSellerGuestManage();
|
|
|
|
_getSellerCountsList();
|
|
|
|
},
|
|
|
|
emptyMsg: "暂时没有全店客情哦",
|
|
|
|
emptyImg: "empty_search",
|
|
...
|
...
|
@@ -949,147 +961,174 @@ class _StoreCustomerHomeLeftPageState extends State<StoreCustomerHomeLeftPage> { |
|
|
|
controller: _controller,
|
|
|
|
child: Column(
|
|
|
|
children: [
|
|
|
|
VEmptyView(10),
|
|
|
|
// Stack(
|
|
|
|
// children: [
|
|
|
|
InkWell(
|
|
|
|
onTap: () {
|
|
|
|
NavigatorUtil.goCustomerListPage(
|
|
|
|
context, FromPage.FromPageHome, '');
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
height: w(80),
|
|
|
|
color: MyColours.color_ffffff,
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
if (widget.customerProvider.storeSunmodel != null)
|
|
|
|
Column(
|
|
|
|
children: [
|
|
|
|
VEmptyView(10),
|
|
|
|
// Stack(
|
|
|
|
// children: [
|
|
|
|
InkWell(
|
|
|
|
onTap: () {
|
|
|
|
NavigatorUtil.goCustomerListPage(
|
|
|
|
context,
|
|
|
|
FromPage.FromPageHome,
|
|
|
|
'',
|
|
|
|
{
|
|
|
|
'object': widget
|
|
|
|
.customerProvider.storeSunmodel.sellerUser
|
|
|
|
},
|
|
|
|
);
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
height: w(80),
|
|
|
|
color: MyColours.color_ffffff,
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
'${widget.customerProvider.storeSunmodel.myCustomer}',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_438E93,
|
|
|
|
fontSize: ScreenUtil().setSp(64),
|
|
|
|
fontWeight: FontWeight.bold),
|
|
|
|
),
|
|
|
|
Text(
|
|
|
|
'位',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
// fontWeight: FontWeight.bold,
|
|
|
|
fontSize: ScreenUtil().setSp(32)),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
// Positioned(
|
|
|
|
// top: ScreenUtil().setWidth(30),
|
|
|
|
// right: ScreenUtil().setWidth(40),
|
|
|
|
// child: InkWell(
|
|
|
|
// onTap: () {
|
|
|
|
// NavigatorUtil.goCustomerSetPage(context);
|
|
|
|
// },
|
|
|
|
// child: Image.asset(Utils.getImgPath('c_set'),
|
|
|
|
// width: ScreenUtil().setWidth(40))))
|
|
|
|
// ],
|
|
|
|
// ),
|
|
|
|
VEmptyView(10),
|
|
|
|
Row(
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
'${widget.customerProvider.storeSunmodel.myCustomer}',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_438E93,
|
|
|
|
fontSize: ScreenUtil().setSp(64),
|
|
|
|
fontWeight: FontWeight.bold),
|
|
|
|
),
|
|
|
|
Text(
|
|
|
|
'位',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
// fontWeight: FontWeight.bold,
|
|
|
|
fontSize: ScreenUtil().setSp(32)),
|
|
|
|
)
|
|
|
|
_percentWidget(
|
|
|
|
'${widget.customerProvider.storeSunmodel.active.count}',
|
|
|
|
'活跃',
|
|
|
|
'${widget.customerProvider.storeSunmodel.active.scale}'),
|
|
|
|
HEmptyView(10),
|
|
|
|
_percentWidget(
|
|
|
|
'${widget.customerProvider.storeSunmodel.sleep.count}',
|
|
|
|
'60天未到店',
|
|
|
|
'${widget.customerProvider.storeSunmodel.sleep.scale}'),
|
|
|
|
HEmptyView(10),
|
|
|
|
_percentWidget(
|
|
|
|
'${widget.customerProvider.storeSunmodel.drain.count}',
|
|
|
|
'120天未到店',
|
|
|
|
'${widget.customerProvider.storeSunmodel.drain.scale}'),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
// Positioned(
|
|
|
|
// top: ScreenUtil().setWidth(30),
|
|
|
|
// right: ScreenUtil().setWidth(40),
|
|
|
|
// child: InkWell(
|
|
|
|
// onTap: () {
|
|
|
|
// NavigatorUtil.goCustomerSetPage(context);
|
|
|
|
// },
|
|
|
|
// child: Image.asset(Utils.getImgPath('c_set'),
|
|
|
|
// width: ScreenUtil().setWidth(40))))
|
|
|
|
// ],
|
|
|
|
// ),
|
|
|
|
VEmptyView(10),
|
|
|
|
Row(
|
|
|
|
children: [
|
|
|
|
_percentWidget(
|
|
|
|
'${widget.customerProvider.storeSunmodel.active.count}',
|
|
|
|
'活跃',
|
|
|
|
'${widget.customerProvider.storeSunmodel.active.scale}'),
|
|
|
|
HEmptyView(10),
|
|
|
|
_percentWidget(
|
|
|
|
'${widget.customerProvider.storeSunmodel.sleep.count}',
|
|
|
|
'60天未到店',
|
|
|
|
'${widget.customerProvider.storeSunmodel.sleep.scale}'),
|
|
|
|
HEmptyView(10),
|
|
|
|
_percentWidget(
|
|
|
|
'${widget.customerProvider.storeSunmodel.drain.count}',
|
|
|
|
'120天未到店',
|
|
|
|
'${widget.customerProvider.storeSunmodel.drain.scale}'),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
// GridView.builder(
|
|
|
|
// controller: _controller,
|
|
|
|
// shrinkWrap: true,
|
|
|
|
// cacheExtent: ScreenUtil().setWidth(0),
|
|
|
|
// itemCount: 3,
|
|
|
|
// gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
|
|
|
|
// crossAxisCount: 3,
|
|
|
|
// childAspectRatio: 1,
|
|
|
|
// mainAxisSpacing: ScreenUtil().setWidth(10),
|
|
|
|
// crossAxisSpacing: ScreenUtil().setWidth(10)),
|
|
|
|
// itemBuilder: (BuildContext context, int index) {
|
|
|
|
// // locationState = state;
|
|
|
|
// return _percentWidget('1999', '活跃客户', '39.20');
|
|
|
|
// }),
|
|
|
|
// Row(
|
|
|
|
// children: [
|
|
|
|
// _percentWidget('19992', '活跃客户', '90.90'),
|
|
|
|
// HEmptyView(10),
|
|
|
|
// _percentWidget('19992', '沉睡客户', '90.90'),
|
|
|
|
// HEmptyView(10),
|
|
|
|
// _percentWidget('19992', '流失客户', '5.90'),
|
|
|
|
// ],
|
|
|
|
// ),
|
|
|
|
// Padding(
|
|
|
|
// padding: EdgeInsets.symmetric(
|
|
|
|
// vertical: ScreenUtil().setWidth(30)),
|
|
|
|
// child: Text(
|
|
|
|
// '客户经理',
|
|
|
|
// style: TextStyle(
|
|
|
|
// fontSize: ScreenUtil().setSp(28),
|
|
|
|
// color: MyColours.color_333333),
|
|
|
|
// ),
|
|
|
|
// ),
|
|
|
|
VEmptyView(10),
|
|
|
|
GridView.builder(
|
|
|
|
controller: _controller,
|
|
|
|
shrinkWrap: true,
|
|
|
|
cacheExtent: ScreenUtil().setWidth(0),
|
|
|
|
itemCount: widget.customerProvider.storeSunmodel
|
|
|
|
.sellerUser.length +
|
|
|
|
1,
|
|
|
|
gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
|
|
|
|
crossAxisCount: 3,
|
|
|
|
childAspectRatio: 1.05,
|
|
|
|
mainAxisSpacing: ScreenUtil().setWidth(10),
|
|
|
|
crossAxisSpacing: ScreenUtil().setWidth(10)),
|
|
|
|
itemBuilder: (BuildContext context, int index) {
|
|
|
|
// locationState = state;
|
|
|
|
if (index == 0) {
|
|
|
|
return _managerWidget(
|
|
|
|
'${widget.customerProvider.storeSunmodel.distribution}',
|
|
|
|
'未分配经理',
|
|
|
|
null,
|
|
|
|
'${widget.customerProvider.storeSunmodel.distributionStr}',
|
|
|
|
onTap: () {
|
|
|
|
NavigatorUtil.goCustomerListPage(
|
|
|
|
context, FromPage.FromPageHome, '',
|
|
|
|
index: '0', distribution: true);
|
|
|
|
});
|
|
|
|
}
|
|
|
|
// GridView.builder(
|
|
|
|
// controller: _controller,
|
|
|
|
// shrinkWrap: true,
|
|
|
|
// cacheExtent: ScreenUtil().setWidth(0),
|
|
|
|
// itemCount: 3,
|
|
|
|
// gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
|
|
|
|
// crossAxisCount: 3,
|
|
|
|
// childAspectRatio: 1,
|
|
|
|
// mainAxisSpacing: ScreenUtil().setWidth(10),
|
|
|
|
// crossAxisSpacing: ScreenUtil().setWidth(10)),
|
|
|
|
// itemBuilder: (BuildContext context, int index) {
|
|
|
|
// // locationState = state;
|
|
|
|
// return _percentWidget('1999', '活跃客户', '39.20');
|
|
|
|
// }),
|
|
|
|
// Row(
|
|
|
|
// children: [
|
|
|
|
// _percentWidget('19992', '活跃客户', '90.90'),
|
|
|
|
// HEmptyView(10),
|
|
|
|
// _percentWidget('19992', '沉睡客户', '90.90'),
|
|
|
|
// HEmptyView(10),
|
|
|
|
// _percentWidget('19992', '流失客户', '5.90'),
|
|
|
|
// ],
|
|
|
|
// ),
|
|
|
|
// Padding(
|
|
|
|
// padding: EdgeInsets.symmetric(
|
|
|
|
// vertical: ScreenUtil().setWidth(30)),
|
|
|
|
// child: Text(
|
|
|
|
// '客户经理',
|
|
|
|
// style: TextStyle(
|
|
|
|
// fontSize: ScreenUtil().setSp(28),
|
|
|
|
// color: MyColours.color_333333),
|
|
|
|
// ),
|
|
|
|
// ),
|
|
|
|
VEmptyView(10),
|
|
|
|
GridView.builder(
|
|
|
|
controller: _controller,
|
|
|
|
shrinkWrap: true,
|
|
|
|
cacheExtent: ScreenUtil().setWidth(0),
|
|
|
|
itemCount: widget.customerProvider.storeSunmodel
|
|
|
|
.sellerUser.length +
|
|
|
|
1,
|
|
|
|
gridDelegate:
|
|
|
|
SliverGridDelegateWithFixedCrossAxisCount(
|
|
|
|
crossAxisCount: 3,
|
|
|
|
childAspectRatio: 1.05,
|
|
|
|
mainAxisSpacing: ScreenUtil().setWidth(10),
|
|
|
|
crossAxisSpacing:
|
|
|
|
ScreenUtil().setWidth(10)),
|
|
|
|
itemBuilder: (BuildContext context, int index) {
|
|
|
|
// locationState = state;
|
|
|
|
if (index == 0) {
|
|
|
|
return _managerWidget(
|
|
|
|
'${widget.customerProvider.storeSunmodel.distribution}',
|
|
|
|
'未分配经理',
|
|
|
|
null,
|
|
|
|
'${widget.customerProvider.storeSunmodel.distributionStr}',
|
|
|
|
onTap: () {
|
|
|
|
NavigatorUtil.goCustomerListPage(
|
|
|
|
context,
|
|
|
|
FromPage.FromPageHome,
|
|
|
|
'',
|
|
|
|
{
|
|
|
|
'object': widget.customerProvider
|
|
|
|
.storeSunmodel.sellerUser
|
|
|
|
},
|
|
|
|
index: '0',
|
|
|
|
distribution: true);
|
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
return _managerWidget(
|
|
|
|
'${widget.customerProvider.storeSunmodel.sellerUser[index - 1].count}',
|
|
|
|
widget.customerProvider.storeSunmodel
|
|
|
|
.sellerUser[index - 1].account ==
|
|
|
|
null
|
|
|
|
? ''
|
|
|
|
: '${widget.customerProvider.storeSunmodel.sellerUser[index - 1].nickName ?? widget.customerProvider.storeSunmodel.sellerUser[index - 1].account}',
|
|
|
|
null,
|
|
|
|
'${widget.customerProvider.storeSunmodel.sellerUser[index - 1].detailStr}',
|
|
|
|
uid: widget.customerProvider.storeSunmodel
|
|
|
|
.sellerUser[index - 1].uid, onTap: () {
|
|
|
|
NavigatorUtil.goCustomerListPage(
|
|
|
|
context,
|
|
|
|
FromPage.FromPageHome,
|
|
|
|
widget.customerProvider.storeSunmodel
|
|
|
|
.sellerUser[index - 1].uid,
|
|
|
|
{
|
|
|
|
'object': widget.customerProvider
|
|
|
|
.storeSunmodel.sellerUser
|
|
|
|
},
|
|
|
|
index: '0',
|
|
|
|
);
|
|
|
|
});
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
|
|
|
|
return _managerWidget(
|
|
|
|
'${widget.customerProvider.storeSunmodel.sellerUser[index - 1].count}',
|
|
|
|
widget.customerProvider.storeSunmodel
|
|
|
|
.sellerUser[index - 1].account ==
|
|
|
|
null
|
|
|
|
? ''
|
|
|
|
: '${widget.customerProvider.storeSunmodel.sellerUser[index - 1].nickName ?? widget.customerProvider.storeSunmodel.sellerUser[index - 1].account}',
|
|
|
|
null,
|
|
|
|
'${widget.customerProvider.storeSunmodel.sellerUser[index - 1].detailStr}',
|
|
|
|
uid: widget.customerProvider.storeSunmodel
|
|
|
|
.sellerUser[index - 1].uid, onTap: () {
|
|
|
|
NavigatorUtil.goCustomerListPage(
|
|
|
|
context,
|
|
|
|
FromPage.FromPageHome,
|
|
|
|
widget.customerProvider.storeSunmodel
|
|
|
|
.sellerUser[index - 1].uid,
|
|
|
|
index: '0');
|
|
|
|
});
|
|
|
|
}),
|
|
|
|
VEmptyView(10),
|
|
|
|
// ListView.builder(
|
|
|
|
// shrinkWrap: true,
|
|
...
|
...
|
@@ -1131,28 +1170,37 @@ class _StoreCustomerHomeLeftPageState extends State<StoreCustomerHomeLeftPage> { |
|
|
|
// ),
|
|
|
|
// );
|
|
|
|
// }),
|
|
|
|
_chart(),
|
|
|
|
// _monthWidget(),
|
|
|
|
|
|
|
|
ListView.builder(
|
|
|
|
itemCount:
|
|
|
|
widget.customerProvider.homeStatisticsList.length,
|
|
|
|
shrinkWrap: true,
|
|
|
|
controller: _controller,
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: w(10)),
|
|
|
|
itemBuilder: (context, index) {
|
|
|
|
SellerCountsListSunModel countsListSunModel =
|
|
|
|
widget.customerProvider.homeStatisticsList[index];
|
|
|
|
return InkWell(
|
|
|
|
onTap: () {
|
|
|
|
NavigatorUtil.goMonthOrderPage(
|
|
|
|
context,
|
|
|
|
year.toString(),
|
|
|
|
countsListSunModel.monthss.toString());
|
|
|
|
},
|
|
|
|
child: MonthItem(
|
|
|
|
countsListSunModel: countsListSunModel));
|
|
|
|
}),
|
|
|
|
if (widget.customerProvider.homeStatisticsList != null &&
|
|
|
|
widget.customerProvider.homeStatisticsList.length > 0)
|
|
|
|
Column(
|
|
|
|
children: [
|
|
|
|
_chart(),
|
|
|
|
// _monthWidget(),
|
|
|
|
|
|
|
|
ListView.builder(
|
|
|
|
itemCount: widget
|
|
|
|
.customerProvider.homeStatisticsList.length,
|
|
|
|
shrinkWrap: true,
|
|
|
|
controller: _controller,
|
|
|
|
padding: EdgeInsets.symmetric(horizontal: w(10)),
|
|
|
|
itemBuilder: (context, index) {
|
|
|
|
SellerCountsListSunModel countsListSunModel =
|
|
|
|
widget.customerProvider
|
|
|
|
.homeStatisticsList[index];
|
|
|
|
return InkWell(
|
|
|
|
onTap: () {
|
|
|
|
NavigatorUtil.goMonthOrderPage(
|
|
|
|
context,
|
|
|
|
year.toString(),
|
|
|
|
countsListSunModel.monthss.toString());
|
|
|
|
},
|
|
|
|
child: MonthItem(
|
|
|
|
countsListSunModel: countsListSunModel));
|
|
|
|
}),
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
/**
|
|
|
|
ListView.builder(
|
|
|
|
itemCount: 10,
|
|
...
|
...
|
@@ -1525,44 +1573,48 @@ class _StoreCustomerHomeLeftPageState extends State<StoreCustomerHomeLeftPage> { |
|
|
|
],
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
Container(
|
|
|
|
color: MyColours.color_FAFAFA,
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
top: w(13), bottom: w(26), left: w(45), right: (45)),
|
|
|
|
child: Stack(
|
|
|
|
children: [
|
|
|
|
RoundButton(
|
|
|
|
onPressed: () {
|
|
|
|
NavigatorUtil.goMarketingRecordsPage(
|
|
|
|
context, FromPage.FromPageStoreCustomer);
|
|
|
|
},
|
|
|
|
text: '历史营销记录',
|
|
|
|
fontSize: 32,
|
|
|
|
isBold: true,
|
|
|
|
// margin: EdgeInsets.only(
|
|
|
|
// top: w(13),
|
|
|
|
// bottom: w(26),
|
|
|
|
// left: w(45),
|
|
|
|
// right: (45)),
|
|
|
|
textColor: MyColours.color_F8F9FD,
|
|
|
|
gradientStart: MyColours.color_199095,
|
|
|
|
gradientEnd: MyColours.color_199095,
|
|
|
|
borderColor: MyColours.color_199095,
|
|
|
|
height: ScreenUtil().setWidth(86),
|
|
|
|
// width: ScreenUtil().setWidth(260),
|
|
|
|
radius: ScreenUtil().setWidth(10),
|
|
|
|
),
|
|
|
|
showWarning
|
|
|
|
? Positioned(
|
|
|
|
right: ScreenUtil().setWidth(30),
|
|
|
|
top: ScreenUtil().setWidth(45 / 2),
|
|
|
|
child: Image.asset(
|
|
|
|
Utils.getImgPath('warning'),
|
|
|
|
width: ScreenUtil().setWidth(35),
|
|
|
|
))
|
|
|
|
: SizedBox()
|
|
|
|
],
|
|
|
|
))
|
|
|
|
if (widget.customerProvider.storeSunmodel != null)
|
|
|
|
Container(
|
|
|
|
color: MyColours.color_FAFAFA,
|
|
|
|
padding: EdgeInsets.only(
|
|
|
|
top: w(13), bottom: w(26), left: w(45), right: (45)),
|
|
|
|
child: Stack(
|
|
|
|
children: [
|
|
|
|
RoundButton(
|
|
|
|
onPressed: () {
|
|
|
|
NavigatorUtil.goMarketingRecordsPage(
|
|
|
|
context, FromPage.FromPageStoreCustomer, {
|
|
|
|
'object':
|
|
|
|
widget.customerProvider.storeSunmodel.sellerUser
|
|
|
|
});
|
|
|
|
},
|
|
|
|
text: '历史营销记录',
|
|
|
|
fontSize: 32,
|
|
|
|
isBold: true,
|
|
|
|
// margin: EdgeInsets.only(
|
|
|
|
// top: w(13),
|
|
|
|
// bottom: w(26),
|
|
|
|
// left: w(45),
|
|
|
|
// right: (45)),
|
|
|
|
textColor: MyColours.color_F8F9FD,
|
|
|
|
gradientStart: MyColours.color_199095,
|
|
|
|
gradientEnd: MyColours.color_199095,
|
|
|
|
borderColor: MyColours.color_199095,
|
|
|
|
height: ScreenUtil().setWidth(86),
|
|
|
|
// width: ScreenUtil().setWidth(260),
|
|
|
|
radius: ScreenUtil().setWidth(10),
|
|
|
|
),
|
|
|
|
showWarning
|
|
|
|
? Positioned(
|
|
|
|
right: ScreenUtil().setWidth(30),
|
|
|
|
top: ScreenUtil().setWidth(45 / 2),
|
|
|
|
child: Image.asset(
|
|
|
|
Utils.getImgPath('warning'),
|
|
|
|
width: ScreenUtil().setWidth(35),
|
|
|
|
))
|
|
|
|
: SizedBox()
|
|
|
|
],
|
|
|
|
))
|
|
|
|
]);
|
|
|
|
}
|
|
|
|
})),
|
...
|
...
|
|