From 876a44a82852df5845bf9105e80c98a051f863ff Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期三, 12 十一月 2025 17:55:20 +0800
Subject: [PATCH] feat: 1.3.0.2
---
packages/components/src/List/IncomeDetailListItem.vue | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/packages/components/src/List/IncomeDetailListItem.vue b/packages/components/src/List/IncomeDetailListItem.vue
index 80fd078..6a9fd4d 100644
--- a/packages/components/src/List/IncomeDetailListItem.vue
+++ b/packages/components/src/List/IncomeDetailListItem.vue
@@ -1,5 +1,5 @@
<template>
- <div class="income-detail-list-item">
+ <div class="income-detail-list-item" :class="{ hasPaddingH }">
<div class="income-detail-list-item-inner" :class="{ 'border-none': !showBorder }">
<slot name="title">
<div class="income-detail-list-item-title">
@@ -29,11 +29,13 @@
value?: string;
showValue?: boolean;
showBorder?: boolean;
+ hasPaddingH?: boolean;
};
const props = withDefaults(defineProps<Props>(), {
showValue: true,
showBorder: true,
+ hasPaddingH: false,
});
</script>
@@ -41,7 +43,9 @@
@import '@/styles/common.scss';
.income-detail-list-item {
- padding: 0 boleGetCssVar('size', 'body-padding-h');
+ &.hasPaddingH {
+ padding: 0 boleGetCssVar('size', 'body-padding-h');
+ }
.income-detail-list-item-inner {
padding: 24px 0 18px;
--
Gitblit v1.9.1