优化 TitleBar 和 Index 页面

This commit is contained in:
2024-04-02 15:01:03 +08:00
parent c0854269a9
commit 99aaff6876
12 changed files with 396 additions and 72 deletions

View File

@@ -1,3 +0,0 @@
export function add(a:number, b:number) {
return a + b;
}

View File

@@ -0,0 +1,17 @@
export class CommonRes {
private constructor() {
}
public static getIconRefresh(): Resource {
return $r("app.media.ic_refresh");
}
public static getIconBack(): Resource {
return $r("app.media.ic_chevron_left");
}
public static getIconClose(): Resource {
return $r("app.media.ic_close");
}
}