Commit 47b55b0cef998d8710b975472be5d2909c448314
1 parent
da7741ce
texteat bug修复
Showing
1 changed file
with
7 additions
and
4 deletions
pages/user/my_service/appment_main.js
... | ... | @@ -243,8 +243,7 @@ Page({ |
243 | 243 | goto: function(e) { |
244 | 244 | var th = this; |
245 | 245 | th.setData({ |
246 | - beautician: 0, | |
247 | - is_textea: 0 | |
246 | + beautician: 0 | |
248 | 247 | }) |
249 | 248 | if (th.data.store_name == "") { |
250 | 249 | getApp().my_warnning("请选择服务门店", 0, th); |
... | ... | @@ -435,7 +434,6 @@ Page({ |
435 | 434 | nav_bea: function() { |
436 | 435 | var th = this; |
437 | 436 | th.setData({ |
438 | - is_textea: 0, | |
439 | 437 | beautician: 0 |
440 | 438 | }) |
441 | 439 | var storageId = th.data.storageId; //线下门店id |
... | ... | @@ -445,9 +443,13 @@ Page({ |
445 | 443 | getApp().my_warnning("请选择服务门店", 0, th); |
446 | 444 | th.settime(); |
447 | 445 | } else { |
446 | + th.setData({ | |
447 | + is_textea: 1 | |
448 | + }) | |
448 | 449 | wx.navigateTo({ |
449 | 450 | url: "/pages/user/my_service/cosmetology_list?" + 'storageId=' + storageId + '&' + 'itemId=' + itemId + '&' + "projectId=" + project_id |
450 | 451 | }); |
452 | + | |
451 | 453 | } |
452 | 454 | }, |
453 | 455 | /** |
... | ... | @@ -530,7 +532,8 @@ Page({ |
530 | 532 | th.query_more(); |
531 | 533 | } |
532 | 534 | th.setData({ |
533 | - time: th.data.time.substring(0, 16) | |
535 | + time: th.data.time.substring(0, 16), | |
536 | + is_textea:1 | |
534 | 537 | }) |
535 | 538 | th.query_project(); |
536 | 539 | }, | ... | ... |