广州市综治平台前端
liuwh
4 days ago fa5361c6776f01975737fb5630594a9c60924fc5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
/*
 * @Company: hugeInfo
 * @Author: ldh
 * @Date: 2022-04-08 09:12:50
 * @LastEditTime: 2024-04-22 15:41:16
 * @LastEditors: dminyi 1301963064@qq.com
 * @Version: 1.0.0
 * @Description: 调解导航(新导航)
 */
import '../index.less';
import React, { useState, useEffect, useRef } from 'react';
import { useSearchParams, useNavigate } from 'react-router-dom';
import { Select, Drawer, Space, Typography, Popconfirm, Rate, Form, Col, Row, Button, Spin, Pagination, Empty } from 'antd';
import { useVirtual } from 'react-virtual';
import { SyncOutlined, LikeOutlined } from '@ant-design/icons';
import { nav1, nav2, nav3, nav4, nav5, toppingUp, toppingUp2, toppingDown, fullScreen, navBg } from '../../../assets/images/icon';
import { ai_1, ai_2, ai_3, ai_4, ai_5, ai_6 } from '../../../assets/images/AIImg';
import { ActionModal } from './index';
import * as $$ from '../../../utils/utility';
import timer from '../../../utils/timer';
 
//推荐接口
function getDataApi(submitData) {
  return $$.ax.request({ url: `guide/windowCaseGuideByDb`, type: 'get', data: submitData, service: 'mediate' });
}
 
// 案件特征
function getCaseFeatureApi(submitData) {
  return $$.ax.request({ url: 'guide/getCaseFeature', type: 'get', data: submitData, service: 'mediate' });
 
}
 
function cacheOpenAiCaseGuideListApi(submitData) {
  return $$.ax.request({ url: `guide/cacheOpenAiCaseGuideList`, type: 'get', data: submitData, service: 'mediate' });
}
 
// 类案推荐缓存接口
function cacheLatjCaseGuideApi(submitData) {
  return $$.ax.request({ url: `guide/cacheLatjCaseGuide`, type: 'get', data: submitData, service: 'mediate' });
}
 
// 案件特征缓存接口
function cacheCaseFeatureApi(submitData) {
  return $$.ax.request({ url: `guide/cacheCaseFeature`, type: 'get', data: submitData, service: 'mediate' });
}
 
// 右侧弹窗字典值
function getCaseFeatureNameApi(submitData) {
  return $$.ax.request({ url: `guide/getFeatureCount`, type: 'get', data: submitData, service: 'mediate' });
}
 
 
// 右侧弹窗典型案例列表
function getPageCaseGuideListApi(submitData) {
  return $$.ax.request({ url: `guide/getPageCaseGuideList`, type: 'get', data: submitData, service: 'mediate' });
}
 
function rateApi(submitData) {
  return $$.ax.request({ url: `guideRatings/saveGuideRatings`, type: 'post', data: submitData, service: 'mediate' });
}
 
 
// 类案推荐的案件特征缓存接口
function cacheLatjCaseFeatureListApi(submitData) {
  return $$.ax.request({ url: `guide/cacheLatjCaseFeatureList`, type: 'get', data: submitData, service: 'mediate' });
}
 
 
const { Paragraph } = Typography;
const { Option } = Select;
 
