From 1910e9f27373b8b4da75f076762025ceb3419965 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 12 六月 2025 15:40:50 +0800
Subject: [PATCH] fix: 暂时隐藏电信充值通道
---
apps/h5/src/components/PageFooter/PageFooterBtn.vue | 31 ++++++++++++++++---------------
1 files changed, 16 insertions(+), 15 deletions(-)
diff --git a/apps/h5/src/components/PageFooter/PageFooterBtn.vue b/apps/h5/src/components/PageFooter/PageFooterBtn.vue
index 204c530..48662f3 100644
--- a/apps/h5/src/components/PageFooter/PageFooterBtn.vue
+++ b/apps/h5/src/components/PageFooter/PageFooterBtn.vue
@@ -1,7 +1,7 @@
<template>
- <nut-button class="page-footer-btn">
+ <el-button type="primary" :class="['page-footer-btn', { hasMargin }]">
<slot></slot>
- </nut-button>
+ </el-button>
</template>
<script setup lang="ts">
@@ -9,26 +9,27 @@
name: 'PageFooterBtn',
});
-// type Props = {
-// text;
-// };
+type Props = {
+ hasMargin?: boolean;
+};
-// const props = withDefaults(defineProps<Props>(), {});
+const props = withDefaults(defineProps<Props>(), {
+ hasMargin: true,
+});
</script>
-<style lang="scss">
-@import '@/styles/common.scss';
+<style lang="scss" scoped>
+@use '@/style/common.scss' as *;
.page-footer-btn {
- flex: 1;
min-width: 0;
- height: 88px;
- font-size: 32px;
- margin: 0 28px;
- border-radius: 44px;
+ height: 44px !important;
+ font-size: 16px;
+ border-radius: 22px;
+ flex: 1;
- &.nut-button--plain {
- border-width: 1px;
+ &.hasMargin {
+ margin: 0 14px;
}
}
</style>
--
Gitblit v1.9.1