apps/cMiniApp/src/components/Chunk/Cell.vue
@@ -1,6 +1,6 @@ <template> <div class="bole-cell-wrapper"> <div class="cell-title-wrapper"> <div class="cell-title-wrapper" v-if="showTitle"> <slot name="title"> <div :class="titleSize === 'normal' ? 'cell-title' : 'cell-title-large'">{{ title }}</div> <slot name="title-right"></slot> @@ -18,10 +18,12 @@ type Props = { title?: string; titleSize?: 'large' | 'normal'; showTitle?: boolean; }; const props = withDefaults(defineProps<Props>(), { titleSize: 'normal', showTitle: true, }); </script>