🐞 fix(ID1001415进去不显示需要点击一下才呈现):

This commit is contained in:
czm 2023-03-01 18:46:15 +08:00
parent d8acb25964
commit f659bfb591

View File

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