@daeryun/dr_components 1.1.99 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/tsconfig-cjs.tsbuildinfo +1 -1
- package/dist/components/common/integrate/index.d.ts +1 -1
- package/dist/components/common/integrate/index.jsx +2 -1
- package/dist/components/common/integrate/index.tsx +2 -1
- package/dist/components/page/Integrate/Broadcast.d.ts +1 -1
- package/dist/components/page/Integrate/Broadcast.tsx +1 -1
- package/dist/components/page/Integrate/Field.d.ts +1 -1
- package/dist/components/page/Integrate/Field.tsx +1 -1
- package/dist/components/page/Integrate/LawInfo.d.ts +1 -1
- package/dist/components/page/Integrate/LawInfo.tsx +1 -1
- package/dist/components/page/Integrate/Lawyer.d.ts +1 -1
- package/dist/components/page/Integrate/Lawyer.tsx +1 -1
- package/dist/components/page/Integrate/Map.d.ts +2 -2
- package/dist/components/page/Integrate/Map.jsx +198 -110
- package/dist/components/page/Integrate/Map.tsx +198 -197
- package/dist/components/page/Integrate/MenuTab.d.ts +1 -1
- package/dist/components/page/Integrate/MenuTab.jsx +7 -2
- package/dist/components/page/Integrate/MenuTab.tsx +8 -3
- package/dist/components/page/Integrate/Reply.d.ts +1 -1
- package/dist/components/page/Integrate/Reply.jsx +17 -21
- package/dist/components/page/Integrate/Reply.tsx +48 -55
- package/dist/components/page/Integrate/SearchData.d.ts +1 -1
- package/dist/components/page/Integrate/SearchData.jsx +53 -35
- package/dist/components/page/Integrate/SearchData.tsx +57 -38
- package/dist/components/page/Integrate/Success.d.ts +1 -1
- package/dist/components/page/Integrate/Success.tsx +1 -1
- package/dist/components/page/Integrate/Trend.d.ts +21 -0
- package/dist/components/page/Integrate/Trend.jsx +78 -0
- package/dist/components/page/Integrate/Trend.tsx +173 -0
- package/dist/components/page/Integrate/integrateType.d.ts +39 -35
- package/dist/components/page/Integrate/integrateType.js +3 -4
- package/dist/components/page/Integrate/integrateType.ts +44 -40
- package/dist/styles/globals.css +420 -407
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -22,7 +22,7 @@ const Map = (props: {
|
|
|
22
22
|
info: number;
|
|
23
23
|
broadcast: number;
|
|
24
24
|
reply: number;
|
|
25
|
-
|
|
25
|
+
trend: number;
|
|
26
26
|
};
|
|
27
27
|
}) => {
|
|
28
28
|
const router = useRouter();
|
|
@@ -32,203 +32,204 @@ const Map = (props: {
|
|
|
32
32
|
const [allTabPage, setAllTabPage] = useState<number>(0);
|
|
33
33
|
const [allTabList, setAllTabList] = useState<IMapTypes[]>([]);
|
|
34
34
|
|
|
35
|
-
const getAllPage = () => {
|
|
36
|
-
|
|
35
|
+
// const getAllPage = () => {
|
|
36
|
+
// const itemsToAdd = 5;
|
|
37
|
+
//
|
|
38
|
+
// // imapList에서 잘라낼 시작 인덱스 계산
|
|
39
|
+
// const startIndex = allTabList.length;
|
|
40
|
+
// const endIndex = startIndex + itemsToAdd;
|
|
41
|
+
// const newItems = list.mapList.slice(startIndex, endIndex);
|
|
42
|
+
// const updatedList = [...allTabList, ...newItems];
|
|
43
|
+
// setAllTabList(updatedList);
|
|
44
|
+
//
|
|
45
|
+
// // 다음 호출 후 예상 총 개수
|
|
46
|
+
// const nextTotalCount = updatedList.length + itemsToAdd;
|
|
47
|
+
// // 현재 successList의 길이
|
|
48
|
+
// const currentListLength = list.mapList.length;
|
|
49
|
+
//
|
|
50
|
+
// // 다음 총 개수가 mapList 길이를 초과하면 api 호출
|
|
51
|
+
// // 예: mapList가 24일 때, 22 -> 26이 되면 호출
|
|
52
|
+
// if (nextTotalCount > currentListLength) {
|
|
53
|
+
// props.onMoreView();
|
|
54
|
+
// }
|
|
55
|
+
//
|
|
56
|
+
// // 페이지 상태 증가
|
|
57
|
+
// setAllTabPage(allTabPage + 1);
|
|
58
|
+
// };
|
|
59
|
+
//
|
|
60
|
+
// useEffect(() => {
|
|
61
|
+
// if (allTabList.length === 0) {
|
|
62
|
+
// setAllTabList(list.mapList.slice(0, 5));
|
|
63
|
+
// }
|
|
64
|
+
// }, [list.mapList]);
|
|
37
65
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
<ViewMore
|
|
206
|
-
flag={list.mapList.length != props.listCount.map}
|
|
207
|
-
func={() => {
|
|
208
|
-
setLoading(true);
|
|
209
|
-
props.onMoreView();
|
|
210
|
-
setLoading(false);
|
|
211
|
-
}}
|
|
212
|
-
loading={loading}
|
|
213
|
-
totalPage={Math.ceil(props.listCount.map / 12)}
|
|
214
|
-
nowPage={pages.mapList}
|
|
215
|
-
/>
|
|
216
|
-
)}
|
|
217
|
-
{tab === '전체' && (
|
|
218
|
-
<ViewMore
|
|
219
|
-
flag={allTabList.length != props.listCount.map}
|
|
220
|
-
func={() => {
|
|
221
|
-
getAllPage();
|
|
222
|
-
}}
|
|
223
|
-
/>
|
|
224
|
-
)}
|
|
225
|
-
</div>
|
|
226
|
-
) : (
|
|
227
|
-
<></>
|
|
228
|
-
)}
|
|
229
|
-
</>
|
|
230
|
-
)
|
|
231
|
-
) : null;
|
|
66
|
+
return <></>;
|
|
67
|
+
// props.tab === '전체' || props.tab === 'map' ? (
|
|
68
|
+
// //구성원 탭에서는 결과 없음
|
|
69
|
+
// tab === 'map' && props.listCount.map < 1 ? (
|
|
70
|
+
// <NoResult />
|
|
71
|
+
// ) : (
|
|
72
|
+
// <>
|
|
73
|
+
// {/*전체 탭에서는 없게*/}
|
|
74
|
+
// {props.listCount.map > 0 ? (
|
|
75
|
+
// <div className={'mb-[180px] max-sm:mb-[100px] max-xs:mb-[50px]'}>
|
|
76
|
+
// <Title
|
|
77
|
+
// title={'오시는길'}
|
|
78
|
+
// tab={tab}
|
|
79
|
+
// type={'map'}
|
|
80
|
+
// count={props.listCount.map}
|
|
81
|
+
// onClick={str => onMoreViewText(str)}
|
|
82
|
+
// />
|
|
83
|
+
// <div className={'mt-[-1.5rem] w-full'}>
|
|
84
|
+
// {(tab === '전체' ? allTabList : list.mapList).map((item, index: number) => {
|
|
85
|
+
// return (
|
|
86
|
+
// <div
|
|
87
|
+
// key={'integrate_map' + item.key}
|
|
88
|
+
// className={
|
|
89
|
+
// 'group/mapBox flex gap-[60px] border-b-[1px] border-solid border-[#DDDDDD] hover:bg-[#FCFCFC] ' +
|
|
90
|
+
// //1280px
|
|
91
|
+
// 'max-xl:gap-[0] ' +
|
|
92
|
+
// //1024px
|
|
93
|
+
// 'max-lg:flex-col max-lg:px-[40px] ' +
|
|
94
|
+
// //768px
|
|
95
|
+
// 'max-md:px-[25px] '
|
|
96
|
+
// }
|
|
97
|
+
// >
|
|
98
|
+
// <span
|
|
99
|
+
// className={
|
|
100
|
+
// 'relative w-[450px] shrink-0 px-[40px] py-[45px] ' +
|
|
101
|
+
// //1024px
|
|
102
|
+
// 'max-lg:w-full max-lg:border-b-[1px] max-lg:border-solid max-lg:border-[#DDDDDD] max-lg:px-0 max-lg:py-[40px] ' +
|
|
103
|
+
// //768px
|
|
104
|
+
// 'max-md:py-[30px] ' +
|
|
105
|
+
// //640px
|
|
106
|
+
// 'max-sm:border-0'
|
|
107
|
+
// }
|
|
108
|
+
// >
|
|
109
|
+
// <p
|
|
110
|
+
// className={
|
|
111
|
+
// 'text-[22px] font-normal leading-none tracking-[-1.2px] ' +
|
|
112
|
+
// //768px
|
|
113
|
+
// 'max-md:text-[20px]'
|
|
114
|
+
// }
|
|
115
|
+
// >
|
|
116
|
+
// {item.lawyer_text}
|
|
117
|
+
// </p>
|
|
118
|
+
// <p
|
|
119
|
+
// className={
|
|
120
|
+
// 'mt-[12px] text-[26px] font-bold leading-none tracking-[-1.4px] ' +
|
|
121
|
+
// //768px
|
|
122
|
+
// 'max-md:mt-[8px] max-md:text-[24px]'
|
|
123
|
+
// }
|
|
124
|
+
// >
|
|
125
|
+
// {searchColorText(item.title, props.search)}
|
|
126
|
+
// </p>
|
|
127
|
+
// <button
|
|
128
|
+
// className={
|
|
129
|
+
// 'mt-[40px] flex w-[250px] items-center justify-between border-[1px] border-solid border-[#0F0F0F] bg-white p-[20px] ' +
|
|
130
|
+
// //1024px
|
|
131
|
+
// 'max-lg:absolute max-lg:right-0 max-lg:top-[50%] max-lg:m-0 max-lg:w-[200px] max-lg:translate-y-[-50%] max-lg:p-[16px] ' +
|
|
132
|
+
// //768px
|
|
133
|
+
// 'max-md:w-[160px] max-md:p-[14px] ' +
|
|
134
|
+
// //640px
|
|
135
|
+
// 'max-sm:relative max-sm:mx-auto max-sm:mt-[30px] max-sm:w-[85%] max-sm:translate-y-0'
|
|
136
|
+
// }
|
|
137
|
+
// onClick={() => {
|
|
138
|
+
// void router.push('/map/' + item.key);
|
|
139
|
+
// }}
|
|
140
|
+
// aria-label={item.title + ' 자세히 보기'}
|
|
141
|
+
// >
|
|
142
|
+
// <span
|
|
143
|
+
// className={
|
|
144
|
+
// 'text-[18px] font-[600] leading-none tracking-[-1px] ' +
|
|
145
|
+
// //1024px
|
|
146
|
+
// 'max-lg:text-[16px] '
|
|
147
|
+
// }
|
|
148
|
+
// >
|
|
149
|
+
// 자세히보기
|
|
150
|
+
// </span>
|
|
151
|
+
// <Image
|
|
152
|
+
// src={'/images/integrate/window.webp'}
|
|
153
|
+
// alt={''}
|
|
154
|
+
// width={30}
|
|
155
|
+
// height={30}
|
|
156
|
+
// objectFit={'cover'}
|
|
157
|
+
// className={
|
|
158
|
+
// 'aspect-square w-[16px] ' +
|
|
159
|
+
// //1024px
|
|
160
|
+
// 'max-lg:w-[14px]'
|
|
161
|
+
// }
|
|
162
|
+
// />
|
|
163
|
+
// </button>
|
|
164
|
+
// </span>
|
|
165
|
+
// <span
|
|
166
|
+
// className={
|
|
167
|
+
// 'grow ' +
|
|
168
|
+
// //640px
|
|
169
|
+
// 'max-sm:hidden'
|
|
170
|
+
// }
|
|
171
|
+
// >
|
|
172
|
+
// <MapInfoCon
|
|
173
|
+
// locale={'ko'}
|
|
174
|
+
// title={'주소'}
|
|
175
|
+
// text={
|
|
176
|
+
// <>
|
|
177
|
+
// {item.address
|
|
178
|
+
// .replaceAll('법무법인(유한)대륜', '')
|
|
179
|
+
// .replaceAll('법무법인(유한) 대륜', '')}
|
|
180
|
+
// </>
|
|
181
|
+
// }
|
|
182
|
+
// />
|
|
183
|
+
// <MapInfoCon
|
|
184
|
+
// locale={'ko'}
|
|
185
|
+
// title={'업무시간'}
|
|
186
|
+
// text={
|
|
187
|
+
// <>
|
|
188
|
+
// {item.worktime.split(' | ').map((i, index) => (
|
|
189
|
+
// <span
|
|
190
|
+
// key={item.key + '_work_time_' + index}
|
|
191
|
+
// className={'block'}
|
|
192
|
+
// >
|
|
193
|
+
// {i}
|
|
194
|
+
// </span>
|
|
195
|
+
// ))}
|
|
196
|
+
// </>
|
|
197
|
+
// }
|
|
198
|
+
// />
|
|
199
|
+
// <MapInfoCon locale={'ko'} title={'대표번호'} text={<>{item.tel}</>} />
|
|
200
|
+
// </span>
|
|
201
|
+
// </div>
|
|
202
|
+
// );
|
|
203
|
+
// })}
|
|
204
|
+
// </div>
|
|
205
|
+
// {tab != '전체' && (
|
|
206
|
+
// <ViewMore
|
|
207
|
+
// flag={list.mapList.length != props.listCount.map}
|
|
208
|
+
// func={() => {
|
|
209
|
+
// setLoading(true);
|
|
210
|
+
// props.onMoreView();
|
|
211
|
+
// setLoading(false);
|
|
212
|
+
// }}
|
|
213
|
+
// loading={loading}
|
|
214
|
+
// totalPage={Math.ceil(props.listCount.map / 12)}
|
|
215
|
+
// nowPage={pages.mapList}
|
|
216
|
+
// />
|
|
217
|
+
// )}
|
|
218
|
+
// {tab === '전체' && (
|
|
219
|
+
// <ViewMore
|
|
220
|
+
// flag={allTabList.length != props.listCount.map}
|
|
221
|
+
// func={() => {
|
|
222
|
+
// getAllPage();
|
|
223
|
+
// }}
|
|
224
|
+
// />
|
|
225
|
+
// )}
|
|
226
|
+
// </div>
|
|
227
|
+
// ) : (
|
|
228
|
+
// <></>
|
|
229
|
+
// )}
|
|
230
|
+
// </>
|
|
231
|
+
// )
|
|
232
|
+
// ) : null;
|
|
232
233
|
};
|
|
233
234
|
|
|
234
235
|
export default Map;
|
|
@@ -12,9 +12,14 @@ const MenuTab = ({ search, searchDoneRef, setChoiceTabValue, totalCount, count }
|
|
|
12
12
|
setTab(String(queryTab));
|
|
13
13
|
setChoiceTabValue === null || setChoiceTabValue === void 0 ? void 0 : setChoiceTabValue(queryTab ? String(queryTab) : '전체'); // 부모에게 tab button value 넘겨주는 setState
|
|
14
14
|
}, [searchParams]);
|
|
15
|
-
return (<div className={'mb-[106px] mt-20 grid h-full w-full grid-cols-8 max-xl:grid-cols-4 max-lg:my-[60px] max-
|
|
15
|
+
return (<div className={'mb-[106px] mt-20 grid h-full w-full grid-cols-8 max-xl:grid-cols-4 max-lg:my-[60px] max-[850px]:grid-cols-2 max-sm:my-10 '}>
|
|
16
16
|
{[{ tab: '전체', etab: 'All', value: '전체' }, ...tabTypes].map(item => {
|
|
17
|
-
return (<Link ref={searchDoneRef} href={`/integrate?search=${querySearch}&tab=${item.value}`} key={item.value} className={'flex h-[62px] w-full items-center justify-center text-[
|
|
17
|
+
return (<Link ref={searchDoneRef} href={`/integrate?search=${querySearch}&tab=${item.value}`} key={item.value} className={'flex h-[62px] w-full items-center justify-center text-[19px] leading-none tracking-[-0.7px] ' +
|
|
18
|
+
'max-3xl:text-[18px] ' +
|
|
19
|
+
'max-xl:flex-row max-xl:gap-1 ' +
|
|
20
|
+
'max-[850px]:h-[50px] ' +
|
|
21
|
+
'max-md:text-[16px] ' +
|
|
22
|
+
'max-sm:h-[40px] max-sm:text-[14px] ' +
|
|
18
23
|
(tab === item.value
|
|
19
24
|
? 'bg-[#29579C] font-[800] text-[#FFFFFF] '
|
|
20
25
|
: 'border border-solid border-[#E9E9E9] bg-[#F7F7F7] font-[500] text-[#949494] ')}>
|
|
@@ -16,7 +16,7 @@ interface TabProps {
|
|
|
16
16
|
info: number;
|
|
17
17
|
broadcast: number;
|
|
18
18
|
reply: number;
|
|
19
|
-
|
|
19
|
+
trend: number;
|
|
20
20
|
};
|
|
21
21
|
totalCount: number;
|
|
22
22
|
}
|
|
@@ -36,7 +36,7 @@ const MenuTab = ({ search, searchDoneRef, setChoiceTabValue, totalCount, count }
|
|
|
36
36
|
return (
|
|
37
37
|
<div
|
|
38
38
|
className={
|
|
39
|
-
'mb-[106px] mt-20 grid h-full w-full grid-cols-8 max-xl:grid-cols-4 max-lg:my-[60px] max-
|
|
39
|
+
'mb-[106px] mt-20 grid h-full w-full grid-cols-8 max-xl:grid-cols-4 max-lg:my-[60px] max-[850px]:grid-cols-2 max-sm:my-10 '
|
|
40
40
|
}
|
|
41
41
|
>
|
|
42
42
|
{[{ tab: '전체', etab: 'All', value: '전체' }, ...tabTypes].map(item => {
|
|
@@ -46,7 +46,12 @@ const MenuTab = ({ search, searchDoneRef, setChoiceTabValue, totalCount, count }
|
|
|
46
46
|
href={`/integrate?search=${querySearch}&tab=${item.value}`}
|
|
47
47
|
key={item.value}
|
|
48
48
|
className={
|
|
49
|
-
'flex h-[62px] w-full items-center justify-center text-[
|
|
49
|
+
'flex h-[62px] w-full items-center justify-center text-[19px] leading-none tracking-[-0.7px] ' +
|
|
50
|
+
'max-3xl:text-[18px] ' +
|
|
51
|
+
'max-xl:flex-row max-xl:gap-1 ' +
|
|
52
|
+
'max-[850px]:h-[50px] ' +
|
|
53
|
+
'max-md:text-[16px] ' +
|
|
54
|
+
'max-sm:h-[40px] max-sm:text-[14px] ' +
|
|
50
55
|
(tab === item.value
|
|
51
56
|
? 'bg-[#29579C] font-[800] text-[#FFFFFF] '
|
|
52
57
|
: 'border border-solid border-[#E9E9E9] bg-[#F7F7F7] font-[500] text-[#949494] ')
|
|
@@ -41,32 +41,28 @@ const Reply = (props) => {
|
|
|
41
41
|
<Title title={'고객후기'} tab={tab} type={'reply'} onClick={str => onMoreViewText(str)} count={listCount.reply}/>
|
|
42
42
|
<div className={'mb-9 mt-8 grid gap-[18px] sm:grid-cols-2'}>
|
|
43
43
|
{(tab === '전체' ? allTabList : list.replyList).map((item, index) => {
|
|
44
|
-
return (<
|
|
45
|
-
<Link href={(item.crime_code != props.crime_code
|
|
44
|
+
return (<Link href={(item.crime_code != props.crime_code
|
|
46
45
|
? 'https://www.daeryunlaw.com'
|
|
47
46
|
: '') +
|
|
48
47
|
'/reply/' +
|
|
49
|
-
item.id} target={item.crime_code === props.crime_code ? '' : '_blank'}>
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
{searchColorText(item.summary
|
|
48
|
+
item.id} target={item.crime_code === props.crime_code ? '' : '_blank'} key={'reply' + item.id} className={'flex h-[280px] flex-col border-[5px] border-solid border-[#EAEAEA] p-7 max-xs:h-[190px] max-xs:p-4 sm:p-8 '}>
|
|
49
|
+
<p className={'h-[70px] text-[20px] font-[800] max-xs:h-[60px] max-xs:text-[18px] sm:text-[22px]'}>
|
|
50
|
+
<span className={'text-[#285FA7]'}>{item.etc4} </span>
|
|
51
|
+
<br className={'block sm:hidden'}/>
|
|
52
|
+
{item.etc5}
|
|
53
|
+
</p>
|
|
54
|
+
<p className={'mb-[20px] mt-[10px] line-clamp-2 h-[50px] text-[18px] text-[#555555] max-sm:mb-[40px] max-sm:mt-[20px] max-sm:text-[16px] max-xs:mb-0 max-xs:mt-[5px] max-xs:h-[40px] max-xs:text-[15px]'}>
|
|
55
|
+
{searchColorText(item.summary
|
|
58
56
|
.replaceAll(/<(\/)?[a-zA-Z0-9]*(\s[a-zA-Z]*=[^>]*)?(\s)*(\/)?>/gi, '')
|
|
59
57
|
.replaceAll(' ', ' '), search)}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
</Link>
|
|
69
|
-
</div>);
|
|
58
|
+
</p>
|
|
59
|
+
<div className={'mt-6 flex items-center text-[#666666] sm:mt-8'}>
|
|
60
|
+
<p className={'w-[20%] text-[17px] max-xl:w-[35%] max-md:w-[50%] max-sm:w-[30%] max-sm:text-[15px]'}>
|
|
61
|
+
{dayjs(item.timestamp).format('YYYY.MM.DD')}
|
|
62
|
+
</p>
|
|
63
|
+
<div className={'h-[2px] w-[80%] bg-[#D8D8D8] max-xl:w-[65%] max-md:w-[50%] max-sm:w-[70%]'}></div>
|
|
64
|
+
</div>
|
|
65
|
+
</Link>);
|
|
70
66
|
})}
|
|
71
67
|
</div>
|
|
72
68
|
{tab != '전체' && (<ViewMore flag={list.replyList.length != listCount.reply} loading={loading} totalPage={Math.ceil(listCount.reply / 12)} nowPage={pages.replyList} func={() => {
|