🐞 fix:【ID1000610】
新版内部商城测试bug-2
This commit is contained in:
@@ -2,7 +2,7 @@ import { Image, Text, View } from "@tarojs/components";
|
||||
import { memo, useEffect, useMemo, useRef, useState } from "react";
|
||||
import classnames from "classnames";
|
||||
import styles from './index.module.scss'
|
||||
|
||||
import IconFont from '@/components/iconfont/iconfont'
|
||||
interface propsObj {
|
||||
receivingStatus?: Number | null,
|
||||
onReceivingStatus?: (any, Number) => void,
|
||||
@@ -29,7 +29,7 @@ export default memo((props: propsObj) => {
|
||||
<View className={styles.topFont}>请按以下退货地址寄回货物并提供退货物流信息</View>
|
||||
<View className={styles.topBox}>
|
||||
<View className={styles.cirle}>
|
||||
<View className={classnames('iconfont', 'icon-dingwei', styles.dingwei)}></View>
|
||||
<IconFont name={'icon-dingwei'} size={26} color={'#ffffff'}></IconFont>
|
||||
</View>
|
||||
<View className={styles.address}>{'广东省佛山市禅城区陆盈纺织仓库'}</View>
|
||||
</View>
|
||||
|
||||
@@ -35,8 +35,12 @@ export default memo(({ orderInfo = { logistics_details: [], payment_method: 0, s
|
||||
setShowMore(() => !showMore)
|
||||
}
|
||||
const dataList = useMemo(() => {
|
||||
console.log(orderInfo.logistics_details ? orderInfo?.logistics_details.reverse() : [],'5555')
|
||||
return orderInfo.logistics_details ? orderInfo?.logistics_details.reverse() : []
|
||||
let arr = orderInfo?.logistics_details
|
||||
if (orderInfo.logistics_details) {
|
||||
return arr.reverse()
|
||||
} else {
|
||||
return []
|
||||
}
|
||||
}, [orderInfo.logistics_details])
|
||||
|
||||
|
||||
|
||||
@@ -253,6 +253,16 @@ export default () => {
|
||||
DeatailObj?.sale_mode == 0 ? DeatailObj?.return_roll : DeatailObj?.total_number / 100
|
||||
} {DeatailObj?.sale_mode == 0 ? "条" : "米"}</View>
|
||||
</View>
|
||||
{
|
||||
(DeatailObj.stage == 3) &&
|
||||
<View className={styles.totalBox}>
|
||||
<View className={styles.totalLeft}>退款金额</View>
|
||||
<View className={styles.totalRight} style={{ color: '#F64861' }}>¥{
|
||||
formatPriceDiv(DeatailObj.refund_amount)
|
||||
}</View>
|
||||
</View>
|
||||
|
||||
}
|
||||
</DefaultBox>
|
||||
<DefaultBox title={'订单信息'}>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user