fix(routes): 修复提现页面路由问题
- 取消注释 app.config.ts 中提现页面路由注册 - 解决 navigateTo 提现页面找不到的问题 - 删除钱包页中跳转提现按钮相关代码 - 确保构建编译通过无错误
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user