anln_1.7 (#36) #37
|
@ -6,7 +6,7 @@ import { formatTimestamp } from "@/utils/tools";
|
|||
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
||||
import { faCalendar } from "@fortawesome/free-solid-svg-icons";
|
||||
import OwnImage from "@/components/OwnImage";
|
||||
|
||||
import OwnIcon from "@/components/OwnIcon";
|
||||
export default function SuperFanSpaceMember({ zid, currentIndex }) {
|
||||
const [offset, setOffset] = useState(0);
|
||||
const [more, setMore] = useState(1);
|
||||
|
|
|
@ -7,6 +7,8 @@ import { faAngleLeft, faCalendar } from "@fortawesome/free-solid-svg-icons";
|
|||
import requireAPI from "@/utils/requireAPI";
|
||||
import { useRouter } from "next/navigation";
|
||||
import { formatTimestamp } from "@/utils/tools";
|
||||
import OwnImage from "@/components/OwnImage";
|
||||
import OwnIcon from "@/components/OwnIcon";
|
||||
export default function SpaceSearch({ navigation }) {
|
||||
const [data, setData] = useState([]);
|
||||
const [search, setSearch] = useState("");
|
||||
|
@ -59,7 +61,7 @@ export default function SpaceSearch({ navigation }) {
|
|||
//单个成员组件
|
||||
const renderItem = useCallback((item, index) => {
|
||||
return (
|
||||
<div className="flex-1">
|
||||
<div className="flex-1" key={index}>
|
||||
<div className="flex items-center py-3">
|
||||
<OwnImage
|
||||
src={item?.account?.avatar?.images[0]?.urls[0]}
|
||||
|
@ -132,7 +134,7 @@ export default function SpaceSearch({ navigation }) {
|
|||
<div className="flex items-center flex-1">
|
||||
<div className="relative bg-[#FFFFFF1A] rounded-lg px-4 py-1.5 flex-1">
|
||||
<Input
|
||||
placeholder="搜索Ta的昵称或id"
|
||||
placeholder="搜索Ta的ID"
|
||||
autoFocus={true}
|
||||
value={search}
|
||||
ref={searchRef}
|
||||
|
|
Loading…
Reference in New Issue