|
...
|
...
|
@@ -179,204 +179,204 @@ class _MarketingCenterHomePageState extends State<MarketingCenterHomePage> { |
|
|
|
child: SingleChildScrollView(
|
|
|
|
child: Column(
|
|
|
|
children: [
|
|
|
|
InkWell(
|
|
|
|
onTap: () {
|
|
|
|
if (!collectStoreProvider.sellerRecharge) {
|
|
|
|
//没有购买优惠券模块
|
|
|
|
//提示购买
|
|
|
|
// InkWell(
|
|
|
|
// onTap: () {
|
|
|
|
// if (!collectStoreProvider.sellerRecharge) {
|
|
|
|
// //没有购买优惠券模块
|
|
|
|
// //提示购买
|
|
|
|
|
|
|
|
DialogUtil.showSellerVersionBuyDialog(
|
|
|
|
context, '储值营销', (v) {});
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
NavigatorUtil.goRechargeHomePage(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)),
|
|
|
|
VEmptyView(24),
|
|
|
|
InkWell(
|
|
|
|
onTap: () {
|
|
|
|
if (!collectStoreProvider.sellerOrderCustomer) {
|
|
|
|
//没有购买提前点餐模块
|
|
|
|
//提示购买
|
|
|
|
// DialogUtil.showSellerVersionBuyDialog(
|
|
|
|
// context, '储值营销', (v) {});
|
|
|
|
// return;
|
|
|
|
// }
|
|
|
|
// NavigatorUtil.goRechargeHomePage(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)),
|
|
|
|
// VEmptyView(24),
|
|
|
|
// InkWell(
|
|
|
|
// onTap: () {
|
|
|
|
// if (!collectStoreProvider.sellerOrderCustomer) {
|
|
|
|
// //没有购买提前点餐模块
|
|
|
|
// //提示购买
|
|
|
|
|
|
|
|
DialogUtil.showSellerVersionBuyDialog(
|
|
|
|
context, '提前点餐', (v) {});
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
NavigatorUtil.goOrderSettingPage(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)),
|
|
|
|
VEmptyView(24),
|
|
|
|
InkWell(
|
|
|
|
onTap: () {
|
|
|
|
if (!collectStoreProvider.sellerOrderManager) {
|
|
|
|
//没有购买经理排菜模块
|
|
|
|
//提示购买
|
|
|
|
// DialogUtil.showSellerVersionBuyDialog(
|
|
|
|
// context, '提前点餐', (v) {});
|
|
|
|
// return;
|
|
|
|
// }
|
|
|
|
// NavigatorUtil.goOrderSettingPage(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)),
|
|
|
|
// VEmptyView(24),
|
|
|
|
// InkWell(
|
|
|
|
// onTap: () {
|
|
|
|
// if (!collectStoreProvider.sellerOrderManager) {
|
|
|
|
// //没有购买经理排菜模块
|
|
|
|
// //提示购买
|
|
|
|
|
|
|
|
DialogUtil.showSellerVersionBuyDialog(
|
|
|
|
context, '经理排菜', (v) {});
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
NavigatorUtil.goOrderSettingManagerPage(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)),
|
|
|
|
VEmptyView(24),
|
|
|
|
InkWell(
|
|
|
|
onTap: () {
|
|
|
|
NavigatorUtil.goCommentsSettingPage(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)),
|
|
|
|
VEmptyView(24),
|
|
|
|
InkWell(
|
|
|
|
onTap: () {
|
|
|
|
NavigatorUtil.goCustomerNoticeSettingPage(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)),
|
|
|
|
// DialogUtil.showSellerVersionBuyDialog(
|
|
|
|
// context, '经理排菜', (v) {});
|
|
|
|
// return;
|
|
|
|
// }
|
|
|
|
// NavigatorUtil.goOrderSettingManagerPage(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)),
|
|
|
|
// VEmptyView(24),
|
|
|
|
// InkWell(
|
|
|
|
// onTap: () {
|
|
|
|
// NavigatorUtil.goCommentsSettingPage(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)),
|
|
|
|
// VEmptyView(24),
|
|
|
|
// InkWell(
|
|
|
|
// onTap: () {
|
|
|
|
// NavigatorUtil.goCustomerNoticeSettingPage(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)),
|
|
|
|
VEmptyView(24),
|
|
|
|
InkWell(
|
|
|
|
onTap: () {
|
...
|
...
|
|