From 0308a6716141b301e27ca8a9738bd2819c2129ae Mon Sep 17 00:00:00 2001 From: DCloud_LXH <283700113@qq.com> Date: Mon, 30 May 2022 11:17:04 +0800 Subject: [PATCH] chore: code color --- docs/.vuepress/theme/styles/index.styl | 3 +++ docs/api/system/info.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/.vuepress/theme/styles/index.styl b/docs/.vuepress/theme/styles/index.styl index 254332deb..eac773720 100644 --- a/docs/.vuepress/theme/styles/index.styl +++ b/docs/.vuepress/theme/styles/index.styl @@ -141,3 +141,6 @@ h1, h2, h3, h4, h5, h6 100% transform rotate3d(0, 0, 1, 360deg) + +.theme-default-content code + color #e96900 \ No newline at end of file diff --git a/docs/api/system/info.md b/docs/api/system/info.md index 145661639..4f373347e 100644 --- a/docs/api/system/info.md +++ b/docs/api/system/info.md @@ -37,7 +37,7 @@ uni-app提供了同步(`uni.getSystemInfo`)和异步(`uni.getSystemInfoSync`)的 | |osVersion |操作系统版本。如 ios 版本,andriod 版本| | | | |`uni-app (3.4.10+)` | | |osLanguage |操作系统语言 |`zh-CN 中文简体`、`zh-TW 中文繁体`、`en-US English`、`bo-CN 藏文`、`ug-CN 维吾尔语`等 |与浏览器语言一致 |不支持 | |`uni-app (3.4.10+)` | | |osTheme |操作系统主题。 |light、dark|不支持 |不支持 | |`uni-app (3.4.10+)` -|browser |browserName |浏览器名称或App平台系统webview名称|系统 webview 名称,wkwebview、chrome |chrome、edge、safari、firefox |不支持||`uni-app (3.4.10+)`| +|browser |browserName |浏览器名称或App平台系统webview名称|系统 webview 名称,x5webview、wkwebview、chrome |chrome、edge、safari、firefox |不支持||`uni-app (3.4.10+)`| | |browseVersion |浏览器版本、webview 版本| | |不支持 | |`uni-app (3.4.10+)`| |host |hostName |App、小程序宿主名称,如:`WeChat`、`FeiShu`。Web 端为浏览器名称 |仅UniMPSDK 支持 |浏览器名称|[取值如下](#hostname)|微信小程序真机运行才有真值|`uni-app (3.4.10+)` | | |hostVersion |App、小程序宿主版本。如:微信版本号。Web 端为浏览器版本|仅UniMPSDK 支持 |浏览器版本|小程序宿主版本| |`uni-app (3.4.10+)` | -- GitLab