From 3f7e4f5dc89127eeab326fbc4b31a545f515a376 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期一, 20 十月 2025 15:24:15 +0800 Subject: [PATCH] fix: bug --- packages/components/src/List/IncomeDetailListItem.vue | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/packages/components/src/List/IncomeDetailListItem.vue b/packages/components/src/List/IncomeDetailListItem.vue index b53e501..7d8e68c 100644 --- a/packages/components/src/List/IncomeDetailListItem.vue +++ b/packages/components/src/List/IncomeDetailListItem.vue @@ -4,25 +4,27 @@ <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"> <div class="income-detail-list-item-content-item">{{ item }}</div> - <div class="income-detail-list-item-content-value" v-if="showValue">{{ value }}</div> + <!-- <div class="income-detail-list-item-content-value" v-if="showValue">{{ value }}</div> --> </div> </div> </div> </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; @@ -42,10 +44,12 @@ padding: 0 boleGetCssVar('size', 'body-padding-h'); .income-detail-list-item-inner { - padding: 24px 0 18px; - border-bottom: 1px solid #f6f6f6; display: flex; flex-direction: column; + background: #ffffff; + border-radius: 12px; + padding: 40px; + margin-bottom: 24px; &.border-none { border-bottom: none; -- Gitblit v1.9.1