diff --git a/components/coupons/index.wxml b/components/coupons/index.wxml
index 9c5e2e9..d2f977e 100644
--- a/components/coupons/index.wxml
+++ b/components/coupons/index.wxml
@@ -6,19 +6,20 @@
{{data.title}}
- {{data.subTitle}}
+ {{data.subTitle}}
满¥{{data.usePriceStr}}可用
仅限本店使用
+ 剩余库存: {{data.remainInventory}}
- ¥{{data.salePrice/100}}
- ¥{{data.price/100}}
+ ¥{{data.salePriceStr}}
+ ¥{{data.priceStr}}
领取
购买
diff --git a/components/coupons/index.wxss b/components/coupons/index.wxss
index 216eb6b..bf90000 100644
--- a/components/coupons/index.wxss
+++ b/components/coupons/index.wxss
@@ -92,12 +92,12 @@
color: #ffffff !important;
letter-spacing: 0;
height: 50rpx !important;
- width: 114rpx !important;
+ width: 138rpx !important;
line-height: 50rpx !important;
}
.subtitle {
font-size: 26rpx;
- color: #666;
+ color: #333;
font-weight: 100;
}
.coupons-info-manjian {
diff --git a/pages/index/index.js b/pages/index/index.js
index a981cac..442196c 100644
--- a/pages/index/index.js
+++ b/pages/index/index.js
@@ -36,7 +36,6 @@ Page({
title: "加载中"
});
var scene = decodeURIComponent(options.scene);
- var that = this;
setTimeout(function() {
wx.hideLoading();
}, 2200);