导航栏引用公共组件
This commit is contained in:
@@ -2,7 +2,7 @@ import { useState, useEffect, useRef } from "react";
|
||||
import { View, Image, Text } from "@tarojs/components";
|
||||
import { Input } from "@nutui/nutui-react-taro";
|
||||
import img from "@/config/images";
|
||||
import { withAuth } from "@/components";
|
||||
import { withAuth, BackNavbar } from "@/components";
|
||||
import "./index.scss";
|
||||
import httpService from "@/services/httpService";
|
||||
import Taro, { useReachBottom } from "@tarojs/taro";
|
||||
@@ -244,7 +244,7 @@ const QueryTransactions = () => {
|
||||
<>
|
||||
<View className="listSearchContainer">
|
||||
{/* 导航栏 */}
|
||||
<View className="custom-navbar">
|
||||
{/* <View className="custom-navbar">
|
||||
<View className="detail-navigator">
|
||||
<View
|
||||
className="detail-navigator-back"
|
||||
@@ -259,7 +259,16 @@ const QueryTransactions = () => {
|
||||
<Text>{pageTitle}</Text>
|
||||
</View>
|
||||
</View>
|
||||
</View>
|
||||
</View> */}
|
||||
{/* 顶部导航栏 */}
|
||||
<BackNavbar
|
||||
title={pageTitle}
|
||||
showBackButton={true}
|
||||
showAvatar={false}
|
||||
onBack={() => {
|
||||
Taro.navigateBack();
|
||||
}}
|
||||
/>
|
||||
{/* 搜索 */}
|
||||
<View className="topSearchWrapper">
|
||||
<View className="topSearch">
|
||||
|
||||
Reference in New Issue
Block a user