From add9b3bb61fcc337b02c15e7973967d670e7d3be Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期三, 21 五月 2025 17:17:28 +0800
Subject: [PATCH] Merge branch 'dev-ui' of http://120.26.58.240:8888/r/LifePaymentFront into dev-ui
---
apps/taro/src/app.config.ts | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 55 insertions(+), 2 deletions(-)
diff --git a/apps/taro/src/app.config.ts b/apps/taro/src/app.config.ts
index 1452de5..70b6f04 100644
--- a/apps/taro/src/app.config.ts
+++ b/apps/taro/src/app.config.ts
@@ -1,3 +1,32 @@
+console.log('process.env.TARO_ENV', process.env.TARO_ENV);
+
+const tabberConifg =
+ process.env.TARO_ENV === 'h5'
+ ? ({} as any)
+ : {
+ tabBar: {
+ list: [
+ {
+ pagePath: 'pages/home/index',
+ iconPath: 'assets/tabbar/icon-home.png',
+ selectedIconPath: 'assets/tabbar/icon-home-active.png',
+ text: '棣栭〉',
+ },
+ {
+ pagePath: 'pages/mine/index',
+ iconPath: 'assets/tabbar/icon-mine.png',
+ selectedIconPath: 'assets/tabbar/icon-mine-active.png',
+ text: '鎴戠殑',
+ },
+ ],
+ color: '#333',
+ selectedColor: '#028CFF',
+ backgroundColor: '#fff',
+ borderStyle: 'black',
+ custom: true,
+ },
+ };
+
export default defineAppConfig({
entryPagePath: 'pages/home/index',
pages: ['pages/home/index', 'pages/mine/index'],
@@ -32,8 +61,8 @@
text: '鎴戠殑',
},
],
- color: '#333',
- selectedColor: '#3a71ff',
+ color: '#2F303D',
+ selectedColor: '#028CFF',
backgroundColor: '#fff',
borderStyle: 'black',
custom: true,
@@ -56,10 +85,34 @@
pages: [
'phoneBillRecharge/phoneBillRecharge',
'electricBillRecharge/electricBillRecharge',
+ 'gasBillRecharge/gasBillRecharge',
'selectPayType/selectPayType',
'rechargeResult/rechargeResult',
+ 'rechargeElectricResult/rechargeElectricResult',
+ 'rechargeGasResult/rechargeGasResult',
],
},
+ {
+ root: 'subpackages/order',
+ pages: [
+ 'order/order',
+ 'orderApplyRefund/orderApplyRefund',
+ 'orderRefundResult/orderRefundResult',
+ ],
+ },
+ {
+ root: 'subpackages/userAccount',
+ pages: [
+ 'userAccountList/userAccountList',
+ 'editGasUserAccount/editGasUserAccount',
+ 'editPhoneUserAccount/editPhoneUserAccount',
+ 'editElectricUserAccount/editElectricUserAccount',
+ ],
+ },
+ {
+ root: 'subpackages/my',
+ pages: ['shareQrcode/shareQrcode', 'dashboard/dashboard'],
+ },
],
// preloadRule: {
// 'pages/mine/index': {
--
Gitblit v1.9.1