This commit is contained in:
oneao committed 2025-09-22 17:30:00 +08:00
1 parent a8f3e58a27
commit f8963da889
28 files changed
+863 -208

No files matched your search

@@ -0,0 +1,25 @@
import { defineComponent } from 'vue'
import { getPrefixCls } from '../_utils/getPrefixCls'
export default defineComponent({
name: 'DescriptionsGroup',
props: {
class: {
type: [String, Array, Object],
default: '',
},
style: {
type: Object,
default: () => ({}),
},
},
emits: [],
setup(props, { slots, emit }) {
const prefixCls = getPrefixCls('descriptions-group')
return () => (
<div class={[prefixCls, props.class]} style={{ ...props.style }}>
{slots.default?.()}
</div>
)
},
})
@@ -0,0 +1,25 @@
import { defineComponent } from 'vue'
import { getPrefixCls } from '../_utils/getPrefixCls'
export default defineComponent({
name: 'Descriptions',
props: {
class: {
type: [String, Array, Object],
default: '',
},
style: {
type: Object,
default: () => ({}),
},
},
emits: [],
setup(props, { slots, emit }) {
const prefixCls = getPrefixCls('descriptions')
return () => (
<div class={[prefixCls, props.class]} style={{ ...props.style }}>
{slots.default?.()}
</div>
)
},
})
@@ -0,0 +1,7 @@
@use '../_styles/_variables.scss' as *;
@use 'sass:color';
$descriptions-prefix: '#{$prefix}-descriptions';
.#{$descriptions-prefix} {
}