From 44bff3b4901adaf6f16718d9bcc3c29f399e982c Mon Sep 17 00:00:00 2001 From: rex-zsd Date: Wed, 26 Feb 2020 17:53:12 +0800 Subject: [PATCH] build: compile 1.0.7-beta1 --- dist/card/index.js | 4 ++-- dist/card/index.wxml | 2 ++ lib/card/index.js | 4 ++-- lib/card/index.wxml | 2 ++ 4 files changed, 8 insertions(+), 4 deletions(-) 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 }} +