
// 选尺寸制作
export interface HomeItem {
  id: number;
  name: string;    // 显示的文本内容
  icon: Resource;  // 可选的图标资源
  resize: string;  //尺寸值
  width: number;   //尺寸值,宽度
  height: number;  //尺寸值,高度
}

export class TabBarItem {
  id: number = 0;
  name: Resource = $r('app.string.tab_home');
  icon: Resource = $r('app.media.ic_tabs_home_normal');
  selectIcon: Resource = $r('app.media.ic_tabs_home_selected');
}

export interface DownloadItem {
  id: number;
  name: string;
  url: string;
  progress: number;
  path: string;
  state: number;//0:normal 1:down 2:finish
}