From 80dc90be027ee26869c63860b7d6a0759a03546b Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期二, 20 五月 2025 17:33:53 +0800
Subject: [PATCH] fix: 修改首页ui

---
 apps/taro/src/subpackages/recharge/phoneBillRecharge/phoneBillRecharge.vue |   25 +++++++++++++++++++------
 1 files changed, 19 insertions(+), 6 deletions(-)

diff --git a/apps/taro/src/subpackages/recharge/phoneBillRecharge/phoneBillRecharge.vue b/apps/taro/src/subpackages/recharge/phoneBillRecharge/phoneBillRecharge.vue
index f813b87..eaf617a 100644
--- a/apps/taro/src/subpackages/recharge/phoneBillRecharge/phoneBillRecharge.vue
+++ b/apps/taro/src/subpackages/recharge/phoneBillRecharge/phoneBillRecharge.vue
@@ -1,20 +1,23 @@
 <template>
   <PageLayout
     class="phoneBillRecharge-page-wrapper"
-    :style="{
-      backgroundImage: `url(${OssAssets.common.PhoneBillRechargePageBg})`,
-    }"
+    :style="
+      current === 'step2' && {
+        backgroundImage: `url(${OssAssets.common.PhoneBillRechargePageBg})`,
+      }
+    "
+    :title="current != 'step2' && title"
   >
-    <template #navigationBar>
+    <template #navigationBar v-if="current === 'step2'">
       <TransparentNavigationBar
-        :title="'璇濊垂鍏呭��'"
+        :title="title"
         :is-absolute="false"
         mode="dark"
         navigationArrowWhite
       >
       </TransparentNavigationBar>
     </template>
-    <InnerPage />
+    <InnerPage @currentChange="handleCurrentChange" />
   </PageLayout>
 </template>
 
@@ -26,6 +29,16 @@
 defineOptions({
   name: 'phoneBillRecharge',
 });
+
+type Current = 'step1' | 'step2';
+
+const title = '璇濊垂鍏呭��';
+
+const current = ref<Current>();
+
+function handleCurrentChange(val: Current) {
+  current.value = val;
+}
 </script>
 
 <style lang="scss">

--
Gitblit v1.9.1