1 {/* 输出 */}
2 <div className={styles.outputOutside}>
3 <div className={styles.outputBorder}>
4 <div className={styles.outputText}>输出</div>
5 {/* <div className='outputOutside_content'>输入输入输入</div> */}
6 <div className={styles.outputOutside_content}>
7 <Timeline>
8 {outputDisplayData.map((el, index) => {
9 return (
10 // <Item key={index}>{el}</Item>
11 <Item
12 key={index}
13 style={{ width: '90%', margin: 'auto' }}
14 dot={<div className="output_list_dot"></div>}
15 >
16 {el}
17 </Item>
19 );
20 })}
21 </Timeline>
22 </div>
23 </div>
24 </div>
1 :global {
2 .output_list_dot {
3 background-color: #bdc2c8;
4 border-radius: 50%;
5 width: 10px;
6 height: 10px;
7 display: flex;
8 justify-content: center;
9 align-items: center;
10 }
11
12 .ant-timeline-item:hover {
13 color: #0052d9;
14 font-weight: 600;
15
16 & > .ant-timeline-item-head > .output_list_dot {
17 background-color: rgb(43, 150, 43);
18 }
19 }
20
21 .ant-timeline-item-tail {
22 position: fixed;
23 }
24 }