feat(头部组件): 返回功能和返回图标修复

This commit is contained in:
hzj 2025-10-24 20:36:24 +08:00
parent 45191092c8
commit 2b4f8c665a
2 changed files with 10 additions and 2 deletions

View File

@ -92,7 +92,14 @@ const route = useRoute()
const isInAppEnvironment = ref(false) 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(() => { const isCurrentlyHomePage = computed(() => {

View File

@ -4,7 +4,7 @@
style="width: 100%" style="width: 100%"
title="Cash out" title="Cash out"
color="color: rgba(0, 0, 0, 0.80)" color="color: rgba(0, 0, 0, 0.80)"
backImg="/src/assets/icon/arrowBackBlack.png" :backImg="imgUrl"
/> />
<div style="padding: 16px"> <div style="padding: 16px">
@ -199,6 +199,7 @@ const router = useRouter()
const route = useRoute() const route = useRoute()
const activityId = route.query.activityId || '' const activityId = route.query.activityId || ''
const imgUrl = new URL('../../../assets/icon/arrowBackBlack.png', import.meta.url).href
const maskLayerShow = ref(false) const maskLayerShow = ref(false)
const currentAmount = ref(0) // const currentAmount = ref(0) //