| | |
| | | <slot name="title"> |
| | | <div class="income-detail-list-item-title"> |
| | | <div class="income-detail-list-item-title-text">{{ title }}</div> |
| | | <div class="income-detail-list-item-title-value">{{ funds }}</div> |
| | | <div class="income-detail-list-item-title-value">{{ toThousand(funds) }}</div> |
| | | </div> |
| | | </slot> |
| | | <div class="income-detail-list-item-content"> |
| | |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import { toThousand } from '@12333/utils'; |
| | | |
| | | defineOptions({ |
| | | name: 'IncomeDetailListItem', |
| | | }); |
| | | |
| | | type Props = { |
| | | title?: string; |
| | | funds?: string; |
| | | funds?: number; |
| | | item?: string; |
| | | value?: string; |
| | | showValue?: boolean; |