🐞 fix(ID1001011): 【蜘蛛纺织云仓】--【电子商城】--价格上升,小程序该成品色号页面没显示红色箭头

【【蜘蛛纺织云仓】--【电子商城】--价格上升,小程序该成品色号页面没显示红色箭头】 https://www.tapd.cn/53459131/bugtrace/bugs/view/1153459131001001011
This commit is contained in:
xuan 2023-01-05 16:15:30 +08:00
parent 39836b6858
commit dc17cec598

View File

@ -279,7 +279,9 @@ const Details = (props: Params) => {
/>
</View>
<View className={styles.item_name}>{item.name}</View>
<View className={styles.bulk_price}>{formatPriceDiv(item.bulk_price)}/Kg</View>
<View className={styles.bulk_price}>{formatPriceDiv(item.bulk_price)}/Kg{
item.length_cut_price ? (item.bulk_price > item.length_cut_price) ? <Text style={{ color: 'red', marginLeft: '10rpx' }}></Text> : <Text style={{ color: 'green', marginLeft: '10rpx' }}></Text> : null
}</View>
</View>
)
})}