@yorkjs/hive-ui 2.1.9 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yorkjs/hive-ui",
3
- "version": "2.1.9",
3
+ "version": "2.2.0",
4
4
  "description": "Hive UI - Taro React component library",
5
5
  "main": "src/index.ts",
6
6
  "module": "src/index.ts",
@@ -381,16 +381,16 @@ const ProductItem: React.FC<IProductCardProps> = (props) => {
381
381
  <Text className={styles['price-value']}>
382
382
  {salePrice}
383
383
  </Text>
384
+ {
385
+ originalPrice
386
+ ? (
387
+ <Text className={styles['original-price']}>
388
+ ¥{originalPrice}
389
+ </Text>
390
+ )
391
+ : undefined
392
+ }
384
393
  </View>
385
- {
386
- originalPrice
387
- ? (
388
- <Text className={styles['original-price']}>
389
- ¥{originalPrice}
390
- </Text>
391
- )
392
- : undefined
393
- }
394
394
  </View>
395
395
  <View
396
396
  className={styles['action-area']}