zhengyiming
2025-02-10 0f686ea1fe4700a909a6159efcf1fcb0e1f88a17
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<template>
  <PageLayout class="user-page-wrapper" :need-auth="false">
    <template #navigationBar>
      <TransparentNavigationBar
        title="我的主页"
        :is-absolute="false"
        navigationArrowWhite
        mode="dark"
      ></TransparentNavigationBar>
    </template>
    <template #bg>
      <img :src="OssAssets.user.Bg" class="user-page-bg" />
    </template>
    <InnerPage />
  </PageLayout>
</template>
 
<script setup lang="ts">
import { PageLayout, TransparentNavigationBar } from '@/components';
import InnerPage from './InnerPage.vue';
import { OssAssets } from '@/constants';
 
defineOptions({
  name: 'userHomePage',
});
</script>
 
<style lang="scss">
@import '@/styles/common.scss';
 
.user-page-bg {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 678px;
  object-fit: cover;
}
</style>