공지사항
This commit is contained in:
@@ -137,7 +137,7 @@ export const FaqListPage = () => {
|
||||
<div className="tab-content">
|
||||
<div className="tab-pane sub active">
|
||||
<div className="faq-section pb-86">
|
||||
<div className="faq-controlls">
|
||||
<div className="notice-controls">
|
||||
<div className="faq-search">
|
||||
<span
|
||||
className="ic16 search"
|
||||
@@ -156,11 +156,12 @@ export const FaqListPage = () => {
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
<div className="faq-filter">
|
||||
<div className="notice-filter">
|
||||
<select
|
||||
className="flex-1"
|
||||
value={ selectedCategory }
|
||||
onChange={ (e: ChangeEvent<HTMLSelectElement>) => setSelectedCategory(e.target.value) }>
|
||||
className="flex-1"
|
||||
value={ selectedCategory }
|
||||
onChange={ (e: ChangeEvent<HTMLSelectElement>) => setSelectedCategory(e.target.value) }
|
||||
>
|
||||
<option value="">{ t('support.faq.categories.all') }</option>
|
||||
<option value="01">{ t('support.faq.categories.01') }</option>
|
||||
<option value="02">{ t('support.faq.categories.02') }</option>
|
||||
|
||||
@@ -23,7 +23,7 @@ export const NoticeListPage = () => {
|
||||
const [pageParam, setPageParam] = useState(DEFAULT_PAGE_PARAM);
|
||||
const [nextCursor, setNextCursor] = useState<string | null>(null);
|
||||
const [informCl, setInformCl] = useState<InformCl | string>('');
|
||||
const [searchValue, setSearchValue] = useState<string>('');
|
||||
const [searchKeyword, setSearchKeyword] = useState<string>('');
|
||||
const [resultList, setResultList] = useState<Array<NoticeItem>>([]);
|
||||
|
||||
useSetHeaderTitle(t('support.notice.title'));
|
||||
@@ -57,8 +57,8 @@ export const NoticeListPage = () => {
|
||||
const callList = (type?: string) => {
|
||||
let listParams: NoticeListParams = {
|
||||
informCl: informCl,
|
||||
searchCl: (!!searchValue)? SearchCl.HEAD: null,
|
||||
searchValue: searchValue,
|
||||
searchCl: (!!searchKeyword)? SearchCl.HEAD: null,
|
||||
searchKeyword: searchKeyword,
|
||||
...{
|
||||
page: pageParam
|
||||
}
|
||||
@@ -141,8 +141,8 @@ export const NoticeListPage = () => {
|
||||
<input
|
||||
type="text"
|
||||
placeholder={ t('support.notice.searchPlaceholder') }
|
||||
value={ searchValue }
|
||||
onChange={ (e: ChangeEvent<HTMLInputElement>) => setSearchValue(e.target.value) }
|
||||
value={ searchKeyword }
|
||||
onChange={ (e: ChangeEvent<HTMLInputElement>) => setSearchKeyword(e.target.value) }
|
||||
onKeyDown={ (e: React.KeyboardEvent<HTMLInputElement>) => {
|
||||
if (e.key === 'Enter' && !e.nativeEvent.isComposing) {
|
||||
onClickToAction();
|
||||
@@ -165,7 +165,6 @@ export const NoticeListPage = () => {
|
||||
<option value="SERVICE_CHANGE_OR_ADDITION">{ t('support.notice.categories.SERVICE_CHANGE_OR_ADDITION') }</option>
|
||||
<option value="IMPORTANT_NOTICE">{ t('support.notice.categories.IMPORTANT_NOTICE') }</option>
|
||||
<option value="ADDITIONAL_SERVICE">{ t('support.notice.categories.ADDITIONAL_SERVICE') }</option>
|
||||
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user