feat: 注释掉地区搜索
All checks were successful
Dev Deploy / Explore-Gitea-Actions (push) Successful in 31s

This commit is contained in:
jinyaqiu 2025-08-08 19:16:51 +08:00
parent 4afbc7fc8e
commit 30d22715fd

View File

@ -1,7 +1,6 @@
import DownSvg from '@/assets/icons/svg/down.svg';
import PlaceSvg from '@/assets/icons/svg/place.svg';
import ReturnArrowSvg from '@/assets/icons/svg/returnArrow.svg';
import SearchSvg from '@/assets/icons/svg/search.svg';
import { CascaderItem } from '@/components/cascader';
import ClassifyModal from '@/components/owner/classify';
import LocationModal from '@/components/owner/location';
@ -17,7 +16,6 @@ import { useRouter } from "expo-router";
import * as SecureStore from 'expo-secure-store';
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
import { Keyboard, LayoutChangeEvent, Platform, StyleSheet, TouchableOpacity, TouchableWithoutFeedback, View } from 'react-native';
import { TextInput } from 'react-native-gesture-handler';
import { useSafeAreaInsets } from "react-native-safe-area-context";
interface LocationData {
id: number;
@ -213,7 +211,7 @@ export default function OwnerPage() {
} */}
</TouchableOpacity>
<View style={styles.searchContainer}>
{/* <View style={styles.searchContainer}>
<View style={styles.searchIcon}>
<SearchSvg width={12} height={12} />
</View>
@ -226,7 +224,7 @@ export default function OwnerPage() {
setLocationSearch(text.nativeEvent.text)
}}
/>
</View>
</View> */}
{/* <TouchableOpacity onPress={() => { setClassifyModalVisible(true) }} style={{ display: 'flex', flexDirection: 'row', alignItems: 'center', gap: 8 }}>
<ThemedText style={{ color: selectedClassify?.length > 0 ? '#FFB645' : '#4C320C' }}>
{selectedClassify?.length > 0 ? selectedClassify[selectedClassify?.length - 1].name : "分类"}
@ -241,7 +239,7 @@ export default function OwnerPage() {
</View>
{/* 热门城市 */}
<View style={styles.hotCity}>
{/* <View style={styles.hotCity}>
<ThemedText size="base" color="textSecondary" style={{ marginBottom: 16 }}></ThemedText>
{HOT_CITIES.map((row, rowIndex) => (
<View
@ -261,7 +259,7 @@ export default function OwnerPage() {
))}
</View>
))}
</View>
</View> */}
</View>
{/* 颁奖台 */}