From 827934c05889bc69b6e75846bc3b2b8850d1b193 Mon Sep 17 00:00:00 2001 From: zoujiandong <10130823232@qq.com> Date: Thu, 18 Apr 2024 10:16:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BC=98=E6=83=A0=E5=8D=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../healthyOrderDetail/healthyOrderDetail.js | 17 +++++++++++++++++ .../healthyOrderDetail/healthyOrderDetail.wxml | 11 +++++++---- 2 files changed, 24 insertions(+), 4 deletions(-) diff --git a/healthyService/pages/healthyOrderDetail/healthyOrderDetail.js b/healthyService/pages/healthyOrderDetail/healthyOrderDetail.js index c3b21bf..b54163a 100644 --- a/healthyService/pages/healthyOrderDetail/healthyOrderDetail.js +++ b/healthyService/pages/healthyOrderDetail/healthyOrderDetail.js @@ -130,6 +130,23 @@ Page({ }) } }, + goApp:throttle(function(e){ + + wx.navigateToMiniProgram({ + appId: 'wxdee7006582529713', + path:'/pages/index/index', + envVersion: 'release', + success(res) { + // 打开成功 + } + }) + }), + goWelfare:throttle(function(e){ + + app.method.navigateTo({ + url:'/patient/pages/myWelfare/myWelfare' + }) + }), goInquiry:throttle(function(e){ let {id}=e.currentTarget.dataset; app.method.navigateTo({ diff --git a/healthyService/pages/healthyOrderDetail/healthyOrderDetail.wxml b/healthyService/pages/healthyOrderDetail/healthyOrderDetail.wxml index da29460..9aaaf32 100644 --- a/healthyService/pages/healthyOrderDetail/healthyOrderDetail.wxml +++ b/healthyService/pages/healthyOrderDetail/healthyOrderDetail.wxml @@ -239,7 +239,7 @@ 下单时间:{{item.created_at}} - {{item.order_product_status==1?'待支付':item.order_product_status==2?'待发货':item.order_product_status==3?'已发货':item.order_product_status==42?'已签收':'已取消'}} + {{item.order_product_status==1?'待支付':item.order_product_status==2?'待发货':item.order_product_status==3?'已发货':item.order_product_status==42?'已签收':'已取消'}} @@ -256,11 +256,14 @@ {{showJuan?'收起':'展开'}} - + {{item.coupon_name}} - {{item.user_coupon_status==0?'未使用':item.user_coupon_status==1?'已使用':'已过期'}} + {{item.user_coupon_status==0?'未使用':item.user_coupon_status==1?'已使用':'已过期'}} + + + 100元的肝胆商城优惠劵 + 注册即发放 - 100元的肝胆商城优惠劵