🎈 perf(个人页面补充预存款与账期页面跳转):
This commit is contained in:
parent
c7da1a1b25
commit
b99586c9d5
@ -277,6 +277,11 @@
|
||||
}
|
||||
}
|
||||
.bottom_version {
|
||||
padding-top: 20px;
|
||||
padding: 20px 0;
|
||||
font-size: 24px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
color: #ccc;
|
||||
}
|
||||
}
|
||||
|
||||
@ -36,10 +36,12 @@ export default () => {
|
||||
{
|
||||
label: '预存货款(元)',
|
||||
value: formatPriceDiv(priceState?.data?.wallet_money || 0, 100, true),
|
||||
url: '/pages/depositBeforehand/index',
|
||||
},
|
||||
{
|
||||
label: '账期货款(元)',
|
||||
value: formatPriceDiv(priceState?.data.credit_line || 0, 100, true),
|
||||
url: '/pages/creditLine/index',
|
||||
},
|
||||
]
|
||||
}, [priceState])
|
||||
@ -123,7 +125,7 @@ export default () => {
|
||||
{userInfo?.adminUserInfo?.order_access_status == 3 && <View className={styles.price_count}>
|
||||
<View className={styles.price_count_list}>
|
||||
{priceList?.map((item, index) => {
|
||||
return <View key={index} className={styles.list_item} >
|
||||
return <View key={index} className={styles.list_item} onClick={() => goLink(item.url)}>
|
||||
<Text className={styles.list_item_title}>{item.label}</Text>
|
||||
<View className={styles.list_item_number}><Text>¥</Text> {item.value}</View>
|
||||
</View>
|
||||
@ -172,8 +174,8 @@ export default () => {
|
||||
</View>
|
||||
</View>
|
||||
<View className={styles.bottom_version}>
|
||||
<View style={{ fontSize: '26rpx', color: '#707070', textAlign: 'center' }}>{current_version}</View>
|
||||
{current_env !== 'production' && <View style={{ fontSize: '26rpx', color: '#707070', textAlign: 'center' }}>{BASE_URL}</View>}
|
||||
<View >{current_version}</View>
|
||||
{current_env !== 'production' && <View >{BASE_URL}</View>}
|
||||
</View>
|
||||
<Customer show={customer_service_show} onClose={customerClose} />
|
||||
</View>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user