From 314dcacdeecec4dff192b78bad5124b1b29a453d Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期四, 20 二月 2025 15:07:36 +0800 Subject: [PATCH] fix: 页面 --- apps/h5/src/components/PageFooter/PageFooterBtn.vue | 35 +++++++++++++++++++++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/apps/h5/src/components/PageFooter/PageFooterBtn.vue b/apps/h5/src/components/PageFooter/PageFooterBtn.vue new file mode 100644 index 0000000..48662f3 --- /dev/null +++ b/apps/h5/src/components/PageFooter/PageFooterBtn.vue @@ -0,0 +1,35 @@ +<template> + <el-button type="primary" :class="['page-footer-btn', { hasMargin }]"> + <slot></slot> + </el-button> +</template> + +<script setup lang="ts"> +defineOptions({ + name: 'PageFooterBtn', +}); + +type Props = { + hasMargin?: boolean; +}; + +const props = withDefaults(defineProps<Props>(), { + hasMargin: true, +}); +</script> + +<style lang="scss" scoped> +@use '@/style/common.scss' as *; + +.page-footer-btn { + min-width: 0; + height: 44px !important; + font-size: 16px; + border-radius: 22px; + flex: 1; + + &.hasMargin { + margin: 0 14px; + } +} +</style> -- Gitblit v1.9.1