@daeryun/dr_components 1.1.44 → 1.1.45
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/components/page/Notice/Detail/NoticeDetail.jsx +2 -6
- package/dist/components/page/Notice/Detail/NoticeDetail.tsx +2 -6
- package/dist/components/page/SuccessNew/components/Lawyer.jsx +1 -1
- package/dist/components/page/SuccessNew/components/Lawyer.tsx +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import React, { useEffect, useRef, useState } from 'react';
|
|
3
3
|
import { useRouter } from 'next/router';
|
|
4
|
-
import classNames from 'classnames';
|
|
5
4
|
import { PageWrapper, PdfPrintCopyLink } from '../../../index';
|
|
6
5
|
import PostNavigation from '../../../postNavigation/PostNavigation';
|
|
7
6
|
import TuiViewer from '../../../TuiViewer/TuiViewer';
|
|
@@ -49,14 +48,11 @@ const NoticeDetail = ({ notice, fileList, onHitUpdate, queryStr: initialQueryStr
|
|
|
49
48
|
</div>
|
|
50
49
|
|
|
51
50
|
<div className={styles.boxBody}>
|
|
52
|
-
<div className={
|
|
53
|
-
[styles.summary]: true,
|
|
54
|
-
[styles.introduction]: true
|
|
55
|
-
})}>
|
|
51
|
+
<div className={'px-[20px] ' + 'max-sm:px-[10px] '}>
|
|
56
52
|
{fileList.map((file, index) => (<div key={index} style={{ marginBottom: '50px' }}>
|
|
57
53
|
<img src={imagePath + file.file_path + '/' + file.save_file_name} className={styles.summaryImg} alt={file.file_alt}/>
|
|
58
54
|
</div>))}
|
|
59
|
-
{notice.gubun === 'ck' ? (<div id={'ck-content'} dangerouslySetInnerHTML={{
|
|
55
|
+
{notice.gubun === 'ck' ? (<div id={'ck-content'} className="py-[30px]" dangerouslySetInnerHTML={{
|
|
60
56
|
__html: htmlUrlDecode(notice.contents.replace('../../UploadFile', '/SE2/upload'))
|
|
61
57
|
}}/>) : (<TuiViewer initialValue={notice.contents.replace('../../UploadFile', '/SE2/upload')}/>)}
|
|
62
58
|
</div>
|
|
@@ -89,12 +89,7 @@ const NoticeDetail = ({ notice, fileList, onHitUpdate, queryStr: initialQueryStr
|
|
|
89
89
|
</div>
|
|
90
90
|
|
|
91
91
|
<div className={styles.boxBody}>
|
|
92
|
-
<div
|
|
93
|
-
className={classNames({
|
|
94
|
-
[styles.summary]: true,
|
|
95
|
-
[styles.introduction]: true
|
|
96
|
-
})}
|
|
97
|
-
>
|
|
92
|
+
<div className={'px-[20px] ' + 'max-sm:px-[10px] '}>
|
|
98
93
|
{fileList.map((file: FileData, index: number) => (
|
|
99
94
|
<div key={index} style={{ marginBottom: '50px' }}>
|
|
100
95
|
<img
|
|
@@ -107,6 +102,7 @@ const NoticeDetail = ({ notice, fileList, onHitUpdate, queryStr: initialQueryStr
|
|
|
107
102
|
{notice.gubun === 'ck' ? (
|
|
108
103
|
<div
|
|
109
104
|
id={'ck-content'}
|
|
105
|
+
className="py-[30px]"
|
|
110
106
|
dangerouslySetInnerHTML={{
|
|
111
107
|
__html: htmlUrlDecode(notice.contents.replace('../../UploadFile', '/SE2/upload'))
|
|
112
108
|
}}
|
|
@@ -43,7 +43,7 @@ export const Lawyer = ({ lawyerData }) => {
|
|
|
43
43
|
<span className={'relative flex w-full flex-col gap-[5px]'}>
|
|
44
44
|
<meta itemProp="name" content={`${i.lawyer_name} 변호사`}/>
|
|
45
45
|
<p className={'pr-[35px] text-[23px] font-bold leading-none tracking-[-0.46px] text-[#434343]'}>
|
|
46
|
-
{i.lawyer_name.
|
|
46
|
+
{i.lawyer_name.includes('(')
|
|
47
47
|
? i.lawyer_name.split('(')[1].replace(')', '')
|
|
48
48
|
: i.lawyer_name}
|
|
49
49
|
</p>
|
|
@@ -97,7 +97,7 @@ export const Lawyer = ({ lawyerData }: { lawyerData: any[] }) => {
|
|
|
97
97
|
'pr-[35px] text-[23px] font-bold leading-none tracking-[-0.46px] text-[#434343]'
|
|
98
98
|
}
|
|
99
99
|
>
|
|
100
|
-
{i.lawyer_name.
|
|
100
|
+
{i.lawyer_name.includes('(')
|
|
101
101
|
? i.lawyer_name.split('(')[1].replace(')', '')
|
|
102
102
|
: i.lawyer_name}
|
|
103
103
|
</p>
|