Commit 34a58be4fc9a974db7ecfb5f49e98405c4f5cdf8

Authored by weixin_45529955
1 parent ee7a1fe9

客户自定义标签漏掉了 放出来发版

... ... @@ -224,42 +224,57 @@ class _CustomerHomePageState extends State<CustomerHomePage> {
child: MyDivider(double.infinity, w(0.5),
color: MyColours.color_E7E7E7)),
VEmptyView(24),
// InkWell(
// onTap: () {
// //
InkWell(
onTap: () {
//
if (Utils.getAuthority(context, '全店客情')) {
if (widget.sellerNormalSpecial) {
//标准版
// NavigatorUtil.goCustomLabelPage(context);
// },
// child: Padding(
// padding: EdgeInsets.only(
// left: w(16),
// top: w(12),
// bottom: w(12),
// right: w(12)),
// child: Row(
// children: [
// Text(
// '客户自定义标签',
// style: TextStyle(
// color: MyColours.color_515151,
// fontSize: ScreenUtil().setWidth(32)),
// ),
// Spacer(),
// Container(
// padding: EdgeInsets.symmetric(
// horizontal: w(7), vertical: w(4)),
// child: Image.asset(
// "assets/arrow_right_new.png",
// width: ScreenUtil().setWidth(18),
// height: ScreenUtil().setWidth(32),
// ),
// )
// ],
// ))),
// Padding(
// padding: EdgeInsets.only(left: w(16)),
// child: MyDivider(double.infinity, w(0.5),
// color: MyColours.color_E7E7E7)),
if (widget.sellerPreserve ||
widget.sellerMarketing) {
NavigatorUtil.goCustomLabelPage(context);
} else {
NavigatorUtil.goCustomLabelPage(context);
}
} else {
NavigatorUtil.goCustomLabelPage(context);
}
} else {
Utils.showToast('您还没有操作权限,请联系管理员');
}
},
child: Padding(
padding: EdgeInsets.only(
left: w(16),
top: w(12),
bottom: w(12),
right: w(12)),
child: Row(
children: [
Text(
'客户自定义标签',
style: TextStyle(
color: MyColours.color_515151,
fontSize: ScreenUtil().setWidth(32)),
),
Spacer(),
Container(
padding: EdgeInsets.symmetric(
horizontal: w(7), vertical: w(4)),
child: Image.asset(
"assets/arrow_right_new.png",
width: ScreenUtil().setWidth(18),
height: ScreenUtil().setWidth(32),
),
)
],
))),
Padding(
padding: EdgeInsets.only(left: w(16)),
child: MyDivider(double.infinity, w(0.5),
color: MyColours.color_E7E7E7)),
],
),
)),
... ...