export interface TextStyle { fontFamily: string; fontSize: number; color: string; fontWeight: any; letterSpacing: number; italics: boolean; } /**天气信息布局 */ export interface weatherLayou { flexDirection: string; alignItems: string; reverseSort: boolean; } /**天气名称 */ export interface weatherTitleInfo { display: boolean; horOffset: number; verOffset: number; TextStyle: TextStyle; } /**温度 */ export interface temperatureInfo { display: boolean; horOffset: number; verOffset: number; connectors: string; TextStyle: TextStyle; tempSuffix: tempSuffix; } /**温度后缀 */ export interface tempSuffix { display: boolean; content: string; fontFamily: string; fontSize: number; color: string; fontWeight: any; letterSpacing: number; italics: boolean; } /**风 */ export interface windInfo { display: boolean; horOffset: number; verOffset: number; TextStyle: TextStyle; } export interface globalConfig { citySelect: { label: string; value: string; }; iconLetterSpace: number; weatherLayout: weatherLayou; iconInfo: iconInfo; } export interface iconInfo { display: boolean; site: string; iconSeries: any[]; } /**天气信息 */ export interface weatherConfig { minSpace: number; weatherTitleInfo?: weatherTitleInfo; temperatureInfo?: temperatureInfo; windInfo?: windInfo; } /**数据配置信息 */ export interface dataMap { weather: string; mintemperature: number | string; maxtemperature: number | string; winddirection: string; windlevel: string; } /**天气组件配置 */ export interface lczWeatherConfig { globalConfig: globalConfig; weatherConfig: weatherConfig; data?: dataMap[]; }