feat(充值页面): 身份图标条件显隐
This commit is contained in:
parent
d1a736197c
commit
c75b3aba14
@ -79,7 +79,12 @@
|
||||
<div style="">
|
||||
<div style="font-weight: 700; display: flex; align-items: center">
|
||||
{{ userProfile.userNickname }}
|
||||
<img src="../assets/icon/RA.png" alt="" style="height: 20px; margin-left: 5px" />
|
||||
<img
|
||||
src="../assets/icon/RA.png"
|
||||
alt=""
|
||||
style="height: 20px; margin-left: 5px"
|
||||
v-if="isFreightAgent"
|
||||
/>
|
||||
</div>
|
||||
<div style="font-weight: 500; color: rgba(0, 0, 0, 0.4)">ID:{{ userProfile.id }}</div>
|
||||
</div>
|
||||
@ -181,6 +186,7 @@ const listBt = () => {
|
||||
const applicationId = ref('1963531459019739137')
|
||||
const userProfile = ref({}) //用户信息
|
||||
const type = ref('') //用户身份
|
||||
const isFreightAgent = ref(false)
|
||||
|
||||
const regionId = ref('') //区域id
|
||||
|
||||
@ -242,6 +248,7 @@ const setChannelName = (channelName) => {
|
||||
|
||||
onMounted(async () => {
|
||||
type.value = route.params.type || 'GOLD'
|
||||
isFreightAgent.value = route.query.isFreightAgent === 'true'
|
||||
|
||||
const PayAplication = await getPayAplication(applicationId.value)
|
||||
console.log('PayAplication:', PayAplication)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user