feat: app 端 ui 设计完成

This commit is contained in:
liqupan
2026-01-28 19:10:19 +08:00
commit a4e7898e94
149 changed files with 11302 additions and 0 deletions

47
wei-ai-demo/types.ts Normal file
View File

@@ -0,0 +1,47 @@
export interface Message {
id: string;
text: string;
sender: 'user' | 'ai';
type: 'text' | 'image' | 'audio';
timestamp: number;
imageUrl?: string;
isLocked?: boolean;
}
export interface Scenario {
id: string;
title: string;
category: string;
cover: string;
duration: string; // e.g., "15:00"
intensity: 'Low' | 'Medium' | 'High' | 'Extreme';
isLocked: boolean;
tags: string[];
}
export interface Character {
id: string;
name: string;
tagline: string;
avatar: string;
description: string;
tags: string[];
compatibility: number; // 硬件契合度 %
status: 'online' | 'busy' | 'offline';
isLocked?: boolean;
}
export interface DeviceStatus {
connected: boolean;
battery: number;
temperature: number;
signalStrength: number;
currentMode: 'Idle' | 'Pattern' | 'Manual';
}
export enum UserTab {
Discovery = 'discovery', // Changed from Interaction
Library = 'library',
Control = 'control',
Profile = 'profile',
}