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/Layout/PageLayoutWithBg.vue | 40 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/apps/h5/src/components/Layout/PageLayoutWithBg.vue b/apps/h5/src/components/Layout/PageLayoutWithBg.vue
new file mode 100644
index 0000000..2ec1fdc
--- /dev/null
+++ b/apps/h5/src/components/Layout/PageLayoutWithBg.vue
@@ -0,0 +1,40 @@
+<template>
+ <PageLayout v-bind="props">
+ <template #navigationBar>
+ <TransparentNavigationBar :title="title" :is-absolute="false"></TransparentNavigationBar>
+ </template>
+ <template #default>
+ <img :src="IconBg" class="common-page-bg" />
+ <slot />
+ </template>
+ </PageLayout>
+</template>
+
+<script setup lang="ts">
+import PageLayout from './PageLayout.vue';
+import IconBg from '@/assets/components/icon-page-bg.png';
+import TransparentNavigationBar from '../NavigationBar/TransparentNavigationBar.vue';
+
+defineOptions({
+ name: 'PageLayoutWithBg',
+});
+
+type Props = {
+ title?: string;
+};
+
+const props = withDefaults(defineProps<Props>(), {});
+</script>
+
+<style lang="scss" scoped>
+@use '@/style/common.scss' as *;
+
+.common-page-bg {
+ position: fixed;
+ top: 0;
+ left: 0;
+ z-index: -1;
+ width: 100%;
+ object-fit: cover;
+}
+</style>
--
Gitblit v1.9.1