This commit is contained in:
X1627315083
2025-01-02 11:47:09 +08:00
parent e20fae0c95
commit d053a8c92b
12 changed files with 77 additions and 50 deletions

View File

@@ -2,9 +2,9 @@
<div class="account_frontPage">
<a-tabs class="account_frontPage_body" v-model:activeKey="activeKey" @change="changeTabs">
<a-tab-pane v-for="item in frontPageList" :key="item.key">
<myInformation v-if="item.key == 'myInformation'" :ref="item.key"></myInformation>
<bind v-if="item.key == 'bind'" :ref="item.key"></bind>
<cancelRenewal v-if="item.key == 'cancelRenewal'" :ref="item.key"></cancelRenewal>
<myInformation v-if="item.key == 'myInformation' && activeKey == 'myInformation'" :ref="item.key"></myInformation>
<bind v-if="item.key == 'bind' && activeKey == 'bind'" :ref="item.key"></bind>
<cancelRenewal v-if="item.key == 'cancelRenewal' && activeKey == 'cancelRenewal'" :ref="item.key"></cancelRenewal>
<template #tab>
<a-badge :count="0" >
<span>{{item.title}}</span>

View File

@@ -46,7 +46,7 @@
<a-spin size="large" />
</div>
<weiXinModel ref="weiXinModel"></weiXinModel>
<bindEmail ref="bindEmail" type="Modify"></bindEmail>
<bindEmail ref="bindEmail"></bindEmail>
</div>
</template>
<script>
@@ -129,7 +129,7 @@ export default defineComponent({
})
}
const modifyEmail = ()=>{
bindPageDom.bindEmail.init()
bindPageDom.bindEmail.init('Modify')
}
onMounted(async ()=>{

View File

@@ -1,6 +1,7 @@
<template>
<div class="accountEdit_page">
<div class="accountEdit_page_head">
<div>{{ $t('account.UpdateAvatar') }}</div>
<div class="upload_item">
<div class="upload_file_item">
<a-upload