提交 8d443673 编写于 作者: D DCloud_LXH

feat: theme

上级 bf45df4c
......@@ -23,6 +23,7 @@
* [交互反馈](prompt.md)
* [动态加载字体](load-font-face.md)
* [rpx2px](rpx2px.md)
<!-- * [主题](theme.md) -->
* 网络
* [发起请求request](request.md)
* [上传文件](upload-file.md)
......
## uni.setAppTheme(options) @setapptheme
<!-- UTSAPIJSON.setAppTheme.description -->
<!-- UTSAPIJSON.setAppTheme.param -->
<!-- UTSAPIJSON.setAppTheme.returnValue -->
<!-- UTSAPIJSON.setAppTheme.compatibility -->
<!-- UTSAPIJSON.setAppTheme.tutorial -->
## uni.onOsThemeChange(callback) @onosthemechange
<!-- UTSAPIJSON.onOsThemeChange.description -->
<!-- UTSAPIJSON.onOsThemeChange.param -->
<!-- UTSAPIJSON.onOsThemeChange.returnValue -->
<!-- UTSAPIJSON.onOsThemeChange.compatibility -->
<!-- UTSAPIJSON.onOsThemeChange.tutorial -->
## uni.offOsThemeChange(id) @offosthemechange
<!-- UTSAPIJSON.offOsThemeChange.description -->
<!-- UTSAPIJSON.offOsThemeChange.param -->
<!-- UTSAPIJSON.offOsThemeChange.returnValue -->
<!-- UTSAPIJSON.offOsThemeChange.compatibility -->
<!-- UTSAPIJSON.offOsThemeChange.tutorial -->
## uni.onAppThemeChange(callback) @onappthemechange
<!-- UTSAPIJSON.onAppThemeChange.description -->
<!-- UTSAPIJSON.onAppThemeChange.param -->
<!-- UTSAPIJSON.onAppThemeChange.returnValue -->
<!-- UTSAPIJSON.onAppThemeChange.compatibility -->
<!-- UTSAPIJSON.onAppThemeChange.tutorial -->
## uni.offAppThemeChange(id) @offappthemechange
<!-- UTSAPIJSON.offAppThemeChange.description -->
<!-- UTSAPIJSON.offAppThemeChange.param -->
<!-- UTSAPIJSON.offAppThemeChange.returnValue -->
<!-- UTSAPIJSON.offAppThemeChange.compatibility -->
<!-- UTSAPIJSON.offAppThemeChange.tutorial -->
<!-- UTSAPIJSON.general_type.name -->
<!-- UTSAPIJSON.general_type.param -->
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册