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
  | <template> 
 |    <div class="mine-page-top-view"> 
 |      <slot name="avatar"></slot> 
 |      <slot></slot> 
 |    </div> 
 |  </template> 
 |    
 |  <script setup lang="ts"> 
 |  defineOptions({ 
 |    name: 'UserHomeTopView', 
 |  }); 
 |    
 |  type Props = { 
 |    showUserHomePageBtn?: boolean; 
 |    showOperation?: boolean; 
 |  }; 
 |    
 |  const props = withDefaults(defineProps<Props>(), { 
 |    showUserHomePageBtn: false, 
 |    showOperation: false, 
 |  }); 
 |  </script> 
 |    
 |  <style lang="scss"> 
 |  @import '@/styles/common.scss'; 
 |    
 |  .mine-page-top-view { 
 |    display: flex; 
 |    flex-direction: column; 
 |    background-color: #ffffff; 
 |    border-radius: 12px; 
 |    padding: 30px 20px 0; 
 |    margin-top: 30px; 
 |  } 
 |  </style> 
 |  
  |