bug(ECX-7283):

This commit is contained in:
zhangjing1
2025-09-15 14:01:53 +08:00
parent e8594d48a3
commit cbb38ec11d
2 changed files with 6 additions and 6 deletions

View File

@@ -439,7 +439,7 @@ const SpPage = memo(
{/* 没有页面自动义头部配置样式,自动生成自定义导航 */} {/* 没有页面自动义头部配置样式,自动生成自定义导航 */}
{state.customNavigation && RenderCustomNavigation()} {state.customNavigation && RenderCustomNavigation()}
{!props.isDefault && ( {!props.isDefault &&!props.loading&& (
<View <View
className='sp-page__body' className='sp-page__body'
style={styleNames({ style={styleNames({
@@ -455,6 +455,7 @@ const SpPage = memo(
<context.Provider value={{}}>{props.children}</context.Provider> <context.Provider value={{}}>{props.children}</context.Provider>
</View> </View>
)} )}
{props.loading && <SpLoading />}
{props.renderFooter && ( {props.renderFooter && (
<View <View

View File

@@ -703,7 +703,7 @@ function TradeDetail(props) {
</View> </View>
))} ))}
</View> </View>
<View className='trade-price-info'> {info&&<View className='trade-price-info'>
{enMarketPrice && info?.marketFee > 0 && ( {enMarketPrice && info?.marketFee > 0 && (
<SpCell title='原价' value={<SpPrice value={info?.marketFee} size={28} />} /> <SpCell title='原价' value={<SpPrice value={info?.marketFee} size={28} />} />
)} )}
@@ -759,11 +759,10 @@ function TradeDetail(props) {
} }
})()} })()}
/> />
</View> </View>}
</View> </View>
{/* <View className='block-container'> {/* <View className='block-container'>
</View> */} </View> */}
{console.log(info, 'info------')}
{info?.prescriptionStatus > 0 && !supplement && ( {info?.prescriptionStatus > 0 && !supplement && (
<View className='block-container order-info'> <View className='block-container order-info'>
@@ -822,7 +821,7 @@ function TradeDetail(props) {
</View> </View>
)} )}
<View className='block-container order-info'> {info&& <View className='block-container order-info'>
<View className='block-container-label'>订单信息</View> <View className='block-container-label'>订单信息</View>
<SpCell <SpCell
title='订单编号' title='订单编号'
@@ -849,7 +848,7 @@ function TradeDetail(props) {
/> />
)} )}
{cancelData && <SpCell title='取消原因' value={cancelData?.cancel_reason} />} {cancelData && <SpCell title='取消原因' value={cancelData?.cancel_reason} />}
</View> </View>}
<View className='padding-view'></View> <View className='padding-view'></View>
</ScrollView> </ScrollView>