Commit 5101fd60725df1798ad9065a6f66031b01e5c42c

Authored by wdn127929
1 parent 5fb22abf

我的页面 有效期显示0天

@@ -259,100 +259,100 @@ class _WineSettingPageState extends State<WineSettingPage> { @@ -259,100 +259,100 @@ class _WineSettingPageState extends State<WineSettingPage> {
259 inputType: 259 inputType:
260 TextInputType.numberWithOptions(decimal: true))), 260 TextInputType.numberWithOptions(decimal: true))),
261 _divider(), 261 _divider(),
262 - VEmptyView(20),  
263 - InkWell(  
264 - onTap: () {  
265 - setState(() {  
266 - swichNotice = !swichNotice;  
267 - });  
268 - },  
269 - child: Container(  
270 - height: w(48),  
271 - padding: EdgeInsets.only(left: w(30), right: w(26)),  
272 - child: Row(  
273 - mainAxisAlignment: MainAxisAlignment.spaceBetween,  
274 - children: [  
275 - Text(  
276 - '存酒超期时发送超期消息',  
277 - style: TextStyle(  
278 - fontSize: font(16),  
279 - color: MyColours.color_515151),  
280 - ),  
281 - Image.asset(  
282 - Utils.getImgPath(  
283 - swichNotice ? 'swich_on' : 'swich_off'),  
284 - width: w(44),  
285 - )  
286 - ],  
287 - ),  
288 - )),  
289 - Padding(  
290 - padding: EdgeInsets.only(left: w(15), right: w(10)),  
291 - child: _divider(),  
292 - ),  
293 - VEmptyView(20),  
294 - InkWell(  
295 - onTap: () {  
296 - setState(() {  
297 - swichMsg = !swichMsg;  
298 - });  
299 - },  
300 - child: Container(  
301 - height: w(48),  
302 - padding: EdgeInsets.only(left: w(30), right: w(26)),  
303 - child: Row(  
304 - mainAxisAlignment: MainAxisAlignment.spaceBetween,  
305 - children: [  
306 - Text(  
307 - '存酒超期时自动给客户发送短信',  
308 - style: TextStyle(  
309 - fontSize: font(16),  
310 - color: MyColours.color_515151),  
311 - ),  
312 - Image.asset(  
313 - Utils.getImgPath(  
314 - swichMsg ? 'swich_on' : 'swich_off'),  
315 - width: w(44),  
316 - )  
317 - ],  
318 - ),  
319 - )),  
320 - Padding(  
321 - padding: EdgeInsets.only(left: w(15), right: w(10)),  
322 - child: _divider(),  
323 - ),  
324 - VEmptyView(20),  
325 - InkWell(  
326 - onTap: () {  
327 - NavigatorUtil.goWineSettingMsgPage(  
328 - context);  
329 - },  
330 - child: Container(  
331 - height: w(48),  
332 - padding: EdgeInsets.only(left: w(30), right: w(26)),  
333 - child: Row(  
334 - mainAxisAlignment: MainAxisAlignment.spaceBetween,  
335 - children: [  
336 - Text(  
337 - '存酒超期通知短信设置',  
338 - style: TextStyle(  
339 - color: MyColours.color_515151,  
340 - fontSize: font(16)),  
341 - ),  
342 - Container(  
343 - padding: EdgeInsets.symmetric(  
344 - horizontal: w(11), vertical: w(4)),  
345 - child: Image.asset(  
346 - "assets/arrow_right_new.png",  
347 - width: w(9),  
348 - height: w(16),  
349 - ),  
350 - )  
351 - ]))),  
352 - Padding(  
353 - padding: EdgeInsets.only(left: w(15), right: w(10)),  
354 - child: _divider(),  
355 - ), 262 + // VEmptyView(20),
  263 + // InkWell(
  264 + // onTap: () {
  265 + // setState(() {
  266 + // swichNotice = !swichNotice;
  267 + // });
  268 + // },
  269 + // child: Container(
  270 + // height: w(48),
  271 + // padding: EdgeInsets.only(left: w(30), right: w(26)),
  272 + // child: Row(
  273 + // mainAxisAlignment: MainAxisAlignment.spaceBetween,
  274 + // children: [
  275 + // Text(
  276 + // '存酒超期时发送超期消息',
  277 + // style: TextStyle(
  278 + // fontSize: font(16),
  279 + // color: MyColours.color_515151),
  280 + // ),
  281 + // Image.asset(
  282 + // Utils.getImgPath(
  283 + // swichNotice ? 'swich_on' : 'swich_off'),
  284 + // width: w(44),
  285 + // )
  286 + // ],
  287 + // ),
  288 + // )),
  289 + // Padding(
  290 + // padding: EdgeInsets.only(left: w(15), right: w(10)),
  291 + // child: _divider(),
  292 + // ),
  293 + // VEmptyView(20),
  294 + // InkWell(
  295 + // onTap: () {
  296 + // setState(() {
  297 + // swichMsg = !swichMsg;
  298 + // });
  299 + // },
  300 + // child: Container(
  301 + // height: w(48),
  302 + // padding: EdgeInsets.only(left: w(30), right: w(26)),
  303 + // child: Row(
  304 + // mainAxisAlignment: MainAxisAlignment.spaceBetween,
  305 + // children: [
  306 + // Text(
  307 + // '存酒超期时自动给客户发送短信',
  308 + // style: TextStyle(
  309 + // fontSize: font(16),
  310 + // color: MyColours.color_515151),
  311 + // ),
  312 + // Image.asset(
  313 + // Utils.getImgPath(
  314 + // swichMsg ? 'swich_on' : 'swich_off'),
  315 + // width: w(44),
  316 + // )
  317 + // ],
  318 + // ),
  319 + // )),
  320 + // Padding(
  321 + // padding: EdgeInsets.only(left: w(15), right: w(10)),
  322 + // child: _divider(),
  323 + // ),
  324 + // VEmptyView(20),
  325 + // InkWell(
  326 + // onTap: () {
  327 + // NavigatorUtil.goWineSettingMsgPage(
  328 + // context);
  329 + // },
  330 + // child: Container(
  331 + // height: w(48),
  332 + // padding: EdgeInsets.only(left: w(30), right: w(26)),
  333 + // child: Row(
  334 + // mainAxisAlignment: MainAxisAlignment.spaceBetween,
  335 + // children: [
  336 + // Text(
  337 + // '存酒超期通知短信设置',
  338 + // style: TextStyle(
  339 + // color: MyColours.color_515151,
  340 + // fontSize: font(16)),
  341 + // ),
  342 + // Container(
  343 + // padding: EdgeInsets.symmetric(
  344 + // horizontal: w(11), vertical: w(4)),
  345 + // child: Image.asset(
  346 + // "assets/arrow_right_new.png",
  347 + // width: w(9),
  348 + // height: w(16),
  349 + // ),
  350 + // )
  351 + // ]))),
  352 + // Padding(
  353 + // padding: EdgeInsets.only(left: w(15), right: w(10)),
  354 + // child: _divider(),
  355 + // ),
356 ], 356 ],
357 )), 357 )),
358 ), 358 ),