// src/panels/views/AircraftView.ts import { BaseView } from './BaseView'; export class AircraftView extends BaseView { render(data?: { aircrafts: any[] }): string { const aircrafts = data?.aircrafts || []; // 生成飞行器列表的 HTML const aircraftsHtml = aircrafts.map((aircraft: any) => { return ` 🛸 ${aircraft.name} 配置 `; }).join(''); return ` 飞行器管理 ${this.getStyles()}

🚀 飞行器管理

${aircraftsHtml}
飞行器 配置 操作
`; } }