This commit is contained in:
icssoa
2025-07-29 16:16:06 +08:00
parent 752beb9437
commit db2cfc8e59
10 changed files with 43 additions and 26 deletions

View File

@@ -18,7 +18,7 @@
<text class="text-surface-400 text-md">{{ config.description }}</text>
</view>
<view class="cl-action-sheet__list">
<view class="cl-action-sheet__list" :class="[pt.list?.className]">
<view
class="cl-action-sheet__item"
:class="[`${isDark ? '!bg-surface-800' : 'bg-white'}`, pt.item?.className]"
@@ -76,6 +76,7 @@ const props = defineProps({
type PassThrough = {
className?: string; // 根元素类名
item?: PassThroughProps; // 列表项样式
list?: PassThroughProps; // 列表样式
};
// 解析透传样式配置