diff --git a/src/pages/user/index.module.scss b/src/pages/user/index.module.scss index 8eb59e9..aab2eea 100644 --- a/src/pages/user/index.module.scss +++ b/src/pages/user/index.module.scss @@ -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; } } diff --git a/src/pages/user/index.tsx b/src/pages/user/index.tsx index 4d683d8..12f545f 100644 --- a/src/pages/user/index.tsx +++ b/src/pages/user/index.tsx @@ -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 && {priceList?.map((item, index) => { - return + return goLink(item.url)}> {item.label} ¥ {item.value} @@ -172,8 +174,8 @@ export default () => { - {current_version} - {current_env !== 'production' && {BASE_URL}} + {current_version} + {current_env !== 'production' && {BASE_URL}}