fix(routes): 修复提现页面路由问题

- 取消注释 app.config.ts 中提现页面路由注册
- 解决 navigateTo 提现页面找不到的问题
- 删除钱包页中跳转提现按钮相关代码
- 确保构建编译通过无错误
This commit is contained in:
2026-06-24 16:20:12 +08:00
parent bf02992ab2
commit b36205b066
3 changed files with 11 additions and 15 deletions

View File

@@ -42,7 +42,7 @@ export default {
'pages/user/wallet',
'pages/user/recharge',
'pages/user/recharge-record/index',
// 'pages/user/withdraw/index',
'pages/user/withdraw/index',
'pages/user/balance-log/index',
'pages/user/coupon-list',
'pages/user/points-record',

View File

@@ -49,13 +49,6 @@ const WalletPage: React.FC = () => {
>
<Text className='text-white text-sm font-medium'></Text>
</View>
<View
className='flex-1 py-2 rounded-full text-center'
style={{ backgroundColor: 'rgba(255,255,255,0.2)' }}
onClick={() => Taro.navigateTo({ url: '/pages/user/withdraw/index' })}
>
<Text className='text-white text-sm font-medium'></Text>
</View>
</View>
</View>
@@ -83,13 +76,6 @@ const WalletPage: React.FC = () => {
<Text className='text-lg mb-1'>🎫</Text>
<Text className='text-xs text-gray-600'></Text>
</View>
<View
className='flex-1 flex flex-col items-center py-2'
onClick={() => Taro.navigateTo({ url: '/pages/user/withdraw/index' })}
>
<Text className='text-lg mb-1'>💰</Text>
<Text className='text-xs text-gray-600'></Text>
</View>
</View>
</View>