chore(头部组件): 默认返回键调整

This commit is contained in:
hzj 2025-12-12 18:21:08 +08:00
parent 38d4ee7724
commit a532779f31
11 changed files with 4 additions and 25 deletions

View File

@ -127,7 +127,7 @@ const props = defineProps({
backImg: {
type: String,
default: () => {
return new URL('../assets/icon/arrowBack.png', import.meta.url).href
return new URL('../assets/icon/arrowBackBlack.png', import.meta.url).href
},
},

View File

@ -5,7 +5,6 @@
<GeneralHeader
:showLanguageList="true"
:title="t('item_distribution')"
:backImg="imgUrl"
color="black"
style="box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 999"
/>
@ -162,8 +161,6 @@ import maskLayer from '@/components/MaskLayer.vue'
const { t, locale } = useI18n()
const imgUrl = new URL('/src/assets/icon/arrowBackBlack.png', import.meta.url).href
const tabList = ref([
{
id: 1,

View File

@ -5,7 +5,6 @@
<GeneralHeader
:showLanguageList="true"
:title="t('my_linked_recharge_agent')"
:backImg="imgUrl"
color="black"
style="box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 999"
/>
@ -172,8 +171,6 @@ import { getAgencyList, getAgencyTotalRecharge } from '@/api/userInfo'
import GeneralHeader from '@/components/GeneralHeader.vue'
const imgUrl = new URL('/src/assets/icon/arrowBackBlack.png', import.meta.url).href
const router = useRouter()
const { t, locale } = useI18n()

View File

@ -6,7 +6,6 @@
:isHomePage="true"
:showLanguageList="true"
:title="t('admin_center')"
:backImg="imgUrl"
color="black"
style="box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 999"
/>
@ -441,8 +440,6 @@ import {
import GeneralHeader from '@/components/GeneralHeader.vue'
const imgUrl = new URL('/src/assets/icon/arrowBackBlack.png', import.meta.url).href
const { t, locale } = useI18n()
const router = useRouter()
const identityStore = useIdentityStore()

View File

@ -3,7 +3,6 @@
<!-- 顶部导航 -->
<GeneralHeader
:title="t('admin_policy')"
:backImg="imgUrl"
color="black"
style="box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 999"
/>
@ -60,8 +59,6 @@ const currentLangType = computed(() => {
const policyImgUrl = ref('') //
const imgUrl = new URL('/src/assets/icon/arrowBackBlack.png', import.meta.url).href
//
const preloadCriticalImages = () => {
const criticalImages = [

View File

@ -3,7 +3,6 @@
<!-- 顶部导航 -->
<GeneralHeader
:title="title"
:backImg="imgUrl"
color="black"
style="box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 999"
/>
@ -24,8 +23,6 @@ import { useI18n } from 'vue-i18n'
import GeneralHeader from '@/components/GeneralHeader.vue'
const imgUrl = new URL('/src/assets/icon/arrowBackBlack.png', import.meta.url).href
const route = useRoute()
const { t, locale } = useI18n()

View File

@ -5,6 +5,7 @@
<GeneralHeader
:isHomePage="true"
:showHelp="true"
:backImg="imgUrl"
:title="t('invitation_to_register')"
@help="helpInfoShow = true"
/>
@ -516,6 +517,8 @@ import GeneralHeader from '@/components/GeneralHeader.vue'
import itemCenter from '@/components/itemCenter.vue'
import maskLayer from '@/components/MaskLayer.vue'
const imgUrl = new URL('/src/assets/icon/arrowBack.png', import.meta.url).href
const { t } = useI18n()
const langStore = useLangStore()
//

View File

@ -6,7 +6,6 @@
<GeneralHeader
:isHomePage="true"
:title="$t('recharge')"
:backImg="imgUrl"
:showHelp="true"
:helpImg="helpImg"
@help="popupHelp"
@ -134,7 +133,6 @@ import { searchUser } from '@/api/userInfo'
import GeneralHeader from '@/components/GeneralHeader.vue'
import maskLayer from '@/components/MaskLayer.vue'
const imgUrl = new URL('/src/assets/icon/arrowBackBlack.png', import.meta.url).href
const helpImg = new URL('/src/assets/icon/help.png', import.meta.url).href
const targetUserStore = useTargetUser()
const router = useRouter()

View File

@ -4,7 +4,6 @@
<!-- 顶部导航 -->
<GeneralHeader
:title="$t('select_country')"
:backImg="imgUrl"
color="black"
style="box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 999"
/>
@ -77,8 +76,6 @@ import { useCountryStore } from '@/stores/country'
import GeneralHeader from '@/components/GeneralHeader.vue'
const imgUrl = new URL('/src/assets/icon/arrowBackBlack.png', import.meta.url).href
const router = useRouter()
const countryStore = useCountryStore()
// const { list: countryList, selectedCountry } = storeToRefs(countryStore) //store

View File

@ -5,7 +5,6 @@
<GeneralHeader
:showLanguageList="true"
:title="$t('recharge')"
:backImg="imgUrl"
color="black"
style="box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 999"
/>
@ -210,7 +209,6 @@ import GeneralHeader from '@/components/GeneralHeader.vue'
// OSSURL
const imageUrl = (filename) => getPngUrl('Recharge/', filename)
const imgUrl = new URL('/src/assets/icon/arrowBackBlack.png', import.meta.url).href
const countryStore = useCountryStore()
const targetUserStore = useTargetUser()

View File

@ -4,7 +4,6 @@
<GeneralHeader
:showLanguageList="true"
:title="t('cash_out')"
:backImg="imgUrl"
style="width: 100%"
color="rgba(0, 0, 0, 0.80)"
/>
@ -208,7 +207,6 @@ const route = useRoute()
locale.value && setDocumentDirection(locale.value)
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) //