增加说明
This commit is contained in:
parent
4eaf337930
commit
3ff3ad9913
@ -1,9 +1,9 @@
|
||||
import { ComponentConst, ScreenUtil, TitleBar } from '@devwiki/common_ui';
|
||||
import web_webview from '@ohos.web.webview';
|
||||
import { TitleBarMenuType } from '@devwiki/common_ui';
|
||||
import { WebPage } from './WebPage';
|
||||
import { WebPage } from './web/WebPage';
|
||||
import { router, window } from '@kit.ArkUI';
|
||||
import { WebPageDialog } from './WebPageDialog'
|
||||
import { WebPageDialog } from './web/WebPageDialog'
|
||||
import promptAction from '@ohos.promptAction';
|
||||
import { BusinessError } from '@ohos.base';
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { WebView, WebViewParam, ComponentConst, CommonRes, TitleBar, WebViewController, ScreenUtil } from '@devwiki/common_ui';
|
||||
import { WebView, WebViewParam, ComponentConst, CommonRes, TitleBar, WebViewController, ScreenUtil } from '@devwiki/common_ui/Index';
|
||||
|
||||
@Entry
|
||||
@Component
|
@ -1,4 +1,4 @@
|
||||
|
||||
export class PageRouter{
|
||||
static readonly WebPage: string = "@bundle:net.devwiki.hm4demo/app/ets/pages/WebPage"
|
||||
static readonly WebPage: string = "@bundle:net.devwiki.hm4demo/app/ets/pages/web/WebPage"
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"src": [
|
||||
"pages/Index",
|
||||
"pages/WebPage",
|
||||
"pages/web/WebPage",
|
||||
"pages/layout/LinearLayoutPage"
|
||||
]
|
||||
}
|
||||
|
18
readme.md
18
readme.md
@ -7,4 +7,20 @@
|
||||
|
||||
## app模块
|
||||
|
||||
## common ui模块
|
||||
- [web功能](app/src/main/ets/pages/web)
|
||||
- [布局学习](app/src/main/ets/pages/layout)
|
||||
- [线性布局](app/src/main/ets/pages/layout/LinearLayoutPage.ets)
|
||||
|
||||
## common ui模块
|
||||
|
||||
包含的组件有:
|
||||
|
||||
- 封装[WebView](common_ui/src/main/ets/component/web/WebView.ets)
|
||||
- 自定标题栏: [TitleBar](common_ui/src/main/ets/component/TitleBar.ets)
|
||||
|
||||
事件相关:
|
||||
- 事件发射器 [Emitter](common_ui/src/main/ets/event/Emitter.ets)
|
||||
|
||||
工具类:
|
||||
- 公用资源调用类[CommonRes](common_ui/src/main/ets/utils/CommonRes.ets)
|
||||
- 屏幕相关[ScreenUtil](common_ui/src/main/ets/utils/ScreenUtil.ets)
|
Loading…
Reference in New Issue
Block a user