From fce8ad9f99c3ba3361bae5600ed2709babe39e42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=99=96?= Date: Thu, 18 Apr 2019 16:38:22 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=A7=AF=E5=88=86=E5=85=91=E6=8D=A2][?= =?UTF-8?q?=E7=A7=AF=E5=88=86=E4=B8=8D=E8=B6=B3=E5=85=BC=E5=AE=B9=E5=A4=84?= =?UTF-8?q?=E7=90=86]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/integralmall/payIntegcoupondetail/index.js | 8 ++++++++ pages/integralmall/payIntegcoupondetail/index.wxml | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/pages/integralmall/payIntegcoupondetail/index.js b/pages/integralmall/payIntegcoupondetail/index.js index 28478ed..0ebbbd6 100644 --- a/pages/integralmall/payIntegcoupondetail/index.js +++ b/pages/integralmall/payIntegcoupondetail/index.js @@ -37,6 +37,14 @@ Page({ }) }) }, + cannotPay(){ + wx.showToast({ + title: "您的积分不足", + image: './../../../assets/images/fail.png', + duration: 2000, + mask: false + }); + }, gotoIndex() { wx.reLaunch({ url: '/pages/index/index', diff --git a/pages/integralmall/payIntegcoupondetail/index.wxml b/pages/integralmall/payIntegcoupondetail/index.wxml index 8edda40..60a5341 100644 --- a/pages/integralmall/payIntegcoupondetail/index.wxml +++ b/pages/integralmall/payIntegcoupondetail/index.wxml @@ -37,7 +37,8 @@ - + +