优化 TitleBar 和 Index 页面
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
export function add(a:number, b:number) {
|
||||
return a + b;
|
||||
}
|
||||
17
common_ui/src/main/ets/utils/CommonRes.ets
Normal file
17
common_ui/src/main/ets/utils/CommonRes.ets
Normal 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");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user