🐞 fix(ID1001004): 【价格对比】-漏了色号和金钱的符号¥

【【价格对比】-漏了色号和金钱的符号¥】 https://www.tapd.cn/53459131/bugtrace/bugs/view/1153459131001001004
This commit is contained in:
xuan 2023-01-05 15:39:23 +08:00
parent 6938162d1e
commit 6902990f5a

View File

@ -337,9 +337,9 @@ const Details = (props: Params) => {
</View> </View>
<View className={styles.productColorDialog_info}> <View className={styles.productColorDialog_info}>
<View className={styles.productColorDialog_title}> <View className={styles.productColorDialog_title}>
<Text className={styles.productColorDialog_name}>{currentDialogDetail.current!.name}</Text> <Text className={styles.productColorDialog_name}>{formatHashTag(currentDialogDetail.current!.code, currentDialogDetail.current!.name)}</Text>
<View className={styles.productColorDialog_price}> <View className={styles.productColorDialog_price}>
<Text>{formatPriceDiv(currentDialogDetail.current!.bulk_price)}/KG</Text> <Text>{formatPriceDiv(currentDialogDetail.current!.bulk_price)}/KG</Text>
{ {
currentDialogDetail.current!.length_cut_price ? (currentDialogDetail.current!.bulk_price > currentDialogDetail.current!.length_cut_price) ? <Text style={{ color: 'red', marginLeft: '10rpx' }}></Text> : <Text style={{ color: 'green', marginLeft: '10rpx' }}></Text> : null currentDialogDetail.current!.length_cut_price ? (currentDialogDetail.current!.bulk_price > currentDialogDetail.current!.length_cut_price) ? <Text style={{ color: 'red', marginLeft: '10rpx' }}></Text> : <Text style={{ color: 'green', marginLeft: '10rpx' }}></Text> : null
} }