🐞 fix(分类页): 价格取值
This commit is contained in:
parent
438d4168c0
commit
0d5d5012ef
@ -7,7 +7,7 @@ import IconFont from '../iconfont/iconfont'
|
|||||||
import Tag from '../tag'
|
import Tag from '../tag'
|
||||||
import styles from './index.module.scss'
|
import styles from './index.module.scss'
|
||||||
import { goLink } from '@/common/common'
|
import { goLink } from '@/common/common'
|
||||||
import { formatHashTag, formatImgUrl } from '@/common/fotmat'
|
import { formatHashTag, formatImgUrl, formatPriceDiv } from '@/common/fotmat'
|
||||||
|
|
||||||
interface Params {
|
interface Params {
|
||||||
desStatus?: true | false
|
desStatus?: true | false
|
||||||
@ -53,7 +53,7 @@ const Product = ({ desStatus = true, productList = [] }: Params) => {
|
|||||||
</View>
|
</View>
|
||||||
<View className={styles.price}>
|
<View className={styles.price}>
|
||||||
<View className={styles.price_unit}>¥</View>
|
<View className={styles.price_unit}>¥</View>
|
||||||
<View className={styles.price_num}>50.00起</View>
|
<View className={styles.price_num}>{formatPriceDiv(item.lowest_price, 100, true)}起</View>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user