提交 1701bbb1 编写于 作者: D DCloud_LXH

feat: 行内兼容性表格

上级 8fee383b
因为 它太大了无法显示 source diff 。你可以改为 查看blob
{ {"manifest":{"table":"| 属性 | 类型 | 默认值 | 兼容性 | 描述 |\n| :- | :- | :- | :- | :- |\n| appid | string | - | - | [DCloud AppID 使用说明](https://ask.dcloud.net.cn/article/35907) |\n| name | string | - | - | 应用名称 |\n| description | string | - | - | 应用描述 |\n| versionName | string | - | - | 应用版本名称 |\n| versionCode | integer | - | - | 应用版本号,必须是整数,取值范围1~2147483647;升级时必须高于上一次设置的值。 |\n| locale | '' | - | - | 默认语言 |\n| fallbackLocale | '' | - | - | 默认回退语言 |\n| uni-app-x | [uni-app-x 配置项列表](#manifest-uni-app-x) | - | - | 存在uni-app-x节点则表示为uni-app x项目 |\n| app | [app 配置项列表](#manifest-app) | - | - | App端(原生App)配置 |","description":"[配置指南](https://doc.dcloud.net.cn/uni-app-x/collocation/manifest)"},"manifest_uni-app-x":{"table":"| 属性 | 类型 | 默认值 | 兼容性 | 描述 |\n| :- | :- | :- | :- | :- |\n| flex-direction | 'row' \\| 'row-reverse' \\| 'column' \\| 'column-reverse' | \"column\" | - | uvue页面默认flex排列方向 |","description":"存在uni-app-x节点则表示为uni-app x项目"},"manifest_app":{"table":"| 属性 | 类型 | 默认值 | 兼容性 | 描述 |\n| :- | :- | :- | :- | :- |\n| distribute | [distribute 配置项列表](#app-distribute) | - | - | App端发布配置 |","description":"App端(原生App)配置"},"app_distribute":{"table":"| 属性 | 类型 | 默认值 | 兼容性 | 描述 |\n| :- | :- | :- | :- | :- |\n| syncDebug | boolean | - | - | 是否为自定义调试基座 |\n| icons | [icons 配置项列表](#distribute-icons) | - | - | Android、iOS平台应用图标配置。云打包后生效,建议在HBuilderX中 manifest.json 的可视化界面操作,不推荐手动在源码视图中修改。 |\n| splashScreens | [splashScreens 配置项列表](#distribute-splashscreens) | - | - | Android、iOS平台应用启动界面配置。云端打包后生效,建议在HBuilderX中 manifest.json 的可视化界面操作。 |\n| android | [android 配置项列表](#distribute-android) | - | - | App-Android端发布配置 |\n| ios | [ios 配置项列表](#distribute-ios) | - | - | IOS配置 |","description":"App端发布配置"},"distribute_icons":{"table":"| 属性 | 类型 | 默认值 | 兼容性 | 描述 |\n| :- | :- | :- | :- | :- |\n| android | [android 配置项列表](#icons-android) | - | - | Android图标配置 |\n| ios | [ios 配置项列表](#icons-ios) | - | - | iOS图标配置 |","description":"Android、iOS平台应用图标配置。云打包后生效,建议在HBuilderX中 manifest.json 的可视化界面操作,不推荐手动在源码视图中修改。"},"icons_android":{"table":"| 属性 | 类型 | 默认值 | 兼容性 | 描述 |\n| :- | :- | :- | :- | :- |\n| hdpi | string | - | - | 高分屏设备程序图标,分辨率要求72x72 |\n| xhdpi | string | - | - | 720P高分屏设备程序图标,分辨率要求96x96 |\n| xxhdpi | string | - | - | 1080P高分屏设备程序图标,分辨率要求144x144 |\n| xxxhdpi | string | - | - | 2K屏设备程序图标,分辨率要求192x192 |"},"icons_ios":{"table":"| 属性 | 类型 | 默认值 | 兼容性 | 描述 |\n| :- | :- | :- | :- | :- |\n| appstore | string | - | - | iPhone/iPad设备应用图标,分辨率要求 1024x1024 |"},"distribute_splashScreens":{"table":"| 属性 | 类型 | 默认值 | 兼容性 | 描述 |\n| :- | :- | :- | :- | :- |\n| android | [android 配置项列表](#splashscreens-android) | - | - | Android平台启动图配置 |\n| android12 | [android12 配置项列表](#splashscreens-android12) | - | - | 适配支持Android12启动界面。无此配置项表示不适配支持Android12启动界面。 |","description":"Android、iOS平台应用启动界面配置。云端打包后生效,建议在HBuilderX中 manifest.json 的可视化界面操作。"},"splashScreens_android":{"table":"| 属性 | 类型 | 默认值 | 兼容性 | 描述 |\n| :- | :- | :- | :- | :- |\n| ldpi | string | - | - | 适用于(mdpi)密度屏幕(~120dpi),建议分辨率 240x320。此类设备不常见,通常可以不用配置此项。 |\n| mdpi | string | - | - | 适用于(mdpi)密度屏幕(~160dpi),建议分辨率 320x480。此类设备不常见,通常可以不用配置此项。 |\n| hdpi | string | - | - | 适用于(hdpi)密度屏幕(~240dpi),建议分辨率 480x800。此类设备不常见,通常可以不用配置此项。 |\n| xhdpi | string | - | - | 适用于(xhdpi)密度屏幕(~320dpi),建议分辨率 720x1280 |\n| xxhdpi | string | - | - | 适用于(xxhdpi)密度屏幕(~480dpi),建议分辨率 1080x1920 |\n| xxxhdpi | string | - | - | 适用于(xxxhdpi)密度屏幕(~640dpi),建议分辨率 2160x3840 |"},"splashScreens_android12":{"table":"| 属性 | 类型 | 默认值 | 兼容性 | 描述 |\n| :- | :- | :- | :- | :- |\n| background | string | - | - | 仅在Android12及以上设备生效,默认值为白色 |\n| icon | [icon 配置项列表](#android12-icon) | - | - | Android12启动界面中部Logo图标 |\n| brand | [brand 配置项列表](#android12-brand) | - | - | Android12启动界面底部品牌图标 |","description":"适配支持Android12启动界面。无此配置项表示不适配支持Android12启动界面。"},"android12_icon":{"table":"| 属性 | 类型 | 默认值 | 兼容性 | 描述 |\n| :- | :- | :- | :- | :- |\n| xhdpi | string | - | - | 适用于(xhdpi)密度屏幕(~320dpi),建议分辨率 480x480 |\n| xxhdpi | string | - | - | 适用于(xxhdpi)密度屏幕(~480dpi),建议分辨率 720x720 |\n| xxxhdpi | string | - | - | 适用于(xxxhdpi)密度屏幕(~640dpi),建议分辨率 960x960 |"},"android12_brand":{"table":"| 属性 | 类型 | 默认值 | 兼容性 | 描述 |\n| :- | :- | :- | :- | :- |\n| xhdpi | string | - | - | 适用于(xhdpi)密度屏幕(~320dpi),建议分辨率 400x160 |\n| xxhdpi | string | - | - | 适用于(xxhdpi)密度屏幕(~480dpi),建议分辨率 600x240 |\n| xxxhdpi | string | - | - | 适用于(xxxhdpi)密度屏幕(~640dpi),建议分辨率 800x320 |"},"distribute_android":{"table":"| 属性 | 类型 | 默认值 | 兼容性 | 描述 |\n| :- | :- | :- | :- | :- |\n| minSdkVersion | integer | 21 | - | 应用兼容的最低Android版本(API等级);[参考文档](https://uniapp.dcloud.io/tutorial/app-android-minsdkversion) |\n| targetSdkVersion | integer | 30 | - | 应用适配的目标Android版本(API等级),部分应用市场要求设置较高的targetSdkVersion才能提交审核;[参考文档](https://uniapp.dcloud.io/tutorial/app-android-targetsdkversion) |\n| abiFilters | Array\\<'armeabi-v7a' \\| 'arm64-v8a' \\| 'x86' \\| 'x86_64'> | [\"arm64-v8a\"\\] | - | [参考文档](https://uniapp.dcloud.io/tutorial/app-android-abifilters) |","description":"App-Android端发布配置"},"distribute_ios":{"table":"| 属性 | 类型 | 默认值 | 兼容性 | 描述 |\n| :- | :- | :- | :- | :- |\n| appid | string | - | - | iOS Bundle ID |"},"tutorial":"## 参见\n[相关 Bug](https://issues.dcloud.net.cn/?mid=collocation.manifest_json)"}
"manifest": { \ No newline at end of file
"table": "| 属性 | 类型 | 默认值 | 描述 |\n| :- | :- | :- | :- |\n| appid | string | - | [DCloud AppID 使用说明](https://ask.dcloud.net.cn/article/35907) |\n| name | string | - | 应用名称 |\n| description | string | - | 应用描述 |\n| versionName | string | - | 应用版本名称 |\n| versionCode | integer | - | 应用版本号,必须是整数,取值范围1~2147483647;升级时必须高于上一次设置的值。 |\n| locale | '' | - | 默认语言 |\n| fallbackLocale | '' | - | 默认回退语言 |\n| uni-app-x | [uni-app-x 配置项列表](#manifest-uni-app-x) | - | 存在uni-app-x节点则表示为uni-app x项目 |\n| app | [app 配置项列表](#manifest-app) | - | App端(原生App)配置 |",
"description": "[配置指南](https://doc.dcloud.net.cn/uni-app-x/collocation/manifest)"
},
"manifest_uni-app-x": {
"table": "| 属性 | 类型 | 默认值 | 描述 |\n| :- | :- | :- | :- |\n| flex-direction | 'row' \\| 'row-reverse' \\| 'column' \\| 'column-reverse' | \"column\" | uvue页面默认flex排列方向 |",
"description": "存在uni-app-x节点则表示为uni-app x项目"
},
"manifest_app": {
"table": "| 属性 | 类型 | 默认值 | 描述 |\n| :- | :- | :- | :- |\n| distribute | [distribute 配置项列表](#app-distribute) | - | App端发布配置 |",
"description": "App端(原生App)配置"
},
"app_distribute": {
"table": "| 属性 | 类型 | 默认值 | 描述 |\n| :- | :- | :- | :- |\n| syncDebug | boolean | - | 是否为自定义调试基座 |\n| icons | [icons 配置项列表](#distribute-icons) | - | Android、iOS平台应用图标配置。云打包后生效,建议在HBuilderX中 manifest.json 的可视化界面操作,不推荐手动在源码视图中修改。 |\n| splashScreens | [splashScreens 配置项列表](#distribute-splashscreens) | - | Android、iOS平台应用启动界面配置。云端打包后生效,建议在HBuilderX中 manifest.json 的可视化界面操作。 |\n| android | [android 配置项列表](#distribute-android) | - | App-Android端发布配置 |\n| ios | [ios 配置项列表](#distribute-ios) | - | IOS配置 |",
"description": "App端发布配置"
},
"distribute_icons": {
"table": "| 属性 | 类型 | 默认值 | 描述 |\n| :- | :- | :- | :- |\n| android | [android 配置项列表](#icons-android) | - | Android图标配置 |\n| ios | [ios 配置项列表](#icons-ios) | - | iOS图标配置 |",
"description": "Android、iOS平台应用图标配置。云打包后生效,建议在HBuilderX中 manifest.json 的可视化界面操作,不推荐手动在源码视图中修改。"
},
"icons_android": {
"table": "| 属性 | 类型 | 默认值 | 描述 |\n| :- | :- | :- | :- |\n| hdpi | string | - | 高分屏设备程序图标,分辨率要求72x72 |\n| xhdpi | string | - | 720P高分屏设备程序图标,分辨率要求96x96 |\n| xxhdpi | string | - | 1080P高分屏设备程序图标,分辨率要求144x144 |\n| xxxhdpi | string | - | 2K屏设备程序图标,分辨率要求192x192 |"
},
"icons_ios": {
"table": "| 属性 | 类型 | 默认值 | 描述 |\n| :- | :- | :- | :- |\n| appstore | string | - | iPhone/iPad设备应用图标,分辨率要求 1024x1024 |"
},
"distribute_splashScreens": {
"table": "| 属性 | 类型 | 默认值 | 描述 |\n| :- | :- | :- | :- |\n| android | [android 配置项列表](#splashscreens-android) | - | Android平台启动图配置 |\n| android12 | [android12 配置项列表](#splashscreens-android12) | - | 适配支持Android12启动界面。无此配置项表示不适配支持Android12启动界面。 |",
"description": "Android、iOS平台应用启动界面配置。云端打包后生效,建议在HBuilderX中 manifest.json 的可视化界面操作。"
},
"splashScreens_android": {
"table": "| 属性 | 类型 | 默认值 | 描述 |\n| :- | :- | :- | :- |\n| ldpi | string | - | 适用于(mdpi)密度屏幕(~120dpi),建议分辨率 240x320。此类设备不常见,通常可以不用配置此项。 |\n| mdpi | string | - | 适用于(mdpi)密度屏幕(~160dpi),建议分辨率 320x480。此类设备不常见,通常可以不用配置此项。 |\n| hdpi | string | - | 适用于(hdpi)密度屏幕(~240dpi),建议分辨率 480x800。此类设备不常见,通常可以不用配置此项。 |\n| xhdpi | string | - | 适用于(xhdpi)密度屏幕(~320dpi),建议分辨率 720x1280 |\n| xxhdpi | string | - | 适用于(xxhdpi)密度屏幕(~480dpi),建议分辨率 1080x1920 |\n| xxxhdpi | string | - | 适用于(xxxhdpi)密度屏幕(~640dpi),建议分辨率 2160x3840 |"
},
"splashScreens_android12": {
"table": "| 属性 | 类型 | 默认值 | 描述 |\n| :- | :- | :- | :- |\n| background | string | - | 仅在Android12及以上设备生效,默认值为白色 |\n| icon | [icon 配置项列表](#android12-icon) | - | Android12启动界面中部Logo图标 |\n| brand | [brand 配置项列表](#android12-brand) | - | Android12启动界面底部品牌图标 |",
"description": "适配支持Android12启动界面。无此配置项表示不适配支持Android12启动界面。"
},
"android12_icon": {
"table": "| 属性 | 类型 | 默认值 | 描述 |\n| :- | :- | :- | :- |\n| xhdpi | string | - | 适用于(xhdpi)密度屏幕(~320dpi),建议分辨率 480x480 |\n| xxhdpi | string | - | 适用于(xxhdpi)密度屏幕(~480dpi),建议分辨率 720x720 |\n| xxxhdpi | string | - | 适用于(xxxhdpi)密度屏幕(~640dpi),建议分辨率 960x960 |"
},
"android12_brand": {
"table": "| 属性 | 类型 | 默认值 | 描述 |\n| :- | :- | :- | :- |\n| xhdpi | string | - | 适用于(xhdpi)密度屏幕(~320dpi),建议分辨率 400x160 |\n| xxhdpi | string | - | 适用于(xxhdpi)密度屏幕(~480dpi),建议分辨率 600x240 |\n| xxxhdpi | string | - | 适用于(xxxhdpi)密度屏幕(~640dpi),建议分辨率 800x320 |"
},
"distribute_android": {
"table": "| 属性 | 类型 | 默认值 | 描述 |\n| :- | :- | :- | :- |\n| minSdkVersion | integer | 21 | 应用兼容的最低Android版本(API等级);[参考文档](https://uniapp.dcloud.io/tutorial/app-android-minsdkversion) |\n| targetSdkVersion | integer | 30 | 应用适配的目标Android版本(API等级),部分应用市场要求设置较高的targetSdkVersion才能提交审核;[参考文档](https://uniapp.dcloud.io/tutorial/app-android-targetsdkversion) |\n| abiFilters | Array\\<'armeabi-v7a' \\| 'arm64-v8a' \\| 'x86' \\| 'x86_64'> | [\"arm64-v8a\"\\] | [参考文档](https://uniapp.dcloud.io/tutorial/app-android-abifilters) |",
"description": "App-Android端发布配置"
},
"distribute_ios": {
"table": "| 属性 | 类型 | 默认值 | 描述 |\n| :- | :- | :- | :- |\n| appid | string | - | iOS Bundle ID |"
},
"tutorial": "## 参见\n[相关 Bug](https://issues.dcloud.net.cn/?mid=collocation.manifest_json)"
}
此差异已折叠。
此差异已折叠。
此差异已折叠。
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
<!-- UTSAPIJSON.createMapContext.description --> <!-- UTSAPIJSON.createMapContext.description -->
<!-- UTSAPIJSON.createMapContext.compatibility -->
<!-- UTSAPIJSON.createMapContext.param --> <!-- UTSAPIJSON.createMapContext.param -->
<!-- UTSAPIJSON.createMapContext.returnValue --> <!-- UTSAPIJSON.createMapContext.returnValue -->
<!-- UTSAPIJSON.createMapContext.compatibility --> <!-- UTSAPIJSON.createMapContext.tutorial -->
<!-- UTSAPIJSON.createMapContext.tutorial -->
\ No newline at end of file
...@@ -27,8 +27,6 @@ app-android平台,可使用本API监听应用权限申请确认框的弹出和 ...@@ -27,8 +27,6 @@ app-android平台,可使用本API监听应用权限申请确认框的弹出和
<!-- UTSAPIJSON.createRequestPermissionListener.example --> <!-- UTSAPIJSON.createRequestPermissionListener.example -->
<!-- UTSAPIJSON.createRequestPermissionListener.tutorial --> <!-- UTSAPIJSON.createRequestPermissionListener.tutorial -->
<!-- UTSAPIJSON.general_type.name --> <!-- UTSAPIJSON.general_type.name -->
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
}, },
"dependencies": { "dependencies": {
"vuepress": "1.9.9", "vuepress": "1.9.9",
"vuepress-theme-uniapp-official": "1.4.15" "vuepress-theme-uniapp-official": "1.4.17"
}, },
"resolutions": { "resolutions": {
"markdown-it": "< 14" "markdown-it": "< 14"
......
...@@ -9528,10 +9528,10 @@ vuepress-plugin-container@^2.0.2: ...@@ -9528,10 +9528,10 @@ vuepress-plugin-container@^2.0.2:
"@vuepress/shared-utils" "^1.2.0" "@vuepress/shared-utils" "^1.2.0"
markdown-it-container "^2.0.0" markdown-it-container "^2.0.0"
vuepress-plugin-expandable-row@^1.0.6: vuepress-plugin-expandable-row@^1.0.7:
version "1.0.6" version "1.0.7"
resolved "https://registry.npmmirror.com/vuepress-plugin-expandable-row/-/vuepress-plugin-expandable-row-1.0.6.tgz#7d188f7146872b5b14df32d4d2d52a260ab5a624" resolved "https://registry.npmmirror.com/vuepress-plugin-expandable-row/-/vuepress-plugin-expandable-row-1.0.7.tgz#9bcc984552e660e0a7493811206483e522917654"
integrity sha512-ok3VurXWFZaHjMOzgvmi9PIwC9JCecXg1fsH/F+oxfn6mwB16OMummHIv6bde3v+xBob6Tb4pBbSJGHzJcu1vQ== integrity sha512-dV2EH9yP5h3ef1UGn/y9rpYyfD9+6r+iCICQMmiGfJWEv8mBUdr3/aMcZcNNsdFHeBeyCy5d7gGzA60D3Jwkxw==
vuepress-plugin-juejin-style-copy@^1.0.4: vuepress-plugin-juejin-style-copy@^1.0.4:
version "1.0.4" version "1.0.4"
...@@ -9566,10 +9566,10 @@ vuepress-plugin-zooming@^1.1.8: ...@@ -9566,10 +9566,10 @@ vuepress-plugin-zooming@^1.1.8:
dependencies: dependencies:
zooming "^2.1.1" zooming "^2.1.1"
vuepress-theme-uniapp-official@1.4.15: vuepress-theme-uniapp-official@1.4.17:
version "1.4.15" version "1.4.17"
resolved "https://registry.npmmirror.com/vuepress-theme-uniapp-official/-/vuepress-theme-uniapp-official-1.4.15.tgz#9af69902b83bb6f078215d2138c79555e877b1a8" resolved "https://registry.npmmirror.com/vuepress-theme-uniapp-official/-/vuepress-theme-uniapp-official-1.4.17.tgz#b5a5ea0f78e9f0b8b0630a3c604b32f15a797357"
integrity sha512-yP0Imb9MksiFhOV8jfntWyjKADPpuEXmBFCP0bwQUznDQyce8IM3wXp5PLQeDPunUDDjLkYfzS0t1UHBYWzFIA== integrity sha512-xhNR6wzq5/iI14L0Jhq71DWPcb/y5u4NVY1viSQ03Ts/UgUl3LicgGjcDP+hGoIbVfAg8fGLqkGw70CKuTiUKg==
dependencies: dependencies:
"@docsearch/css" "^3.6.0" "@docsearch/css" "^3.6.0"
"@vuepress/plugin-back-to-top" "^1.9.5" "@vuepress/plugin-back-to-top" "^1.9.5"
...@@ -9579,7 +9579,7 @@ vuepress-theme-uniapp-official@1.4.15: ...@@ -9579,7 +9579,7 @@ vuepress-theme-uniapp-official@1.4.15:
markdown-it-raw-table "^1.0.0" markdown-it-raw-table "^1.0.0"
markdown-it-task-lists "^2.1.1" markdown-it-task-lists "^2.1.1"
vuepress-plugin-check-md2 "^1.0.5" vuepress-plugin-check-md2 "^1.0.5"
vuepress-plugin-expandable-row "^1.0.6" vuepress-plugin-expandable-row "^1.0.7"
vuepress-plugin-juejin-style-copy "^1.0.4" vuepress-plugin-juejin-style-copy "^1.0.4"
vuepress-plugin-mermaidjs "1.9.1" vuepress-plugin-mermaidjs "1.9.1"
vuepress-plugin-named-chunks "^1.1.4" vuepress-plugin-named-chunks "^1.1.4"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册