.comp-node-container { .comp-node-box { width: 90%; margin: 0 auto; border-radius: 10px; box-shadow: 0 0 10px #cccccc; padding-bottom: 8px; overflow: hidden; .comp-node-title { text-align: center; font-size: 18px; margin-bottom: 10px; background-color: #ffa500; padding: 5px 0; } .comp-node-api { display: flex; align-items: center; justify-content: space-between; .api-in, .api-out { display: flex; flex-direction: column; font-size: 16px; font-weight: 700; .flex-box { display: flex; align-items: center; .right-arrow { width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 10px solid #68b25b; /* 箭头颜色 */ } } } .api-out { justify-content: flex-end; } } .comp-node-data { .data-in, .data-out { display: flex; flex-direction: column; .flex-box { display: flex; align-items: center; flex: 1; .rectangular { width: 11px; height: 8px; background-color: #68b25b; border-radius: 3px; } } } .data-out { align-items: flex-end; } } } .comp-node-other { margin-top: 20px; .description { margin-top: 10px; } } }