From b61e0dd54ca5adf96bea4fd1f92d498fe5245ff4 Mon Sep 17 00:00:00 2001 From: wupengfei <834520024@qq.com> Date: 星期五, 14 二月 2025 09:13:27 +0800 Subject: [PATCH] feat: mine --- apps/bMiniApp/src/components/Chunk/Cell.vue | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/apps/bMiniApp/src/components/Chunk/Cell.vue b/apps/bMiniApp/src/components/Chunk/Cell.vue index 81a39f9..5aec162 100644 --- a/apps/bMiniApp/src/components/Chunk/Cell.vue +++ b/apps/bMiniApp/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> @@ -30,9 +32,9 @@ .bole-cell-wrapper { background: #ffffff; - border-radius: 8px; - padding: 24px 28px; - margin-bottom: 24px; + border-radius: 12px; + padding: 36px 34px; + margin-bottom: 20px; .cell-title-wrapper { display: flex; @@ -64,9 +66,9 @@ .cell-title-large { font-weight: 600; - font-size: 32px; + font-size: 30px; color: boleGetCssVar('text-color', 'primary'); - line-height: 44px; + line-height: 42px; @include ellipsis; } } -- Gitblit v1.9.1