diff --git a/dist/card/index.js b/dist/card/index.js
index 48383b8f..70d9f09c 100644
--- a/dist/card/index.js
+++ b/dist/card/index.js
@@ -7,7 +7,7 @@ VantComponent({
'thumb-class',
'title-class',
'price-class',
- 'origin-price-class',
+ 'origin-price-class'
],
mixins: [link],
props: {
@@ -39,7 +39,7 @@ VantComponent({
const priceArr = price.toString().split('.');
this.setData({
integerStr: priceArr[0],
- decimalStr: priceArr[1] ? `.${priceArr[1]}` : '',
+ decimalStr: priceArr[1] ? `.${priceArr[1]}` : ''
});
},
onClickThumb() {
diff --git a/dist/card/index.wxml b/dist/card/index.wxml
index 548c810d..39b4b33a 100644
--- a/dist/card/index.wxml
+++ b/dist/card/index.wxml
@@ -35,8 +35,10 @@
{{ currency }}{{ integerStr }}{{ decimalStr }}
+
{{ currency }} {{ originPrice }}
x {{ num }}
+
diff --git a/lib/card/index.js b/lib/card/index.js
index 0c9660ec..c231915d 100644
--- a/lib/card/index.js
+++ b/lib/card/index.js
@@ -9,7 +9,7 @@ component_1.VantComponent({
'thumb-class',
'title-class',
'price-class',
- 'origin-price-class',
+ 'origin-price-class'
],
mixins: [link_1.link],
props: {
@@ -41,7 +41,7 @@ component_1.VantComponent({
var priceArr = price.toString().split('.');
this.setData({
integerStr: priceArr[0],
- decimalStr: priceArr[1] ? "." + priceArr[1] : '',
+ decimalStr: priceArr[1] ? "." + priceArr[1] : ''
});
},
onClickThumb: function () {
diff --git a/lib/card/index.wxml b/lib/card/index.wxml
index 548c810d..39b4b33a 100644
--- a/lib/card/index.wxml
+++ b/lib/card/index.wxml
@@ -35,8 +35,10 @@
{{ currency }}{{ integerStr }}{{ decimalStr }}
+
{{ currency }} {{ originPrice }}
x {{ num }}
+