feat(ID1000932购物车页面、面料详情页点击选购商品、订单详情页不再显示原价):

This commit is contained in:
czm 2023-02-28 19:18:14 +08:00
parent 4f2f86ed06
commit 5b28db86f6
4 changed files with 7 additions and 6 deletions

View File

@ -5,14 +5,14 @@
// export const BASE_URL = `http://192.168.0.89:40001/lymarket` // export const BASE_URL = `http://192.168.0.89:40001/lymarket`
// export const BASE_URL = `http://192.168.1.165:40001/lymarket` // 王霞 // export const BASE_URL = `http://192.168.1.165:40001/lymarket` // 王霞
// export const BASE_URL = 'https://test.zzfzyc.com/lymarket' // 测试环境 // export const BASE_URL = 'https://test.zzfzyc.com/lymarket' // 测试环境
// export const BASE_URL = 'https://pre.zzfzyc.com/lymarket' // 预发布 export const BASE_URL = 'https://pre.zzfzyc.com/lymarket' // 预发布
// export const BASE_URL = `http://192.168.1.9:40001/lymarket` // 发 // export const BASE_URL = `http://192.168.1.9:40001/lymarket` // 发
// export const BASE_URL = `http://192.168.1.9:50005/lymarket` // 发 // export const BASE_URL = `http://192.168.1.9:50005/lymarket` // 发
// export const BASE_URL = `http://192.168.1.30:50001/lymarket` // 发 // export const BASE_URL = `http://192.168.1.30:50001/lymarket` // 发
// export const BASE_URL = 'https://dev.zzfzyc.com/lymarket' // 开发环境 // export const BASE_URL = 'https://dev.zzfzyc.com/lymarket' // 开发环境
// export const BASE_URL = 'https://www.zzfzyc.com/lymarket' // 正式环境 // export const BASE_URL = 'https://www.zzfzyc.com/lymarket' // 正式环境
// export const BASE_URL = `http://192.168.1.5:40001/lymarket` // 王霞 // export const BASE_URL = `http://192.168.1.5:40001/lymarket` // 王霞
export const BASE_URL = 'http://192.168.1.7:50002/lymarket' // 添 // export const BASE_URL = 'http://192.168.1.7:50002/lymarket' // 添
// export const BASE_URL = 'http://192.168.1.28:50001/lymarket' // 婷 // export const BASE_URL = 'http://192.168.1.28:50001/lymarket' // 婷
// export const BASE_URL = 'http://192.168.1.42:50002/lymarket' // 杰 // export const BASE_URL = 'http://192.168.1.42:50002/lymarket' // 杰

View File

@ -325,7 +325,7 @@ const OrderCount = ({ show = false, onClose, title = '', productId = 0, is_first
<View className={styles.title}>{formatHashTag(item.code, item.name)}</View> <View className={styles.title}>{formatHashTag(item.code, item.name)}</View>
{/* {selectIndex == 0 && <View className={styles.weight_error}>空差:{formatWeightDiv(item.weight_error)}kg</View>} */} {/* {selectIndex == 0 && <View className={styles.weight_error}>空差:{formatWeightDiv(item.weight_error)}kg</View>} */}
<View className={styles.flexBox}> <View className={styles.flexBox}>
{(selectIndex === 0 && item.bulk_price !== item.last_bulk_price) && <View className={styles.numone}>{formatOriginalPrice(item)}</View>} {/* {(selectIndex === 0 && item.bulk_price !== item.last_bulk_price) && <View className={styles.numone}>{formatOriginalPrice(item)}</View>} */}
<View className={styles.num}>{formatPrice(item)}</View> <View className={styles.num}>{formatPrice(item)}</View>
</View> </View>

View File

@ -214,9 +214,9 @@ const KindList = ({ order, comfirm = false }: Param) => {
{colorItem?.apply_return_roll > 0 && <Text>{`待退${colorItem?.apply_return_roll}`}</Text>} {colorItem?.apply_return_roll > 0 && <Text>{`待退${colorItem?.apply_return_roll}`}</Text>}
</View> </View>
<View className={styles.order_list_item_price}> <View className={styles.order_list_item_price}>
{ {/* {
order?.sale_mode === 0 && colorItem?.standard_sale_price > colorItem.sale_price && <View className={styles.lastPrice}>¥{standardPrice(colorItem.standard_sale_price)}</View> order?.sale_mode === 0 && colorItem?.standard_sale_price > colorItem.sale_price && <View className={styles.lastPrice}>¥{standardPrice(colorItem.standard_sale_price)}</View>
} } */}
<> <>
¥{standardPrice(colorItem.sale_price)} ¥{standardPrice(colorItem.sale_price)}
{aboutWeight(colorItem.estimate_weight)} {aboutWeight(colorItem.estimate_weight)}

View File

@ -106,7 +106,8 @@ const Index = memo((props: IndexItemType) => {
<View className={styles.name_price}> <View className={styles.name_price}>
<Text>{colorItem.product_color_code + colorItem.product_color_name}</Text> <Text>{colorItem.product_color_code + colorItem.product_color_name}</Text>
<View className={styles.price}> <View className={styles.price}>
<Text>{colorItem.standard_price > colorItem.sale_price && `¥${formatPriceDiv(colorItem.standard_price)}`}</Text> {/* <Text>{colorItem.standard_price > colorItem.sale_price && `¥${formatPriceDiv(colorItem.standard_price)}`}</Text> */}
<Text></Text>
<Text>¥{formatPriceDiv(colorItem.sale_price)}/kg</Text> <Text>¥{formatPriceDiv(colorItem.sale_price)}/kg</Text>
</View> </View>
</View> </View>