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,8 +243,7 @@ Page({ | ||
| 243 | goto: function(e) { | 243 | goto: function(e) { |
| 244 | var th = this; | 244 | var th = this; |
| 245 | th.setData({ | 245 | th.setData({ |
| 246 | - beautician: 0, | ||
| 247 | - is_textea: 0 | 246 | + beautician: 0 |
| 248 | }) | 247 | }) |
| 249 | if (th.data.store_name == "") { | 248 | if (th.data.store_name == "") { |
| 250 | getApp().my_warnning("请选择服务门店", 0, th); | 249 | getApp().my_warnning("请选择服务门店", 0, th); |
| @@ -435,7 +434,6 @@ Page({ | @@ -435,7 +434,6 @@ Page({ | ||
| 435 | nav_bea: function() { | 434 | nav_bea: function() { |
| 436 | var th = this; | 435 | var th = this; |
| 437 | th.setData({ | 436 | th.setData({ |
| 438 | - is_textea: 0, | ||
| 439 | beautician: 0 | 437 | beautician: 0 |
| 440 | }) | 438 | }) |
| 441 | var storageId = th.data.storageId; //线下门店id | 439 | var storageId = th.data.storageId; //线下门店id |
| @@ -445,9 +443,13 @@ Page({ | @@ -445,9 +443,13 @@ Page({ | ||
| 445 | getApp().my_warnning("请选择服务门店", 0, th); | 443 | getApp().my_warnning("请选择服务门店", 0, th); |
| 446 | th.settime(); | 444 | th.settime(); |
| 447 | } else { | 445 | } else { |
| 446 | + th.setData({ | ||
| 447 | + is_textea: 1 | ||
| 448 | + }) | ||
| 448 | wx.navigateTo({ | 449 | wx.navigateTo({ |
| 449 | url: "/pages/user/my_service/cosmetology_list?" + 'storageId=' + storageId + '&' + 'itemId=' + itemId + '&' + "projectId=" + project_id | 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,7 +532,8 @@ Page({ | ||
| 530 | th.query_more(); | 532 | th.query_more(); |
| 531 | } | 533 | } |
| 532 | th.setData({ | 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 | th.query_project(); | 538 | th.query_project(); |
| 536 | }, | 539 | }, |