|
|
|
@ -41,6 +41,10 @@ const MeetingsConfig: FC = () => { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function jumpInfo(id: number) { |
|
|
|
|
Taro.navigateTo({url: `/pages/manage/spotMeeting/spotMeeting?id=${id}`}) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
useReachBottom(useCallback(() => { |
|
|
|
|
if (meeting?.length < total) { |
|
|
|
|
setPage(page + 1) |
|
|
|
@ -56,8 +60,8 @@ const MeetingsConfig: FC = () => { |
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
meeting.length ? |
|
|
|
|
meeting.map((d, index) => <View className={styles.meeting}> |
|
|
|
|
<View className={styles.title}> |
|
|
|
|
meeting.map((d, index) => <View className={styles.meeting} key={d.id}> |
|
|
|
|
<View className={styles.title} onClick={() => jumpInfo(d.id)}> |
|
|
|
|
<View className='font-weight mb-1'>{d.name}</View> |
|
|
|
|
<View>{formatDate(new Date(d.estimate_start_time), "MM-dd")} 至 {formatDate(new Date(d.estimate_start_time), "MM-dd")}</View> |
|
|
|
|
|
|
|
|
|