feat(头部组件): 返回功能和返回图标修复
This commit is contained in:
parent
45191092c8
commit
2b4f8c665a
@ -92,7 +92,14 @@ const route = useRoute()
|
||||
const isInAppEnvironment = ref(false)
|
||||
|
||||
// 定义首页路由列表
|
||||
const homeRoutes = ['/host-center', '/agency-center', '/coin-seller', '/']
|
||||
const homeRoutes = [
|
||||
'/host-center',
|
||||
'/agency-center',
|
||||
'/coin-seller',
|
||||
'/invitation-to-register',
|
||||
'/lottery',
|
||||
'/',
|
||||
]
|
||||
|
||||
// 计算是否为首页
|
||||
const isCurrentlyHomePage = computed(() => {
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
style="width: 100%"
|
||||
title="Cash out"
|
||||
color="color: rgba(0, 0, 0, 0.80)"
|
||||
backImg="/src/assets/icon/arrowBackBlack.png"
|
||||
:backImg="imgUrl"
|
||||
/>
|
||||
|
||||
<div style="padding: 16px">
|
||||
@ -199,6 +199,7 @@ const router = useRouter()
|
||||
const route = useRoute()
|
||||
|
||||
const activityId = route.query.activityId || ''
|
||||
const imgUrl = new URL('../../../assets/icon/arrowBackBlack.png', import.meta.url).href
|
||||
|
||||
const maskLayerShow = ref(false)
|
||||
const currentAmount = ref(0) //可提现金额
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user