const MediationNav1 = ({ newData, onClickRatio, createAgreement }) => {
  const [form] = Form.useForm();
 
  const [searchParams] = useSearchParams();
 
  let navigate = useNavigate();
 
  const recordRef = useRef();
 
  const caseId = searchParams.get('caseId');
  const taskId = searchParams.get('taskId');
 
  // 数据
  const [data, setData] = useState([]);
 
  // 那件特征
 
  const [caseTZList, setCaseTZList] = useState([]);
 
  // 类案推荐
  const [suggestList, setSuggestList] = useState([]);
 
  const [suggestListPage, setSuggestListPage] = useState(1);
 
  // 法条推荐
  const [fttjList, setFttjList] = useState([]);
 
  // 置顶数据
  const [fixedList, setFixedList] = useState({ list: [], ids: [] });
 
  // 当前选择的数据
  const [activeData, setActiveData] = useState({});
 
  // tabs选择项
  const [tabActive, setTabActive] = useState([]);
 
  // 导航数量动画控制
  const [guideNumAnimated, setGuideNumAnimated] = useState(null);
 
  // 是否全屏
  const [isFullScreen, setIsFullScreen] = useState(false);
  // 折叠
  const [show, setShow] = useState([]);
 
  // 评价的星星等级
  const [rate, setRate] = useState([]);
 
  // 操作modal
  const [modal, setModal] = useState({ visible: null });
 
  const [rightModal, setRightModal] = useState({ visible: false });
 
  const [isHovering, setIsHovering] = useState([])
 
  const [rightData, setRightData] = useState({})
 
  const [searchRightData, setSearchRightData] = useState({ page: 1, size: 10, direction: '1' });
 
  const [rightSearch, setRightSearch] = useState([])
 
  const [spinning, setSpinning] = useState(false)
 
 
 
  // 数据筛选
  function handleScreen(value) {
    let list = [];
    value.forEach((x) => (list = list.concat(data.data[x - 1]?.guideInfoList || [])));
    list.sort((a, b) => ($$.timeFormat(a.guideTime) < $$.timeFormat(b.guideTime) ? 1 : -1));
    setData({ ...data, list });
    setTabActive(value);
    global.tabActive = value;
  }
 
  // 点击案例
  function handleClickItem(item, index) {
    global.activeDataId = item?.id;
    setActiveData({ ...item, index: index - fixedList.ids.length });
  }
 
  // 置顶 or 取消置顶
  function handleTopping() {
    if (fixedList.ids.includes(activeData.id)) {
      let index = fixedList.ids.indexOf(activeData.id);
      data.list = [activeData, ...data.list];
      fixedList.list.splice(index, 1);
      fixedList.ids.splice(index, 1);
      setData({ ...data });
      setFixedList({ ...fixedList });
    } else {
      fixedList.list.push({ ...activeData, fixedIndex: fixedList.list.length });
      fixedList.ids.push(activeData.id);
      data.list.splice(activeData.index, 1);
      setData({ ...data });
      setFixedList({ ...fixedList });
    }
  }
 
  // 系列案展开折叠
  function handleCaseShow(t) {
    let index = show.indexOf(t);
    if (index !== -1) {
      show.splice(index, 1);
      setShow([...show]);
    } else {
      setShow([...show, t]);
    }
  }
 
 
  // 鼠标移入
  function handleMouseEnter(t) {
    let index = isHovering.indexOf(t);
    if (index !== -1) {
      isHovering.splice(index, 1);
      setIsHovering([...isHovering]);
    } else {
      setIsHovering([...isHovering, t]);
    }
  }
  // 鼠标移除
  function handleMouseLeave(t) {
    let index = isHovering.indexOf(t);
    if (index !== -1) {
      isHovering.splice(index, 1);
      setIsHovering([...isHovering]);
    } else {
      setIsHovering([...isHovering, t]);
    }
  }
 
  // 案件特征
  async function getCaseFeature() {
    global.setSpinning(true);
    const res = await getCaseFeatureApi({ caseId });
    global.setSpinning(false);
    if (res.type) {
      setCaseTZList(res.data || [])
    }
  }
 
  // 评价接口
  async function RateConfirm(id) {
    global.setSpinning(true);
    const res = await rateApi({ serviceId: id, rating: rate, });
    global.setSpinning(false);
    if (res.type) {
      $$.infoSuccess({ content: '感谢您的评价' });
    }
  }
 
  // 获取数据
  async function getData() {
    global.setSpinning(true);
    const res = await getDataApi({ caseId });
    global.setSpinning(false);
    console.log(res);
    if (res.type) {
      let newData = res.data;
      setData(newData);
    }
  }
 
 
  // 弹窗详情
  function handleSearch(values) {
 
    console.log(typeof (values.featureName));
    if (typeof (values.featureName) === 'string') {
      showRightModal({ ...searchRightData, featureName: values?.featureName ? values?.featureName : '' });
    } else {
      showRightModal({ ...searchRightData, featureName: values?.featureName ? values?.featureName?.join() : '' });
    }
  }
 
  function handleValuesChange(changedValues) {
    // showRightModal({ ...searchRightData, ...changedValues });
  }
 
 
 
  // 右侧弹窗典型案例
  async function showRightModal(data) {
    setSpinning(true)
    const res = await getPageCaseGuideListApi({ ...data, caseId });
    setSpinning(false)
    console.log(res);
    if (res.type) {
      let newData = res.data;
      setRightData({ tableData: newData.content || [], total: newData.totalElements });
    }
  }
 
  // 右侧弹窗筛选字典值
  async function getCaseFeatureName() {
    const res = await getCaseFeatureNameApi({ caseId });
    if (res.type) {
      let newData = res.data || [];
      setRightSearch(newData || []);
    }
  }
 
  async function cacheLatjCaseFeatureList(submitData) {
    $$.setLocal(`cacheLatjCaseFeatureList${submitData.caseId}`, '')
    const res = await cacheLatjCaseFeatureListApi(submitData);
    if (res.type) {
      $$.clearLocal(`cacheLatjCaseFeatureList${submitData.caseId}`)
    }
  }
 
 
  useEffect(() => {
    getCaseFeature();
    // cacheLatjCaseFeatureList({ caseId })
    // cacheCaseFeature()
    // cacheOpenAiCaseGuideList();
    // cacheLatjCaseGuide();
    // getData();
    // timer.setInterval(
    //   'getAiData',
    //   () => {
    //     if (window.location.hash.indexOf('mediationWindow') !== -1) getData();
    //   },
    //   20000
    // );
    // return () => {
    //   timer.clearInterval('getAiData');
    //   global.tabActive = void 0;
    //   global.activeDataId = void 0;
    // };
 
    setData(newData);
    setSuggestList(newData?.find(i => i.guideName === '类案推荐')?.guideInfoList || []);
    setFttjList(newData?.find(i => i.guideName === '法条推荐')?.guideInfoList || [])
  }, [newData]);
 
  async function setAnimated() {
    setGuideNumAnimated(false);
    await $$.sleep(300);
    setGuideNumAnimated(true);
  }
 
  return (
    <div className={`mediationWindow-card ${isFullScreen ? 'mediationWindow-fullScreenNav' : 'mediationWindow-nav'}`}>
      {
        ($$.getLocal(`cacheCaseFeature${caseId}`) === '' || $$.getLocal(`cacheLatjCaseFeatureList${caseId}`) === '' || $$.getLocal(`cacheLatjCaseGuide${caseId}`) === '' || $$.getLocal(`cacheOpenAiCaseGuideList${caseId}`) === '') ?
          <div className="mediationWindow-card">
            <h5>调解导航</h5>
            <div className="mediationWindow-nav-empty">{$$.MyEmpty({ description: 'AI正在为您生成中' })}</div>
          </div> :
          <>
            {data.length === 0 ? (
              <div className="mediationWindow-card">
                <h5>调解导航</h5>
                <div className="mediationWindow-nav-empty">{$$.MyEmpty({ description: '暂无相关内容推荐' })}</div>
              </div>
            ) : (
              <>
                <div className="mediationWindow-nav-center">
                  <div className="mediationWindow-nav-left-title">
                    <Space size={4}>
                      <div style={{ display: 'flex', alignItems: 'center' }}><img style={{ width: '16px' }} src={ai_1} alt="" srcset="" />&nbsp;&nbsp;<div style={{ color: '#d10202', fontSize: '16px', fontWeight: '600' }}>调解导航</div></div>
                    </Space>
                  </div>
                  <div className="mediationWindow-nav-center-div">
                    {/* 案件特征 */}
                    <div style={{ paddingBottom: '4px' }}>
                      <h4>案件特征</h4>
                    </div>
                    <div style={{ paddingBottom: '8px', overflowX: 'auto' }}>
                      <div className={`mediationWindow-nav-center-row flipInX`}>
                        {
                          caseTZList.map((item, index) => (
                            <div key={index} className="mediationWindow-nav-center-col">
                              <div className="mediationWindow-nav-center-tag public-tag public-tag-default">{item.featureName}</div>
                              <div className="mediationWindow-nav-center-text">相似案例<span className='public-a' onClick={() => {
                                setRightModal({ visible: true })
                                showRightModal({ ...searchRightData, featureName: item.featureName });
                                form.setFieldValue('featureName', item.featureName);
                                getCaseFeatureName()
 
                              }} style={{ color: '#d10202' }}> {item.featureCount} </span>件</div>
                            </div>
                          ))
                        }
                      </div>
                    </div>
                  </div>
 
                  <div className="mediationWindow-nav-center-div">
                    {/* 争议焦点 */}
                    <div style={{ paddingBottom: '4px' }}>
                      <h4>争议焦点</h4>
                    </div>
                    {data?.find(i => i.guideName === '争议焦点')?.guideInfoList[0]?.guideText?.length > 128 ?
                      <div onClick={() => handleCaseShow(`1`)} className={show.includes(`1`) ? 'caseFolderCheck-folderMain-show' : 'public-a'} style={{ backgroundColor: '#F6F7FB', borderRadius: '4px', padding: '8px 12px', color: 'rgba(23,26,29,0.70)' }}>
                        {show.includes(`1`) ? data?.find(i => i.guideName === '争议焦点')?.guideInfoList[0]?.guideText : $$.ellipsis((data?.find(i => i.guideName === '争议焦点')?.guideInfoList[0]?.guideText + data?.find(i => i.guideName === '争议焦点')?.guideInfoList[0]?.guideText), 128)}
                        <span style={{ marginRight: '4px' }}>{show.includes(`1`) ? '[折叠]' : '[展开]'}</span>
                      </div> :
                      <div style={{ backgroundColor: '#F6F7FB', borderRadius: '4px', padding: '8px 12px', color: 'rgba(23,26,29,0.70)' }}>
                        {data?.find(i => i.guideName === '争议焦点')?.guideInfoList[0]?.guideText}
                      </div>
                    }
                  </div>
 
                  <div className="mediationWindow-nav-center-div">
                    {/* 调解策略 */}
                    <div style={{ paddingBottom: '4px' }}>
                      <h4>调解策略</h4>
                    </div>
                    {data?.find(i => i.guideName === '调解策略')?.guideInfoList[0]?.guideText?.length > 128 ?
                      <div onClick={() => handleCaseShow(`2`)} className={show.includes(`2`) ? 'caseFolderCheck-folderMain-show' : 'public-a'} style={{ backgroundColor: '#F6F7FB', borderRadius: '4px', padding: '8px 12px', color: 'rgba(23,26,29,0.70)' }}>
                        {show.includes(`2`) ? data?.find(i => i.guideName === '调解策略')?.guideInfoList[0]?.guideText : $$.ellipsis((data?.find(i => i.guideName === '调解策略')?.guideInfoList[0]?.guideText + data?.find(i => i.guideName === '调解策略')?.guideInfoList[0]?.guideText), 128)}
                        <span className='public-a' style={{ marginRight: '4px' }}>{show.includes(`2`) ? '[折叠]' : '[展开]'}</span>
                      </div> :
                      <div style={{ backgroundColor: '#F6F7FB', borderRadius: '4px', padding: '8px 12px', color: 'rgba(23,26,29,0.70)' }}>
                        {data?.find(i => i.guideName === '调解策略')?.guideInfoList[0]?.guideText}
                      </div>
                    }
                  </div>
 
                  <div className="mediationWindow-nav-center-div">
                    {/* 典型类案 */}
                    <div style={{ paddingBottom: '4px', display: 'flex', justifyContent: 'space-between' }}>
                      <h4>典型类案</h4>
                    </div>
                    <div style={{ minHeight: '120px', maxHeight: '340px', overflowY: 'scroll' }}>
                      {
                        suggestList?.map((item, index) => (
                          <div key={index}
                            onMouseEnter={() => handleMouseEnter(index)}
                            onMouseLeave={() => handleMouseLeave(index)} className='mediationWindow-nav-center-div-radius-div'>
                            <div style={{ display: 'flex', justifyContent: 'space-between', marginBottom: '8px' }}>
                              <div onClick={() => window.open(`/dyh/dev/index.html#/mediate/myAdjust/mediationWindow/detail?cpwsCaseInfoId=${item.guideInfoId}&cpwsCaseTextId=${item.id}`)}><span className='mediationWindow-nav-center-div-radius'></span><span className='mediationWindow-nav-center-div-title'>{item.guideTitle}</span></div>
                              {
                                isHovering.includes(index) &&
                                <Space
                                  style={{ color: '#d1021c' }} size={8}>
                                  <div onClick={() => onClickRatio(item.guideInfoId, item.id)} className='mediationWindow-nav-center-div-img'><img src={ai_2} alt="" srcset="" />&nbsp;对比</div>
                                  {/* <div onClick={() => createAgreement(item.guideInfoId)} className='mediationWindow-nav-center-div-img'><img src={ai_3} alt="" srcset="" />&nbsp;生成协议</div> */}
                                  <Popconfirm
                                    placement="bottomRight"
                                    okText="评价"
                                    onConfirm={() => { RateConfirm(item.id) }}
                                    title={<div>
                                      <div>推荐内容对您有帮助吗?</div>
                                      <div><Rate onChange={(value) => { setRate(value) }} className='mediationWindow-nav-center-div-rate' allowHalf defaultValue={1} /></div>
                                    </div>}
                                    icon=''
                                  >
                                    <div className='mediationWindow-nav-center-div-img'><img src={ai_4} alt="" srcset="" />&nbsp;评价</div>
                                  </Popconfirm>
                                </Space>
                              }
                            </div>
                            {/* <Space className="casePerfection-file-bottom" style={{ fontSize: '14px', lineHeight: '22px' }} size={11}>
                        <span>离婚纠纷</span>
                        <span className="public-span">广东省广州市</span>
                        <span className="public-span">2020.3.1</span>
                        <span className="public-span">人民调解</span>
                      </Space> */}
                            <div>
                              <Space wrap align="center" className="casePerfection-file-bottom" style={{ fontSize: '14px', lineHeight: '22px', paddingLeft: '4px' }} size={8}>
                                <span>案件特征:</span>
                                {
                                  item.featureList?.map((it, idx) => (
                                    <div key={'it' + idx} className=" public-tag public-tag-default">{it}</div>
                                  ))
                                }
                                {/* <div className=" public-tag public-tag-default">财产分割</div>
                          <div className=" public-tag public-tag-default">继承权</div> */}
                              </Space>
                            </div>
                          </div>
                        ))
                      }
                    </div>
                  </div>
 
                  <div className="mediationWindow-nav-center-div">
                    {/* 相关法条 */}
                    <div style={{ paddingBottom: '4px', display: 'flex', justifyContent: 'space-between' }}>
                      <h4>相关法条</h4>
                    </div>
                    <div style={{ minHeight: '120px', maxHeight: '340px', overflowY: 'scroll' }}>
                      {
                        fttjList?.map((item, index) => (
                          <div className='mediationWindow-nav-center-div-radius-div'>
                            <div style={{ display: 'flex', justifyContent: 'space-between' }}>
                              {/* <div onClick={() => navigate(`/mediate/myAdjust/mediationWindow/detail?id=${item.guideInfoId}`)}><span className='mediationWindow-nav-center-div-radius'></span><span className='mediationWindow-nav-center-div-title'>{item.guideTitle}</span></div> */}
                            </div>
                            <div onClick={() => handleCaseShow(String(index + 2))} className={show.includes(String(index + 2)) ? 'caseFolderCheck-folderMain-show' : 'public-a'} style={{ backgroundColor: '#F6F7FB', borderRadius: '4px', padding: '8px 12px', color: 'rgba(23,26,29,0.70)' }}>
                              {show.includes(String(index + 2)) ? item.guideText : $$.ellipsis(item.guideText, 128)}
                              {
                                item.guideText?.length > 128 &&
                                <span className='public-a' style={{ marginRight: '4px' }}>{show.includes(String(index + 2)) ? '[折叠]' : '[展开]'}</span>
                              }
                            </div>
                          </div>
                        ))
                      }
                    </div>
                  </div>
                </div>
 
              </>
            )
            }
          </>
      }
 
 
      <Drawer
        title="典型案例"
        width='720px'
        placement='right'
        closable={false}
        onClose={() => setRightModal({ visible: false })}
        open={rightModal.visible}
      >
        <Spin spinning={spinning}>
          <div style={{ borderBottom: '1px solid rgba(5,5,5,0.06)', paddingBottom: '8px' }}>
            <Form
              form={form}
              onValuesChange={handleValuesChange}
              onFinish={(values) => handleSearch(values)}
            >
              <Row gutter={[16, 2]}>
                <Col span={12} >
                  <Form.Item name={'featureName'} label={<div >案件特征</div>}>
                    <Select mode='tags' allowClear placeholder="请选择案件特征">
                      {rightSearch?.map((y) => (
                        <Option key={y}></Option>
                      ))}
                    </Select>
                  </Form.Item>
                </Col>
                <Col span={12} style={{ display: 'flex', justifyContent: 'end' }} ><Button type="primary" onClick={() => form.submit()}>查询案例</Button></Col>
              </Row>
            </Form>
            <div style={{ paddingTop: '16px' }}>
              <Space>
                <div>排序:</div>
                {/* <div style={{ display: 'flex', alignItems: 'center' }} onClick={() => { setSearchRightData({ ...searchRightData, direction: searchRightData.direction === '1' ? '-1' : '1' }) }} className='public-color'>综合排序 <img style={{ width: '14px' }} src={ai_5} alt="" srcset="" /></div> */}
                <div style={{ display: 'flex', alignItems: 'center', cursor: 'pointer' }} onClick={() => { setSearchRightData({ ...searchRightData, direction: searchRightData.direction === '1' ? '-1' : '1' }) }} className={searchRightData.direction === '1' ? '' : 'public-color'}>发生时间 <img style={{ width: '14px' }} src={searchRightData.direction === '1' ? ai_6 : ai_5} alt="" srcset="" /></div>
              </Space>
            </div>
          </div>
          <div style={{ minHeight: '680px', maxHeight: '680px', overflowY: 'hidden' }}>
            {
              rightData?.tableData?.length > 0 ? rightData?.tableData?.map((item, index) => (
                <div style={{ marginBottom: '12px', padding: '8px 0', borderBottom: '1px solid rgba(5,5,5,0.06)' }}>
                  <div onClick={() => { window.open(`/dyh/dev/index.html#/mediate/myAdjust/mediationWindow/detail?id=${item.guideInfoId}`) }} className='public-a' style={{ fontSize: '16px', lineHeight: '24px', marginBottom: '4px' }}>{item.guideTitle}</div>
                  {/* <Space className="casePerfection-file-bottom" style={{ fontSize: '14px', lineHeight: '22px', marginBottom: '4px' }} size={11}>
                <span>离婚纠纷</span>
                <span className="public-span">广东省广州市</span>
                <span className="public-span">2020.3.1</span>
                <span className="public-span">人民调解</span>
              </Space> */}
                  < div >
                    {/* <Space align="center" className="casePerfection-file-bottom" style={{ fontSize: '14px', lineHeight: '22px' }} size={8}> */}
                    < div style={{ paddingBottom: '4px' }} className={`mediationWindow-nav-center-row1 ${item?.featureList?.length > 5 && 'mediationWindow-nav-center-row1-scroll1'}`}>
                      <div style={{ whiteSpace: 'nowrap' }}>案件特征:</div>
                      {
                        item?.featureList?.map((x, t) => (
                          <div style={{ whiteSpace: 'nowrap' }} key={'featureList' + t} className="public-tag public-tag-default">{x}</div>
                        ))
                      }
                    </div>
                    {/* </Space> */}
                  </div>
                </div>
              )) : <Empty />
            }
          </div >
          <div style={{ width: '100%', display: 'flex', justifyContent: 'end', paddingTop: '12px' }}>
            <Pagination onChange={(page, pageSize) => {
              setSearchRightData({ ...searchRightData, page, size: pageSize });
              showRightModal({ page, size: pageSize })
            }} current={searchRightData.page} pageSize={searchRightData.size} total={rightData.total} />
          </div>
        </Spin >
      </Drawer >
    </div >
  );
};
 
MediationNav1.propTypes = {};
 
export default MediationNav1;