zhengyiming
3 天以前 9453bef1fc4a3121b28ffa6617f0fbfc81d9f634
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<template>
  <div :class="['lp-chunk-wrapper', { hasPaddingBottom, borderRadiusSmall }]">
    <div class="lp-chunk-title" v-if="title">{{ title }}</div>
    <div class="lp-chunk-content">
      <slot></slot>
    </div>
  </div>
</template>
 
<script setup lang="ts">
defineOptions({
  name: 'Chunk',
});
 
type Props = {
  title?: string;
  hasPaddingBottom?: boolean;
  borderRadiusSmall?: boolean;
};
 
const props = withDefaults(defineProps<Props>(), {
  hasPaddingBottom: true,
});
</script>