From 47b55b0cef998d8710b975472be5d2909c448314 Mon Sep 17 00:00:00 2001 From: DESKTOP-QHAFKU5\iceling Date: Fri, 6 Dec 2019 17:43:12 +0800 Subject: [PATCH] texteat bug修复 --- pages/user/my_service/appment_main.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pages/user/my_service/appment_main.js b/pages/user/my_service/appment_main.js index 824f31c..1540b93 100644 --- a/pages/user/my_service/appment_main.js +++ b/pages/user/my_service/appment_main.js @@ -243,8 +243,7 @@ Page({ goto: function(e) { var th = this; th.setData({ - beautician: 0, - is_textea: 0 + beautician: 0 }) if (th.data.store_name == "") { getApp().my_warnning("请选择服务门店", 0, th); @@ -435,7 +434,6 @@ Page({ nav_bea: function() { var th = this; th.setData({ - is_textea: 0, beautician: 0 }) var storageId = th.data.storageId; //线下门店id @@ -445,9 +443,13 @@ Page({ getApp().my_warnning("请选择服务门店", 0, th); th.settime(); } else { + th.setData({ + is_textea: 1 + }) wx.navigateTo({ url: "/pages/user/my_service/cosmetology_list?" + 'storageId=' + storageId + '&' + 'itemId=' + itemId + '&' + "projectId=" + project_id }); + } }, /** @@ -530,7 +532,8 @@ Page({ th.query_more(); } th.setData({ - time: th.data.time.substring(0, 16) + time: th.data.time.substring(0, 16), + is_textea:1 }) th.query_project(); }, -- libgit2 0.21.4