|
...
|
...
|
@@ -259,100 +259,100 @@ class _WineSettingPageState extends State<WineSettingPage> { |
|
|
|
inputType:
|
|
|
|
TextInputType.numberWithOptions(decimal: true))),
|
|
|
|
_divider(),
|
|
|
|
VEmptyView(20),
|
|
|
|
InkWell(
|
|
|
|
onTap: () {
|
|
|
|
setState(() {
|
|
|
|
swichNotice = !swichNotice;
|
|
|
|
});
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
height: w(48),
|
|
|
|
padding: EdgeInsets.only(left: w(30), right: w(26)),
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
'存酒超期时发送超期消息',
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: font(16),
|
|
|
|
color: MyColours.color_515151),
|
|
|
|
),
|
|
|
|
Image.asset(
|
|
|
|
Utils.getImgPath(
|
|
|
|
swichNotice ? 'swich_on' : 'swich_off'),
|
|
|
|
width: w(44),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
Padding(
|
|
|
|
padding: EdgeInsets.only(left: w(15), right: w(10)),
|
|
|
|
child: _divider(),
|
|
|
|
),
|
|
|
|
VEmptyView(20),
|
|
|
|
InkWell(
|
|
|
|
onTap: () {
|
|
|
|
setState(() {
|
|
|
|
swichMsg = !swichMsg;
|
|
|
|
});
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
height: w(48),
|
|
|
|
padding: EdgeInsets.only(left: w(30), right: w(26)),
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
'存酒超期时自动给客户发送短信',
|
|
|
|
style: TextStyle(
|
|
|
|
fontSize: font(16),
|
|
|
|
color: MyColours.color_515151),
|
|
|
|
),
|
|
|
|
Image.asset(
|
|
|
|
Utils.getImgPath(
|
|
|
|
swichMsg ? 'swich_on' : 'swich_off'),
|
|
|
|
width: w(44),
|
|
|
|
)
|
|
|
|
],
|
|
|
|
),
|
|
|
|
)),
|
|
|
|
Padding(
|
|
|
|
padding: EdgeInsets.only(left: w(15), right: w(10)),
|
|
|
|
child: _divider(),
|
|
|
|
),
|
|
|
|
VEmptyView(20),
|
|
|
|
InkWell(
|
|
|
|
onTap: () {
|
|
|
|
NavigatorUtil.goWineSettingMsgPage(
|
|
|
|
context);
|
|
|
|
},
|
|
|
|
child: Container(
|
|
|
|
height: w(48),
|
|
|
|
padding: EdgeInsets.only(left: w(30), right: w(26)),
|
|
|
|
child: Row(
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
children: [
|
|
|
|
Text(
|
|
|
|
'存酒超期通知短信设置',
|
|
|
|
style: TextStyle(
|
|
|
|
color: MyColours.color_515151,
|
|
|
|
fontSize: font(16)),
|
|
|
|
),
|
|
|
|
Container(
|
|
|
|
padding: EdgeInsets.symmetric(
|
|
|
|
horizontal: w(11), vertical: w(4)),
|
|
|
|
child: Image.asset(
|
|
|
|
"assets/arrow_right_new.png",
|
|
|
|
width: w(9),
|
|
|
|
height: w(16),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
]))),
|
|
|
|
Padding(
|
|
|
|
padding: EdgeInsets.only(left: w(15), right: w(10)),
|
|
|
|
child: _divider(),
|
|
|
|
),
|
|
|
|
// VEmptyView(20),
|
|
|
|
// InkWell(
|
|
|
|
// onTap: () {
|
|
|
|
// setState(() {
|
|
|
|
// swichNotice = !swichNotice;
|
|
|
|
// });
|
|
|
|
// },
|
|
|
|
// child: Container(
|
|
|
|
// height: w(48),
|
|
|
|
// padding: EdgeInsets.only(left: w(30), right: w(26)),
|
|
|
|
// child: Row(
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
// children: [
|
|
|
|
// Text(
|
|
|
|
// '存酒超期时发送超期消息',
|
|
|
|
// style: TextStyle(
|
|
|
|
// fontSize: font(16),
|
|
|
|
// color: MyColours.color_515151),
|
|
|
|
// ),
|
|
|
|
// Image.asset(
|
|
|
|
// Utils.getImgPath(
|
|
|
|
// swichNotice ? 'swich_on' : 'swich_off'),
|
|
|
|
// width: w(44),
|
|
|
|
// )
|
|
|
|
// ],
|
|
|
|
// ),
|
|
|
|
// )),
|
|
|
|
// Padding(
|
|
|
|
// padding: EdgeInsets.only(left: w(15), right: w(10)),
|
|
|
|
// child: _divider(),
|
|
|
|
// ),
|
|
|
|
// VEmptyView(20),
|
|
|
|
// InkWell(
|
|
|
|
// onTap: () {
|
|
|
|
// setState(() {
|
|
|
|
// swichMsg = !swichMsg;
|
|
|
|
// });
|
|
|
|
// },
|
|
|
|
// child: Container(
|
|
|
|
// height: w(48),
|
|
|
|
// padding: EdgeInsets.only(left: w(30), right: w(26)),
|
|
|
|
// child: Row(
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
// children: [
|
|
|
|
// Text(
|
|
|
|
// '存酒超期时自动给客户发送短信',
|
|
|
|
// style: TextStyle(
|
|
|
|
// fontSize: font(16),
|
|
|
|
// color: MyColours.color_515151),
|
|
|
|
// ),
|
|
|
|
// Image.asset(
|
|
|
|
// Utils.getImgPath(
|
|
|
|
// swichMsg ? 'swich_on' : 'swich_off'),
|
|
|
|
// width: w(44),
|
|
|
|
// )
|
|
|
|
// ],
|
|
|
|
// ),
|
|
|
|
// )),
|
|
|
|
// Padding(
|
|
|
|
// padding: EdgeInsets.only(left: w(15), right: w(10)),
|
|
|
|
// child: _divider(),
|
|
|
|
// ),
|
|
|
|
// VEmptyView(20),
|
|
|
|
// InkWell(
|
|
|
|
// onTap: () {
|
|
|
|
// NavigatorUtil.goWineSettingMsgPage(
|
|
|
|
// context);
|
|
|
|
// },
|
|
|
|
// child: Container(
|
|
|
|
// height: w(48),
|
|
|
|
// padding: EdgeInsets.only(left: w(30), right: w(26)),
|
|
|
|
// child: Row(
|
|
|
|
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
// children: [
|
|
|
|
// Text(
|
|
|
|
// '存酒超期通知短信设置',
|
|
|
|
// style: TextStyle(
|
|
|
|
// color: MyColours.color_515151,
|
|
|
|
// fontSize: font(16)),
|
|
|
|
// ),
|
|
|
|
// Container(
|
|
|
|
// padding: EdgeInsets.symmetric(
|
|
|
|
// horizontal: w(11), vertical: w(4)),
|
|
|
|
// child: Image.asset(
|
|
|
|
// "assets/arrow_right_new.png",
|
|
|
|
// width: w(9),
|
|
|
|
// height: w(16),
|
|
|
|
// ),
|
|
|
|
// )
|
|
|
|
// ]))),
|
|
|
|
// Padding(
|
|
|
|
// padding: EdgeInsets.only(left: w(15), right: w(10)),
|
|
|
|
// child: _divider(),
|
|
|
|
// ),
|
|
|
|
],
|
|
|
|
)),
|
|
|
|
),
|
...
|
...
|
|