chore(头部组件): 默认返回键调整
This commit is contained in:
parent
38d4ee7724
commit
a532779f31
@ -127,7 +127,7 @@ const props = defineProps({
|
|||||||
backImg: {
|
backImg: {
|
||||||
type: String,
|
type: String,
|
||||||
default: () => {
|
default: () => {
|
||||||
return new URL('../assets/icon/arrowBack.png', import.meta.url).href
|
return new URL('../assets/icon/arrowBackBlack.png', import.meta.url).href
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,6 @@
|
|||||||
<GeneralHeader
|
<GeneralHeader
|
||||||
:showLanguageList="true"
|
:showLanguageList="true"
|
||||||
:title="t('item_distribution')"
|
:title="t('item_distribution')"
|
||||||
:backImg="imgUrl"
|
|
||||||
color="black"
|
color="black"
|
||||||
style="box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 999"
|
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 { t, locale } = useI18n()
|
||||||
|
|
||||||
const imgUrl = new URL('/src/assets/icon/arrowBackBlack.png', import.meta.url).href
|
|
||||||
|
|
||||||
const tabList = ref([
|
const tabList = ref([
|
||||||
{
|
{
|
||||||
id: 1,
|
id: 1,
|
||||||
|
|||||||
@ -5,7 +5,6 @@
|
|||||||
<GeneralHeader
|
<GeneralHeader
|
||||||
:showLanguageList="true"
|
:showLanguageList="true"
|
||||||
:title="t('my_linked_recharge_agent')"
|
:title="t('my_linked_recharge_agent')"
|
||||||
:backImg="imgUrl"
|
|
||||||
color="black"
|
color="black"
|
||||||
style="box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 999"
|
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'
|
import GeneralHeader from '@/components/GeneralHeader.vue'
|
||||||
|
|
||||||
const imgUrl = new URL('/src/assets/icon/arrowBackBlack.png', import.meta.url).href
|
|
||||||
|
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const { t, locale } = useI18n()
|
const { t, locale } = useI18n()
|
||||||
|
|
||||||
|
|||||||
@ -6,7 +6,6 @@
|
|||||||
:isHomePage="true"
|
:isHomePage="true"
|
||||||
:showLanguageList="true"
|
:showLanguageList="true"
|
||||||
:title="t('admin_center')"
|
:title="t('admin_center')"
|
||||||
:backImg="imgUrl"
|
|
||||||
color="black"
|
color="black"
|
||||||
style="box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 999"
|
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'
|
import GeneralHeader from '@/components/GeneralHeader.vue'
|
||||||
|
|
||||||
const imgUrl = new URL('/src/assets/icon/arrowBackBlack.png', import.meta.url).href
|
|
||||||
|
|
||||||
const { t, locale } = useI18n()
|
const { t, locale } = useI18n()
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const identityStore = useIdentityStore()
|
const identityStore = useIdentityStore()
|
||||||
|
|||||||
@ -3,7 +3,6 @@
|
|||||||
<!-- 顶部导航 -->
|
<!-- 顶部导航 -->
|
||||||
<GeneralHeader
|
<GeneralHeader
|
||||||
:title="t('admin_policy')"
|
:title="t('admin_policy')"
|
||||||
:backImg="imgUrl"
|
|
||||||
color="black"
|
color="black"
|
||||||
style="box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 999"
|
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 policyImgUrl = ref('') //政策图
|
||||||
|
|
||||||
const imgUrl = new URL('/src/assets/icon/arrowBackBlack.png', import.meta.url).href
|
|
||||||
|
|
||||||
// 预加载关键图片
|
// 预加载关键图片
|
||||||
const preloadCriticalImages = () => {
|
const preloadCriticalImages = () => {
|
||||||
const criticalImages = [
|
const criticalImages = [
|
||||||
|
|||||||
@ -3,7 +3,6 @@
|
|||||||
<!-- 顶部导航 -->
|
<!-- 顶部导航 -->
|
||||||
<GeneralHeader
|
<GeneralHeader
|
||||||
:title="title"
|
:title="title"
|
||||||
:backImg="imgUrl"
|
|
||||||
color="black"
|
color="black"
|
||||||
style="box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 999"
|
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'
|
import GeneralHeader from '@/components/GeneralHeader.vue'
|
||||||
|
|
||||||
const imgUrl = new URL('/src/assets/icon/arrowBackBlack.png', import.meta.url).href
|
|
||||||
|
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
const { t, locale } = useI18n()
|
const { t, locale } = useI18n()
|
||||||
|
|
||||||
|
|||||||
@ -5,6 +5,7 @@
|
|||||||
<GeneralHeader
|
<GeneralHeader
|
||||||
:isHomePage="true"
|
:isHomePage="true"
|
||||||
:showHelp="true"
|
:showHelp="true"
|
||||||
|
:backImg="imgUrl"
|
||||||
:title="t('invitation_to_register')"
|
:title="t('invitation_to_register')"
|
||||||
@help="helpInfoShow = true"
|
@help="helpInfoShow = true"
|
||||||
/>
|
/>
|
||||||
@ -516,6 +517,8 @@ import GeneralHeader from '@/components/GeneralHeader.vue'
|
|||||||
import itemCenter from '@/components/itemCenter.vue'
|
import itemCenter from '@/components/itemCenter.vue'
|
||||||
import maskLayer from '@/components/MaskLayer.vue'
|
import maskLayer from '@/components/MaskLayer.vue'
|
||||||
|
|
||||||
|
const imgUrl = new URL('/src/assets/icon/arrowBack.png', import.meta.url).href
|
||||||
|
|
||||||
const { t } = useI18n()
|
const { t } = useI18n()
|
||||||
const langStore = useLangStore()
|
const langStore = useLangStore()
|
||||||
// 当前语言类型
|
// 当前语言类型
|
||||||
|
|||||||
@ -6,7 +6,6 @@
|
|||||||
<GeneralHeader
|
<GeneralHeader
|
||||||
:isHomePage="true"
|
:isHomePage="true"
|
||||||
:title="$t('recharge')"
|
:title="$t('recharge')"
|
||||||
:backImg="imgUrl"
|
|
||||||
:showHelp="true"
|
:showHelp="true"
|
||||||
:helpImg="helpImg"
|
:helpImg="helpImg"
|
||||||
@help="popupHelp"
|
@help="popupHelp"
|
||||||
@ -134,7 +133,6 @@ import { searchUser } from '@/api/userInfo'
|
|||||||
import GeneralHeader from '@/components/GeneralHeader.vue'
|
import GeneralHeader from '@/components/GeneralHeader.vue'
|
||||||
import maskLayer from '@/components/MaskLayer.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 helpImg = new URL('/src/assets/icon/help.png', import.meta.url).href
|
||||||
const targetUserStore = useTargetUser()
|
const targetUserStore = useTargetUser()
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
|
|||||||
@ -4,7 +4,6 @@
|
|||||||
<!-- 顶部导航 -->
|
<!-- 顶部导航 -->
|
||||||
<GeneralHeader
|
<GeneralHeader
|
||||||
:title="$t('select_country')"
|
:title="$t('select_country')"
|
||||||
:backImg="imgUrl"
|
|
||||||
color="black"
|
color="black"
|
||||||
style="box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 999"
|
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'
|
import GeneralHeader from '@/components/GeneralHeader.vue'
|
||||||
|
|
||||||
const imgUrl = new URL('/src/assets/icon/arrowBackBlack.png', import.meta.url).href
|
|
||||||
|
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const countryStore = useCountryStore()
|
const countryStore = useCountryStore()
|
||||||
// const { list: countryList, selectedCountry } = storeToRefs(countryStore) //国家信息store双向绑定
|
// const { list: countryList, selectedCountry } = storeToRefs(countryStore) //国家信息store双向绑定
|
||||||
|
|||||||
@ -5,7 +5,6 @@
|
|||||||
<GeneralHeader
|
<GeneralHeader
|
||||||
:showLanguageList="true"
|
:showLanguageList="true"
|
||||||
:title="$t('recharge')"
|
:title="$t('recharge')"
|
||||||
:backImg="imgUrl"
|
|
||||||
color="black"
|
color="black"
|
||||||
style="box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 999"
|
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'
|
|||||||
|
|
||||||
// 获取OSS图片URL的函数
|
// 获取OSS图片URL的函数
|
||||||
const imageUrl = (filename) => getPngUrl('Recharge/', filename)
|
const imageUrl = (filename) => getPngUrl('Recharge/', filename)
|
||||||
const imgUrl = new URL('/src/assets/icon/arrowBackBlack.png', import.meta.url).href
|
|
||||||
|
|
||||||
const countryStore = useCountryStore()
|
const countryStore = useCountryStore()
|
||||||
const targetUserStore = useTargetUser()
|
const targetUserStore = useTargetUser()
|
||||||
|
|||||||
@ -4,7 +4,6 @@
|
|||||||
<GeneralHeader
|
<GeneralHeader
|
||||||
:showLanguageList="true"
|
:showLanguageList="true"
|
||||||
:title="t('cash_out')"
|
:title="t('cash_out')"
|
||||||
:backImg="imgUrl"
|
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
color="rgba(0, 0, 0, 0.80)"
|
color="rgba(0, 0, 0, 0.80)"
|
||||||
/>
|
/>
|
||||||
@ -208,7 +207,6 @@ const route = useRoute()
|
|||||||
locale.value && setDocumentDirection(locale.value)
|
locale.value && setDocumentDirection(locale.value)
|
||||||
|
|
||||||
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) //可提现金额
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user