From 915424730f27445da2e8de13b62e77179cc1a15a Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 18 八月 2025 17:07:39 +0800
Subject: [PATCH] fix: 关闭移动充值渠道,打开电信充值渠道
---
apps/taro/src/components/Layout/PageLayoutWithBg.vue | 39 ++++++++++++++++++++-------------------
1 files changed, 20 insertions(+), 19 deletions(-)
diff --git a/apps/taro/src/components/Layout/PageLayoutWithBg.vue b/apps/taro/src/components/Layout/PageLayoutWithBg.vue
index 1c6a9a9..281a879 100644
--- a/apps/taro/src/components/Layout/PageLayoutWithBg.vue
+++ b/apps/taro/src/components/Layout/PageLayoutWithBg.vue
@@ -1,19 +1,23 @@
<template>
- <PageLayout v-bind="props">
- <template #navigationBar>
- <TransparentNavigationBar :title="title" :is-absolute="false">
- <template #left>
- <slot name="left"></slot>
- </template>
- </TransparentNavigationBar>
- </template>
- <template #bg>
+ <div class="page-layout-container">
+ <slot name="bg">
<img :src="OssAssets.common.CommonPageBg" class="common-page-bg" />
- </template>
- <template #default="{ scrollViewHeight }">
- <slot :scrollViewHeight="scrollViewHeight" />
- </template>
- </PageLayout>
+ </slot>
+ <PageLayout v-bind="props">
+ <template #navigationBar>
+ <slot name="navigationBar">
+ <TransparentNavigationBar :title="title" :is-absolute="false">
+ <template #left>
+ <slot name="left"></slot>
+ </template>
+ </TransparentNavigationBar>
+ </slot>
+ </template>
+ <template #default="{ scrollViewHeight }">
+ <slot :scrollViewHeight="scrollViewHeight" />
+ </template>
+ </PageLayout>
+ </div>
</template>
<script setup lang="ts">
@@ -21,16 +25,13 @@
import TransparentNavigationBar from '../NavigationBar/TransparentNavigationBar.vue';
import _ from 'lodash';
import { OssAssets } from '@/constants';
+import { pageLayoutProps } from './layout';
defineOptions({
name: 'PageLayoutWithBg',
});
-type Props = {
- title?: string;
-};
-
-const props = withDefaults(defineProps<Props>(), {});
+const props = defineProps(pageLayoutProps);
</script>
<style lang="scss">
--
Gitblit v1.9.1