|
...
|
...
|
@@ -273,102 +273,102 @@ class _CustomerSettingPageState extends State<CustomerSettingPage> { |
|
|
|
spacing: ScreenUtil().setWidth(20),
|
|
|
|
runSpacing: ScreenUtil().setWidth(10),
|
|
|
|
children: _buildLabelItem(customerProvider.labelList)),
|
|
|
|
VEmptyView(34),
|
|
|
|
MyDivider(
|
|
|
|
double.infinity,
|
|
|
|
w(1),
|
|
|
|
color: MyColours.color_DBDBDB,
|
|
|
|
),
|
|
|
|
VEmptyView(52),
|
|
|
|
InkWell(
|
|
|
|
onTap: () {
|
|
|
|
setState(() {
|
|
|
|
swichSync = !swichSync;
|
|
|
|
});
|
|
|
|
// _sellerGuestSet();
|
|
|
|
},
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Text('是否与会员系统同步',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
fontSize: ScreenUtil().setSp(32))),
|
|
|
|
Image.asset(
|
|
|
|
swichSync
|
|
|
|
? Utils.getImgPath('f_swich_on')
|
|
|
|
: Utils.getImgPath('f_swich_off'),
|
|
|
|
width: ScreenUtil().setWidth(70),
|
|
|
|
// height: ScreenUtil().setWidth(82),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
VEmptyView(48),
|
|
|
|
InkWell(
|
|
|
|
onTap: () {
|
|
|
|
FocusScope.of(context).requestFocus(FocusNode()); //隐藏键盘
|
|
|
|
// DialogUtil.showSelectCusmanDialog(context, memberList,
|
|
|
|
// (value) {
|
|
|
|
// if (value != null) {
|
|
|
|
// setState(() {
|
|
|
|
// memberIndex = value.first;
|
|
|
|
// memberShow = memberList[memberIndex];
|
|
|
|
// });
|
|
|
|
// }
|
|
|
|
// }, selecteds: memberIndex == null ? [] : [memberIndex])
|
|
|
|
// .then((value) {});
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
// height: ScreenUtil().setWidth(60),
|
|
|
|
padding: EdgeInsets.only(bottom: ScreenUtil().setWidth(50)),
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
// color: Colors.red,
|
|
|
|
width: ScreenUtil().setWidth(150),
|
|
|
|
height: ScreenUtil().setWidth(35),
|
|
|
|
child: Text(
|
|
|
|
'会员系统选择',
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: ScreenUtil().setSp(32),
|
|
|
|
color: MyColours.color_515151),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Expanded(
|
|
|
|
child: Text(
|
|
|
|
memberShow,
|
|
|
|
overflow: TextOverflow.ellipsis,
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_353535,
|
|
|
|
fontSize: ScreenUtil().setSp(28),
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
HEmptyView(10),
|
|
|
|
Image.asset(
|
|
|
|
Utils.getImgPath(
|
|
|
|
showLabel ? 'c_arrow_up' : 'c_arrow_down'),
|
|
|
|
width: ScreenUtil().setWidth(24),
|
|
|
|
// height: ScreenUtil().setWidth(10),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
_itemWidget('企业代码或账号', "点击这里输入企业代码或账号", null, null),
|
|
|
|
VEmptyView(50),
|
|
|
|
_itemWidget('管理员账号', "点击这里输入管理员账号", null, null),
|
|
|
|
VEmptyView(50),
|
|
|
|
_itemWidget('密码', "点击这里输入管理员密码", null, null),
|
|
|
|
VEmptyView(40),
|
|
|
|
Center(
|
|
|
|
child: Text(
|
|
|
|
'请与纳极客服400-000-9690 联系对接事宜',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_999999, fontSize: font(12)),
|
|
|
|
))
|
|
|
|
// VEmptyView(34),
|
|
|
|
// MyDivider(
|
|
|
|
// double.infinity,
|
|
|
|
// w(1),
|
|
|
|
// color: MyColours.color_DBDBDB,
|
|
|
|
// ),
|
|
|
|
// VEmptyView(52),
|
|
|
|
// InkWell(
|
|
|
|
// onTap: () {
|
|
|
|
// setState(() {
|
|
|
|
// swichSync = !swichSync;
|
|
|
|
// });
|
|
|
|
// // _sellerGuestSet();
|
|
|
|
// },
|
|
|
|
// child: Row(
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
// crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
// children: [
|
|
|
|
// Text('是否与会员系统同步',
|
|
|
|
// style: TextStyle(
|
|
|
|
// color: MyColours.color_515151,
|
|
|
|
// fontSize: ScreenUtil().setSp(32))),
|
|
|
|
// Image.asset(
|
|
|
|
// swichSync
|
|
|
|
// ? Utils.getImgPath('f_swich_on')
|
|
|
|
// : Utils.getImgPath('f_swich_off'),
|
|
|
|
// width: ScreenUtil().setWidth(70),
|
|
|
|
// // height: ScreenUtil().setWidth(82),
|
|
|
|
// ),
|
|
|
|
// ],
|
|
|
|
// ),
|
|
|
|
// ),
|
|
|
|
// VEmptyView(48),
|
|
|
|
// InkWell(
|
|
|
|
// onTap: () {
|
|
|
|
// FocusScope.of(context).requestFocus(FocusNode()); //隐藏键盘
|
|
|
|
// // DialogUtil.showSelectCusmanDialog(context, memberList,
|
|
|
|
// // (value) {
|
|
|
|
// // if (value != null) {
|
|
|
|
// // setState(() {
|
|
|
|
// // memberIndex = value.first;
|
|
|
|
// // memberShow = memberList[memberIndex];
|
|
|
|
// // });
|
|
|
|
// // }
|
|
|
|
// // }, selecteds: memberIndex == null ? [] : [memberIndex])
|
|
|
|
// // .then((value) {});
|
|
|
|
// },
|
|
|
|
// child: Container(
|
|
|
|
// // height: ScreenUtil().setWidth(60),
|
|
|
|
// padding: EdgeInsets.only(bottom: ScreenUtil().setWidth(50)),
|
|
|
|
// child: Row(
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
// crossAxisAlignment: CrossAxisAlignment.center,
|
|
|
|
// children: [
|
|
|
|
// Container(
|
|
|
|
// // color: Colors.red,
|
|
|
|
// width: ScreenUtil().setWidth(150),
|
|
|
|
// height: ScreenUtil().setWidth(35),
|
|
|
|
// child: Text(
|
|
|
|
// '会员系统选择',
|
|
|
|
// style: TextStyle(
|
|
|
|
// fontSize: ScreenUtil().setSp(32),
|
|
|
|
// color: MyColours.color_515151),
|
|
|
|
// ),
|
|
|
|
// ),
|
|
|
|
// Expanded(
|
|
|
|
// child: Text(
|
|
|
|
// memberShow,
|
|
|
|
// overflow: TextOverflow.ellipsis,
|
|
|
|
// style: TextStyle(
|
|
|
|
// color: MyColours.color_353535,
|
|
|
|
// fontSize: ScreenUtil().setSp(28),
|
|
|
|
// ),
|
|
|
|
// )),
|
|
|
|
// HEmptyView(10),
|
|
|
|
// Image.asset(
|
|
|
|
// Utils.getImgPath(
|
|
|
|
// showLabel ? 'c_arrow_up' : 'c_arrow_down'),
|
|
|
|
// width: ScreenUtil().setWidth(24),
|
|
|
|
// // height: ScreenUtil().setWidth(10),
|
|
|
|
// )
|
|
|
|
// ],
|
|
|
|
// ),
|
|
|
|
// )),
|
|
|
|
// _itemWidget('企业代码或账号', "点击这里输入企业代码或账号", null, null),
|
|
|
|
// VEmptyView(50),
|
|
|
|
// _itemWidget('管理员账号', "点击这里输入管理员账号", null, null),
|
|
|
|
// VEmptyView(50),
|
|
|
|
// _itemWidget('密码', "点击这里输入管理员密码", null, null),
|
|
|
|
// VEmptyView(40),
|
|
|
|
// Center(
|
|
|
|
// child: Text(
|
|
|
|
// '请与纳极客服400-000-9690 联系对接事宜',
|
|
|
|
// style: TextStyle(
|
|
|
|
// color: MyColours.color_999999, fontSize: font(12)),
|
|
|
|
// ))
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
...
|
...
|
|