refactor: profile

This commit is contained in:
xingyu4j
2022-11-16 16:01:36 +08:00
parent fab2366d55
commit 770bf45f01
9 changed files with 298 additions and 267 deletions

View File

@@ -1,11 +1,3 @@
<script setup lang="ts">
import { ref } from 'vue'
import { useI18n } from '@/hooks/web/useI18n'
import { ElCard, ElTabs, ElTabPane } from 'element-plus'
import { BasicInfo, ProfileUser, ResetPwd, UserSocial } from './components/'
const { t } = useI18n()
const activeName = ref('basicInfo')
</script>
<template>
<div class="flex">
<el-card class="w-1/3 user" shadow="hover">
@@ -38,6 +30,15 @@ const activeName = ref('basicInfo')
</el-card>
</div>
</template>
<script setup lang="ts">
import { ref } from 'vue'
import { useI18n } from '@/hooks/web/useI18n'
import { ElCard, ElTabs, ElTabPane } from 'element-plus'
import { BasicInfo, ProfileUser, ResetPwd, UserSocial } from './components/'
const { t } = useI18n()
const activeName = ref('basicInfo')
</script>
<style scoped>
.user {
max-height: 960px;