| <template> | 
|   <div class="withdraw-money-card"> | 
|     <div class="withdraw-money-card-value"> | 
|       <div class="withdraw-money-card-value-unit">¥</div> | 
|       <div class="withdraw-money-card-value-num">{{ toThousand(props.money ?? 0) }}</div> | 
|     </div> | 
|     <div class="withdraw-money-card-type">{{ props.title }}</div> | 
|   </div> | 
| </template> | 
|   | 
| <script setup lang="ts"> | 
| import { toThousand } from '@12333/utils'; | 
|   | 
| defineOptions({ | 
|   name: 'WithdrawMoneyCard', | 
| }); | 
|   | 
| type Props = { | 
|   money: number; | 
|   title: string; | 
| }; | 
|   | 
| const props = withDefaults(defineProps<Props>(), {}); | 
| </script> | 
|   | 
| <style lang="scss"> | 
| @import '@/styles/common.scss'; | 
|   | 
| .withdraw-money-card { | 
|   display: flex; | 
|   align-items: center; | 
|   justify-content: center; | 
|   flex-direction: column; | 
|   // background-color: #ffffff; | 
|   padding: 70px 0; | 
|   | 
|   .withdraw-money-card-value { | 
|     display: flex; | 
|     align-items: center; | 
|     font-weight: 600; | 
|     color: boleGetCssVar('text-color', 'primary'); | 
|   | 
|     .withdraw-money-card-value-unit { | 
|       font-size: 32px; | 
|     } | 
|   | 
|     .withdraw-money-card-value-num { | 
|       font-size: 64px; | 
|     } | 
|   } | 
|   | 
|   .withdraw-money-card-type { | 
|     margin-top: 10px; | 
|     font-weight: 400; | 
|     font-size: 28px; | 
|     color: boleGetCssVar('text-color', 'primary'); | 
|   } | 
| } | 
| </style> |