导航栏引用公共组件
This commit is contained in:
@@ -4,7 +4,7 @@ import Taro, { useDidShow } from "@tarojs/taro";
|
||||
|
||||
import httpService from "@/services/httpService";
|
||||
import "./index.scss";
|
||||
import { CommonPopup } from "@/components";
|
||||
import { CommonPopup, BackNavbar } from "@/components";
|
||||
import { useKeyboardHeight } from "@/store/keyboardStore";
|
||||
import img from "@/config/images";
|
||||
|
||||
@@ -276,7 +276,7 @@ const Withdrawal: React.FC = () => {
|
||||
return (
|
||||
<View className="withdrawal-page">
|
||||
{/* 导航栏 */}
|
||||
<View className="custom-navbar">
|
||||
{/* <View className="custom-navbar">
|
||||
<View className="detail-navigator">
|
||||
<View
|
||||
className="detail-navigator-back"
|
||||
@@ -296,7 +296,21 @@ const Withdrawal: React.FC = () => {
|
||||
<Text>{pageTitle}</Text>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
</View> */}
|
||||
{/* 顶部导航栏 */}
|
||||
<BackNavbar
|
||||
title={pageTitle}
|
||||
showBackButton={true}
|
||||
showAvatar={false}
|
||||
onBack={() => {
|
||||
const pages = Taro.getCurrentPages()
|
||||
const prevPage = pages[pages.length - 2]
|
||||
prevPage.setData({
|
||||
updateList: withdrawSuccess
|
||||
})
|
||||
Taro.navigateBack();
|
||||
}}
|
||||
/>
|
||||
<View className="withdrawal-container">
|
||||
<Text className="title-text">提现金额</Text>
|
||||
<View className="input-container">
|
||||
|
||||
Reference in New Issue
Block a user