zhengyiming
2025-03-13 07d73df3d817d01ce47f6c7b7a8d8514cd389295
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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>