+
+
+ handleChangeSearchType('dateType', e.target.value)
+ }
+ >
+
+
+
+
+
+
+
+ {searchType.dateType === 'month' ||
+ searchType.dateType === 'day' ||
+ searchType.dateType === 'one-day' ? (
+ <>
+
+
+ handleChangeSearchType('year', e.target.value)
+ }
+ >
+
+
+
+ {searchType.dateType === 'day' ||
+ searchType.dateType === 'one-day' ? (
+
+
+ handleChangeSearchType(
+ 'month',
+ e.target.value
+ )
+ }
+ >
+ {dateLists.month.map(i => (
+
+ ))}
+
+
+ ) : null}
+ {searchType.dateType === 'one-day' ? (
+
+
+ handleChangeSearchType('day', e.target.value)
+ }
+ >
+ {dateLists.day.map(i => (
+
+ ))}
+
+
+ ) : null}
+ >
+ ) : null}
+