feat: 注释掉地区搜索
All checks were successful
Dev Deploy / Explore-Gitea-Actions (push) Successful in 31s
All checks were successful
Dev Deploy / Explore-Gitea-Actions (push) Successful in 31s
This commit is contained in:
parent
4afbc7fc8e
commit
30d22715fd
@ -1,7 +1,6 @@
|
|||||||
import DownSvg from '@/assets/icons/svg/down.svg';
|
import DownSvg from '@/assets/icons/svg/down.svg';
|
||||||
import PlaceSvg from '@/assets/icons/svg/place.svg';
|
import PlaceSvg from '@/assets/icons/svg/place.svg';
|
||||||
import ReturnArrowSvg from '@/assets/icons/svg/returnArrow.svg';
|
import ReturnArrowSvg from '@/assets/icons/svg/returnArrow.svg';
|
||||||
import SearchSvg from '@/assets/icons/svg/search.svg';
|
|
||||||
import { CascaderItem } from '@/components/cascader';
|
import { CascaderItem } from '@/components/cascader';
|
||||||
import ClassifyModal from '@/components/owner/classify';
|
import ClassifyModal from '@/components/owner/classify';
|
||||||
import LocationModal from '@/components/owner/location';
|
import LocationModal from '@/components/owner/location';
|
||||||
@ -17,7 +16,6 @@ import { useRouter } from "expo-router";
|
|||||||
import * as SecureStore from 'expo-secure-store';
|
import * as SecureStore from 'expo-secure-store';
|
||||||
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
||||||
import { Keyboard, LayoutChangeEvent, Platform, StyleSheet, TouchableOpacity, TouchableWithoutFeedback, View } from 'react-native';
|
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";
|
import { useSafeAreaInsets } from "react-native-safe-area-context";
|
||||||
interface LocationData {
|
interface LocationData {
|
||||||
id: number;
|
id: number;
|
||||||
@ -213,7 +211,7 @@ export default function OwnerPage() {
|
|||||||
} */}
|
} */}
|
||||||
|
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
<View style={styles.searchContainer}>
|
{/* <View style={styles.searchContainer}>
|
||||||
<View style={styles.searchIcon}>
|
<View style={styles.searchIcon}>
|
||||||
<SearchSvg width={12} height={12} />
|
<SearchSvg width={12} height={12} />
|
||||||
</View>
|
</View>
|
||||||
@ -226,7 +224,7 @@ export default function OwnerPage() {
|
|||||||
setLocationSearch(text.nativeEvent.text)
|
setLocationSearch(text.nativeEvent.text)
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View> */}
|
||||||
{/* <TouchableOpacity onPress={() => { setClassifyModalVisible(true) }} style={{ display: 'flex', flexDirection: 'row', alignItems: 'center', gap: 8 }}>
|
{/* <TouchableOpacity onPress={() => { setClassifyModalVisible(true) }} style={{ display: 'flex', flexDirection: 'row', alignItems: 'center', gap: 8 }}>
|
||||||
<ThemedText style={{ color: selectedClassify?.length > 0 ? '#FFB645' : '#4C320C' }}>
|
<ThemedText style={{ color: selectedClassify?.length > 0 ? '#FFB645' : '#4C320C' }}>
|
||||||
{selectedClassify?.length > 0 ? selectedClassify[selectedClassify?.length - 1].name : "分类"}
|
{selectedClassify?.length > 0 ? selectedClassify[selectedClassify?.length - 1].name : "分类"}
|
||||||
@ -241,7 +239,7 @@ export default function OwnerPage() {
|
|||||||
|
|
||||||
</View>
|
</View>
|
||||||
{/* 热门城市 */}
|
{/* 热门城市 */}
|
||||||
<View style={styles.hotCity}>
|
{/* <View style={styles.hotCity}>
|
||||||
<ThemedText size="base" color="textSecondary" style={{ marginBottom: 16 }}>热门城市</ThemedText>
|
<ThemedText size="base" color="textSecondary" style={{ marginBottom: 16 }}>热门城市</ThemedText>
|
||||||
{HOT_CITIES.map((row, rowIndex) => (
|
{HOT_CITIES.map((row, rowIndex) => (
|
||||||
<View
|
<View
|
||||||
@ -261,7 +259,7 @@ export default function OwnerPage() {
|
|||||||
))}
|
))}
|
||||||
</View>
|
</View>
|
||||||
))}
|
))}
|
||||||
</View>
|
</View> */}
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
{/* 颁奖台 */}
|
{/* 颁奖台 */}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user