From b682ec5891585d063ba94b160473a99629bde846 Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Sat, 12 Jun 2021 09:51:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E5=AE=B6=E6=94=BF=E8=AE=A2?= =?UTF-8?q?=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/my/my.vue | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/pages/my/my.vue b/pages/my/my.vue index b2d457f..077ee87 100755 --- a/pages/my/my.vue +++ b/pages/my/my.vue @@ -46,6 +46,12 @@ 商城订单 + + + + 家政订单 + + @@ -333,6 +339,20 @@ url: '/pages/hcWebView/hcWebView?url='+_url }); }); + }, + housekeepingOrder:function(){ + let that = this; + let _communityId = ''; + getCurCommunity() + .then(res=>{ + _communityId = res.communityId; + return getHcCode(); + }).then(_data => { + let _url = "/pages/homemarking/order?hcCommunityId="+_communityId+"&hcCode="+_data.hcCode; + uni.navigateTo({ + url: '/pages/hcWebView/hcWebView?url='+_url + }); + }); } }