Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
unidocs-zh
提交
1443f2d8
unidocs-zh
项目概览
DCloud
/
unidocs-zh
通知
3172
Star
105
Fork
804
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
93
列表
看板
标记
里程碑
合并请求
67
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
unidocs-zh
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
93
Issue
93
列表
看板
标记
里程碑
合并请求
67
合并请求
67
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
1443f2d8
编写于
2月 28, 2024
作者:
D
DCloud_LXH
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: 去除无用文件
上级
2586672a
变更
11
展开全部
隐藏空白更改
内联
并排
Showing
11 changed file
with
0 addition
and
971 deletion
+0
-971
docs/.vuepress/utils/cssJson.json
docs/.vuepress/utils/cssJson.json
+0
-912
docs/.vuepress/utils/customTypeJson.json
docs/.vuepress/utils/customTypeJson.json
+0
-1
docs/.vuepress/utils/maniFestJson.json
docs/.vuepress/utils/maniFestJson.json
+0
-1
docs/.vuepress/utils/pageInstanceJson.json
docs/.vuepress/utils/pageInstanceJson.json
+0
-1
docs/.vuepress/utils/pagesJson.json
docs/.vuepress/utils/pagesJson.json
+0
-1
docs/.vuepress/utils/specialStringJson.json
docs/.vuepress/utils/specialStringJson.json
+0
-1
docs/.vuepress/utils/utsApiJson.json
docs/.vuepress/utils/utsApiJson.json
+0
-1
docs/.vuepress/utils/utsComJson.json
docs/.vuepress/utils/utsComJson.json
+0
-1
docs/.vuepress/utils/utsJson.json
docs/.vuepress/utils/utsJson.json
+0
-1
docs/.vuepress/utils/utsUnicloudApiJson.json
docs/.vuepress/utils/utsUnicloudApiJson.json
+0
-1
docs/.vuepress/utils/vueJson.json
docs/.vuepress/utils/vueJson.json
+0
-50
未找到文件。
docs/.vuepress/utils/cssJson.json
已删除
100644 → 0
浏览文件 @
2586672a
此差异已折叠。
点击以展开。
docs/.vuepress/utils/customTypeJson.json
已删除
100644 → 0
浏览文件 @
2586672a
此差异已折叠。
点击以展开。
docs/.vuepress/utils/maniFestJson.json
已删除
100644 → 0
浏览文件 @
2586672a
{
"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"
:
"[配置指南](http://uniapp.dcloud.io/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) | - | iOS、Android应用图标配置。云打包后生效,建议在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"
:
"iOS、Android应用图标配置。云打包后生效,建议在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 | - | 提交app store使用的图标 1024x1024 |
\n
| iphone | [iphone 配置项列表](#ios-iphone) | - | iPhone图标配置 |
\n
| ipad | [ipad 配置项列表](#ios-ipad) | - | iPad图标配置 |"
},
"ios_iphone"
:{
"table"
:
"| 属性 | 类型 | 默认值 | 描述 |
\n
| :- | :- | :- | :- |
\n
| app@2x | string | - | iOS9.0+ 程序图标(2x) |
\n
| app@3x | string | - | iOS9.0+ 程序图标(3x) |
\n
| spotlight@2x | string | - | iOS9.0+ Spotlight图标(2x) |
\n
| spotlight@3x | string | - | iOS9.0+ Spotlight图标(3x) |
\n
| settings@2x | string | - | iOS9.0+ Settings设置图标(2x) |
\n
| settings@3x | string | - | iOS9.0+ Settings设置图标(3x) |
\n
| notification@2x | string | - | iOS9.0+ 通知栏图标(2x) |
\n
| notification@3x | string | - | iOS9.0+ 通知栏图标(3x) |"
},
"ios_ipad"
:{
"table"
:
"| 属性 | 类型 | 默认值 | 描述 |
\n
| :- | :- | :- | :- |
\n
| app | string | - | iOS9.0+ 程序图标 |
\n
| app@2x | string | - | iOS9.0+ 程序图标(2x) |
\n
| proapp@2x | string | - | iOS9.0+ 程序图标(3x) |
\n
| spotlight | string | - | iOS9.0+ Spotlight图标 |
\n
| spotlight@2x | string | - | iOS9.0+ Spotlight图标(2x) |
\n
| settings | string | - | iOS9.0+ Settings设置图标 |
\n
| settings@2x | string | - | iOS9.0+ Settings设置图标(2x) |
\n
| notification | string | - | iOS9.0+ 通知栏图标 |
\n
| notification@2x | string | - | iOS9.0+ 通知栏图标(2x) |"
},
"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)"
}
\ No newline at end of file
docs/.vuepress/utils/pageInstanceJson.json
已删除
100644 → 0
浏览文件 @
2586672a
{
"lifeCycle"
:{
"name"
:
"页面生命周期"
,
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| onInit | x | x | x | x | x | x |
\n
| onLoad | 5.0 | √ | √ | 10.0 | √ | x |
\n
| onShow | 5.0 | √ | √ | 10.0 | √ | x |
\n
| onReady | 5.0 | √ | √ | 10.0 | √ | x |
\n
| onHide | 5.0 | √ | √ | 10.0 | √ | x |
\n
| onUnload | 5.0 | √ | √ | 10.0 | √ | x |
\n
| onPullDownRefresh | 5.0 | √ | √ | 10.0 | √ | x |
\n
| onReachBottom | 5.0 | √ | √ | 10.0 | √ | x |
\n
| onShareAppMessage | x | x | x | x | x | x |
\n
| onShareTimeline | x | x | x | x | x | x |
\n
| onAddToFavorites | x | x | x | x | x | x |
\n
| onPageScroll | 5.0 | √ | √ | 10.0 | √ | x |
\n
| onResize | 5.0 | √ | √ | 10.0 | √ | x |
\n
| onTabItemTap | 5.0 | √ | x | 10.0 | √ | x |
\n
| onNavigationBarButtonTap | 5.0 | √ | x | 10.0 | √ | x |
\n
| onBackPress | 5.0 | √ | √ | 10.0 | √ | x |
\n
| onNavigationBarSearchInputChanged | 5.0 | √ | x | 10.0 | √ | x |
\n
| onNavigationBarSearchInputConfirmed | 5.0 | √ | x | 10.0 | √ | x |
\n
| onNavigationBarSearchInputClicked | 5.0 | √ | x | 10.0 | √ | x |"
}}
\ No newline at end of file
docs/.vuepress/utils/pagesJson.json
已删除
100644 → 0
浏览文件 @
2586672a
{
"pages"
:{
"compatibility"
:
"**pages.json 兼容性**
\n
| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| globalStyle | 5.0 | √ | √ | 10.0 | √ | x |
\n
| pages | 5.0 | √ | √ | 10.0 | √ | x |
\n
| tabBar | 5.0 | √ | √ | 10.0 | √ | x |
\n
| condition | 5.0 | √ | √ | 10.0 | √ | x |
\n
| easycom | 5.0 | 2.5.5+ | √ | 10.0 | 2.5.5+ | x |"
,
"table"
:
"| 属性 | 类型 | 默认值 | 必填 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
| globalStyle | [globalStyle 配置项列表](#pages-globalstyle) | - | 否 | - |
\n
| pages | Array
\\
<[PagesOptionsPage](#pagesoptionspage)> | - | 是 | 页面路径及窗口表现 |
\n
| tabBar | [tabBar 配置项列表](#pages-tabbar) | - | 否 | - |
\n
| condition | [condition 配置项列表](#pages-condition) | - | 否 | - |
\n
| easycom | [easycom 配置项列表](#pages-easycom) | - | 否 | 组件自动引入规则 |"
},
"pages_globalStyle"
:{
"compatibility"
:
"**globalStyle 兼容性**
\n
| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| navigationBarBackgroundColor | 5.0 | √ | √ | 10.0 | √ | x |
\n
| navigationBarTextStyle | 5.0 | √ | √ | 10.0 | √ | x |
\n
| navigationBarTitleText | 5.0 | √ | √ | 10.0 | √ | x |
\n
| navigationStyle | 5.0 | 2.0.3+ | √ | 10.0 | 2.0.3+ | x |
\n
| enablePullDownRefresh | 5.0 | √ | √ | 10.0 | √ | x |"
,
"table"
:
"| 属性 | 类型 | 默认值 | 必填 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
| navigationBarBackgroundColor | string (string.ColorString) | APP与H5为#F8F8F8,小程序平台请参考相应小程序文档 | 否 | 导航栏背景颜色(同状态栏背景色) |
\n
| navigationBarTextStyle | 'white'
\\
| 'black' | black | 否 | 导航栏标题颜色,仅支持 black/white(支付宝小程序不支持,请使用 [my.setNavigationBar](https://opendocs.alipay.com/mini/api/xwq8e6))。 |
\n
| navigationBarTitleText | string | - | 否 | 导航栏标题文字内容 |
\n
| navigationStyle | 'default'
\\
| 'custom' | default | 否 | 导航栏样式,仅支持 default/custom。custom即取消默认的原生导航栏,需看[使用注意](/collocation/pages.md?id=customnav)。 |
\n
| enablePullDownRefresh | boolean | false | 否 | 是否开启下拉刷新,详见[页面生命周期](/tutorial/page.md?id=lifecycle)。 |"
},
"PagesOptionsPage"
:{
"compatibility"
:
"**PagesOptionsPage 兼容性**
\n
| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| path | 5.0 | √ | √ | 10.0 | √ | x |
\n
| style | 5.0 | √ | √ | 10.0 | √ | x |"
,
"table"
:
"| 属性 | 类型 | 默认值 | 必填 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
| path | string (string.PageURIString) | - | 是 | 配置页面路径 |
\n
| style | [style 配置项列表](#pagesoptionspage-style) | - | 否 | - |"
},
"PagesOptionsPage_style"
:{
"compatibility"
:
"**style 兼容性**
\n
| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| navigationBarBackgroundColor | 5.0 | √ | √ | 10.0 | √ | x |
\n
| navigationBarTextStyle | 5.0 | √ | √ | 10.0 | √ | x |
\n
| navigationBarTitleText | 5.0 | √ | √ | 10.0 | √ | x |
\n
| navigationStyle | 5.0 | 2.0.3+ | √ | 10.0 | 2.0.3+ | x |
\n
| enablePullDownRefresh | 5.0 | √ | √ | 10.0 | √ | x |"
,
"table"
:
"| 属性 | 类型 | 默认值 | 必填 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
| navigationBarBackgroundColor | string (string.ColorString) | APP与H5为#F8F8F8,小程序平台请参考相应小程序文档 | 否 | 导航栏背景颜色(同状态栏背景色) |
\n
| navigationBarTextStyle | 'white'
\\
| 'black' | black | 否 | 导航栏标题颜色,仅支持 black/white |
\n
| navigationBarTitleText | string | - | 否 | 导航栏标题文字内容 |
\n
| navigationStyle | 'default'
\\
| 'custom' | default | 否 | 导航栏样式,仅支持 default/custom。custom即取消默认的原生导航栏,需看[使用注意](/collocation/pages.md?id=customnav)。 |
\n
| enablePullDownRefresh | boolean | false | 否 | 是否开启下拉刷新,详见[页面生命周期](/tutorial/page.md#lifecycle)。 |
\n
| h5 | [h5 配置项列表](#style-h5) | - | 否 | - |
\n
| mp-alipay | [mp-alipay 配置项列表](#style-mp-alipay) | - | 否 | - |"
},
"style_h5"
:{
"table"
:
"| 属性 | 类型 | 默认值 | 必填 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
| titleNView | [titleNView 配置项列表](#h5-titlenview) | - | 否 | - |
\n
| pullToRefresh | [pullToRefresh 配置项列表](#h5-pulltorefresh) | - | 否 | - |"
},
"h5_titleNView"
:{
"table"
:
"| 属性 | 类型 | 默认值 | 必填 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
| backgroundColor | string (string.ColorString) | #f7f7f7 | 否 | 背景颜色,颜色值格式为
\"
#RRGGBB
\"
。 |
\n
| buttons | array | - | 否 | 自定义按钮,参考 [buttons](/collocation/pages.md?id=h5-titlenview-buttons)。 |
\n
| titleColor | string (string.ColorString) | #000000 | 否 | 标题文字颜色 |
\n
| titleText | string | - | 否 | 标题文字内容 |
\n
| titleSize | string | - | 否 | 标题文字字体大小 |
\n
| type | 'default'
\\
| 'transparent' | default | 否 | 导航栏样式。
\"
default
\"
-默认样式;
\"
transparent
\"
-透明渐变。 |
\n
| searchInput | object | - | 否 | 导航栏上的搜索框样式,详见:[searchInput](/collocation/pages.md?id=h5-searchinput)。 |"
},
"h5_pullToRefresh"
:{
"table"
:
"| 属性 | 类型 | 默认值 | 必填 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
| support | boolean | - | 否 | 是否开启窗口的下拉刷新功能 |
\n
| color | string (string.ColorString) | - | 否 | 颜色值格式为
\"
#RRGGBB
\"
,仅
\"
circle
\"
样式下拉刷新支持此属性。 |
\n
| type | 'default'
\\
| 'circle' | - | 否 | 下拉刷新控件样式 |
\n
| height | string | - | 否 | 窗口的下拉刷新控件进入刷新状态的拉拽高度。支持百分比,如
\"
10%
\"
;像素值,如
\"
50px
\"
。 |
\n
| range | string | - | 否 | 窗口可下拉拖拽的范围。支持百分比,如
\"
10%
\"
;像素值,如
\"
50px
\"
。 |
\n
| offset | string | - | 否 | 下拉刷新控件的起始位置。仅对
\"
circle
\"
样式下拉刷新控件有效,用于定义刷新控件下拉时的起始位置。支持百分比,如
\"
10%
\"
;像素值,如
\"
50px
\"
。 |
\n
| contentdown | [contentdown 配置项列表](#pulltorefresh-contentdown) | - | 否 | - |
\n
| contentover | [contentover 配置项列表](#pulltorefresh-contentover) | - | 否 | - |
\n
| contentrefresh | [contentrefresh 配置项列表](#pulltorefresh-contentrefresh) | - | 否 | - |"
},
"pullToRefresh_contentdown"
:{
"table"
:
"| 属性 | 类型 | 默认值 | 必填 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
| caption | string | - | 否 | 下拉刷新控件上显示的标题内容 |"
},
"pullToRefresh_contentover"
:{
"table"
:
"| 属性 | 类型 | 默认值 | 必填 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
| caption | string | - | 否 | 下拉刷新控件上显示的标题内容 |"
},
"pullToRefresh_contentrefresh"
:{
"table"
:
"| 属性 | 类型 | 默认值 | 必填 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
| caption | string | - | 否 | 下拉刷新控件上显示的标题内容 |"
},
"style_mp-alipay"
:{
"table"
:
"| 属性 | 类型 | 默认值 | 必填 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
| allowsBounceVertical | 'YES'
\\
| 'NO' | YES | 否 | 是否允许向下拉拽。支持 YES / NO |
\n
| transparentTitle | 'always'
\\
| 'auto'
\\
| 'none' | none | 否 | 导航栏透明设置。支持 always 一直透明 / auto 滑动自适应 / none 不透明 |
\n
| titlePenetrate | 'YES'
\\
| 'NO' | No | 否 | 导航栏点击穿透 |
\n
| showTitleLoading | 'YES'
\\
| 'NO' | No | 否 | 是否进入时显示导航栏的 loading。支持 YES / NO |
\n
| titleImage | string | - | 否 | 导航栏图片地址,替换导航栏标题,必须为https的图片链接地址 |
\n
| backgroundImageUrl | string (string.ImageURIString) | - | 否 | 下拉露出显示的背景图链接 |
\n
| backgroundImageColor | string (string.ColorString) | - | 否 | 下拉露出显示的背景图底色 |
\n
| gestureBack | 'YES'
\\
| 'NO' | No | 否 | 支付宝小程序 iOS 用,是否支持手势返回。支持 YES / NO |
\n
| enableScrollBar | 'YES'
\\
| 'NO' | YES | 否 | 支付宝小程序 Android 用,是否显示 WebView 滚动条。支持 YES / NO。 |"
},
"pages_tabBar"
:{
"compatibility"
:
"**tabBar 兼容性**
\n
| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| color | 5.0 | √ | √ | 10.0 | √ | x |
\n
| selectedColor | 5.0 | √ | √ | 10.0 | √ | x |
\n
| backgroundColor | 5.0 | √ | √ | 10.0 | √ | x |
\n
| list | 5.0 | √ | √ | 10.0 | √ | x |
\n
| backgroundImage | 5.0 | √ | √ | 10.0 | √ | x |
\n
| backgroundRepeat | 5.0 | √ | √ | 10.0 | √ | x |
\n
| redDotColor | 5.0 | √ | √ | 10.0 | √ | x |"
,
"table"
:
"| 属性 | 类型 | 默认值 | 必填 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
| color | string (string.ColorString) | - | 是 | tab 上的文字默认颜色 |
\n
| selectedColor | string (string.ColorString) | - | 是 | tab 上的文字选中时的颜色 |
\n
| backgroundColor | string (string.ColorString) | - | 是 | tab 的背景色 |
\n
| list | Array
\\
<[PagesOptionsTabbarList](#pagesoptionstabbarlist)> | - | 是 | tab 的列表,详见 list 属性说明,最少2个、最多5个 tab |
\n
| backgroundImage | string | - | 否 | 设置背景图片,优先级高于 backgroundColor |
\n
| backgroundRepeat | 'repeat'
\\
| 'repeat-x'
\\
| 'repeat-y'
\\
| 'no-repeat' | no-repeat | 否 | 设置标题栏的背景图平铺方式 |
\n
| redDotColor | string (string.ColorString) | - | 否 | tabbar上红点颜色 |"
},
"PagesOptionsTabbarList"
:{
"compatibility"
:
"**PagesOptionsTabbarList 兼容性**
\n
| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| iconfont | 5.0 | 3.4.4+ | √ | 10.0 | 3.4.4+ | x |
\n
| pagePath | 5.0 | √ | √ | 10.0 | √ | x |
\n
| text | 5.0 | √ | √ | 10.0 | √ | x |
\n
| iconPath | 5.0 | √ | √ | 10.0 | √ | x |
\n
| selectedIconPath | 5.0 | √ | √ | 10.0 | √ | x |
\n
| visible | 5.0 | 3.2.10+ | √ | 10.0 | 3.2.10+ | x |"
,
"table"
:
"| 属性 | 类型 | 默认值 | 必填 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
| iconfont | [iconfont 配置项列表](#pagesoptionstabbarlist-iconfont) | - | 否 | 字体图标,优先级高于 iconPath |
\n
| pagePath | string (string.PageURIString) | - | 是 | 页面路径,必须在 pages 中先定义 |
\n
| text | string | - | 是 | tab 上按钮文字,在 App 和 H5 平台为非必填。例如中间可放一个没有文字的+号图标 |
\n
| iconPath | string (string.ImageURIString) | - | 否 | 图片路径,icon 大小限制为40kb,建议尺寸为 81px * 81px,当 position 为 top 时,此参数无效,不支持网络图片,不支持字体图标 |
\n
| selectedIconPath | string (string.ImageURIString) | - | 否 | 选中时的图片路径,icon 大小限制为40kb,建议尺寸为 81px * 81px ,当 position 为 top 时,此参数无效 |
\n
| visible | string | - | 否 | 该项是否显示,默认显示 |"
},
"PagesOptionsTabbarList_iconfont"
:{
"table"
:
"| 属性 | 类型 | 默认值 | 必填 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
| text | string | - | 否 | 字库 Unicode 码 |
\n
| selectedText | string | - | 否 | 选中后字库 Unicode 码 |
\n
| fontSize | string | - | 否 | 字体图标字号(px) |
\n
| color | string (string.ColorString) | - | 否 | 字体图标颜色 |
\n
| selectedColor | string (string.ColorString) | - | 否 | 字体图标选中颜色 |"
,
"description"
:
"字体图标,优先级高于 iconPath"
},
"pages_condition"
:{
"table"
:
"| 属性 | 类型 | 默认值 | 必填 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
| current | number | - | 是 | 当前激活的模式,list节点的索引值。 |
\n
| list | Array
\\
<[PagesConditionItem](#pagesconditionitem)> | - | 是 | 启动模式列表 |"
},
"PagesConditionItem"
:{
"table"
:
"| 属性 | 类型 | 默认值 | 必填 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
| name | string | - | 是 | 启动模式名称 |
\n
| path | string (string.PageURIString) | - | 是 | 启动页面路径 |
\n
| query | string | - | 否 | 启动参数,可在页面的 onLoad 函数里获得 |"
},
"pages_easycom"
:{
"table"
:
"| 属性 | 类型 | 默认值 | 必填 | 描述 |
\n
| :- | :- | :- | :- | :- |
\n
| autoscan | boolean | true | 否 | 是否开启自动扫描,开启后将会自动扫描符合components/组件名称/组件名称.vue/uvue目录结构的组件 |
\n
| custom | object | - | 否 | 以正则方式自定义组件匹配规则。如果autoscan不能满足需求,可以使用custom自定义匹配规则 |"
,
"description"
:
"组件自动引入规则"
},
"tutorial"
:
"## 参见
\n
[相关 Bug](https://issues.dcloud.net.cn/?mid=collocation.pages_json)"
}
\ No newline at end of file
docs/.vuepress/utils/specialStringJson.json
已删除
100644 → 0
浏览文件 @
2586672a
{
"specialString"
:{
"name"
:
"### 特殊 String @special-string"
,
"table"
:
"| 名称 | 描述 |
\n
| :- | :- |
\n
| AttrString | 元素上的属性 |
\n
| AttrValueString | 元素上某个属性的值 |
\n
| ClassString | 元素全局属性`class`的值 |
\n
| IDString | 元素全局属性`id`的值 |
\n
| HTMLEventString | 元素上的事件 |
\n
| ColorString | CSS颜色的值 |
\n
| RequireCommonString | 提示common模块 以及js文件路径 |
\n
| VueI18NKeyString | 国际化翻译的key值 |
\n
| VueDataString | vue默认参数data中的属性名称 |
\n
| VueRefString | vue组件中ref属性的值 |
\n
| VuexDispatchString | vuex 中 actions 的名称 |
\n
| VuexCommitString | vuex 中 mutations 的名称 |
\n
| PageURIString | vue, nvue, uvue页面文件的文件路径(根据项目自动匹配) |
\n
| NPageURIString | nvue页面文件的文件路径 |
\n
| UPageURIString | uvue页面文件的文件路径, 仅在uniappx中生效 |
\n
| VideoIdString | video 组件的 id, 仅在uniappx中生效 |
\n
| WebviewIdString | web-view 组件的 id, 仅在uniappx中生效 |
\n
| ParentFieldString | uniCloud db schema中parentKey的值 |
\n
| SchemaFieldString | uniCloud db schema中required数组的值 |
\n
| ValidateFunctionString | uniCloud db schema中validateFunction的值 |
\n
| CloudFunctionString | uniCloud 云函数名 |
\n
| CloudObjectString | uniCloud 云对象名 |
\n
| DBCollectionString | uniCloud 数据库集合的名称 |
\n
| DBFieldString | uniCloud 数据库字段名称 |
\n
| JQLString | uniCloud 数据库要操作的集合, 要查询的字段 |
\n
| cssPropertyString | CSS属性的名称 |
\n
| cssPropertyValueString | CSS某个属性的值 |
\n
| cssSelectorString | CSS选择器的名称 |
\n
| URIString | 任意文件的文件路径 |
\n
| CSSURIString | css文件的文件路径(后缀为`.css`的文件路径) |
\n
| JSURIString | js文件的文件路径(后缀为`.js`的文件路径) |
\n
| HTMLURIString | html文件的文件路径(后缀为`.html`的文件路径) |
\n
| MarkdownURIString | markdown文件的文件路径(后缀为`.md`的文件路径) |
\n
| ScriptImportURIString | js, ts, uts引用文件或模块的文件路径(支持vue,nvue,uvue中script标签内容), 例: `import xxx from 'xxx'` |
\n
| CssImportURIString | css文件可以引用的文件的文件路径, 后缀为`[
\"
.css
\"\\
]`的文件路径 例: `@import url('xxx.css')` |
\n
| ScssImportURIString | scss文件可以引用的文件的文件路径, 后缀为`[
\"
.scss
\"
,
\"
.css
\"\\
]`的文件路径, 例: `@import 'xxx.scss'` |
\n
| LessImportURIString | less文件可以引用的文件的文件路径, 后缀为`[
\"
.less
\"
,
\"
.css
\"\\
]`的文件路径, 例: `@import 'xxx.less'` |
\n
| FontURIString | 字体文件的文件路径 |
\n
| ImageURIString | 图片文件的文件路径 |
\n
| AudioURIString | 音频文件的文件路径 |
\n
| VideoURIString | 视频文件的文件路径 |"
}}
\ No newline at end of file
docs/.vuepress/utils/utsApiJson.json
已删除
100644 → 0
浏览文件 @
2586672a
此差异已折叠。
点击以展开。
docs/.vuepress/utils/utsComJson.json
已删除
100644 → 0
浏览文件 @
2586672a
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
docs/.vuepress/utils/utsJson.json
已删除
100644 → 0
浏览文件 @
2586672a
此差异已折叠。
点击以展开。
docs/.vuepress/utils/utsUnicloudApiJson.json
已删除
100644 → 0
浏览文件 @
2586672a
此差异已折叠。
点击以展开。
docs/.vuepress/utils/vueJson.json
已删除
100644 → 0
浏览文件 @
2586672a
{
"application"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| app.component() | 5.0 | √ | √ | 10.0 | √ | x |
\n
| app.directive() | 5.0 | √ | x | 10.0 | √ | x |
\n
| app.use() | 5.0 | √ | 3.99 | 10.0 | √ | x |
\n
| app.mixin() | 5.0 | √ | 3.99 | 10.0 | √ | x |
\n
| app.provide() | 5.0 | √ | 3.99 | 10.0 | √ | x |
\n
| app.config | 5.0 | √ | √ | 10.0 | √ | x |
\n
| app.config.errorHandler | 5.0 | √ | x | 10.0 | √ | x |
\n
| app.config.warnHandler | 5.0 | √ | x | 10.0 | √ | x |
\n
| app.config.performance | 5.0 | √ | x | 10.0 | √ | x |
\n
| app.config.globalProperties | 5.0 | √ | 3.99 | 10.0 | √ | x |
\n
| app.config.optionMergeStrategies | 5.0 | √ | x | 10.0 | √ | x |"
},
"general"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| nextTick() | 5.0 | x | √ | 10.0 | x | x |
\n
| defineComponent() | 5.0 | x | x | 10.0 | x | x |
\n
| defineAsyncComponent() | 5.0 | x | x | 10.0 | x | x |"
},
"reactivity_core"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| ref() | 5.0 | √ | √ | 10.0 | √ | x |
\n
| computed() | 5.0 | √ | x | 10.0 | √ | x |
\n
| reactive() | 5.0 | √ | √ | 10.0 | √ | x |
\n
| readonly() | 5.0 | √ | x | 10.0 | √ | x |
\n
| watchEffect() | 5.0 | √ | x | 10.0 | √ | x |
\n
| watch() | 5.0 | √ | x | 10.0 | √ | x |"
},
"reactivity_utilities"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| isRef() | 5.0 | √ | x | 10.0 | √ | x |
\n
| unref() | 5.0 | √ | x | 10.0 | √ | x |
\n
| toRef() | 5.0 | √ | x | 10.0 | √ | x |
\n
| toRefs() | 5.0 | √ | x | 10.0 | √ | x |
\n
| isProxy() | 5.0 | √ | x | 10.0 | √ | x |
\n
| isReactive() | 5.0 | √ | x | 10.0 | √ | x |
\n
| isReadonly() | 5.0 | √ | x | 10.0 | √ | x |"
},
"reactivity_advanced"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| shallowRef() | 5.0 | √ | x | 10.0 | √ | x |
\n
| triggerRef() | 5.0 | √ | x | 10.0 | √ | x |
\n
| customRef() | 5.0 | √ | x | 10.0 | √ | x |
\n
| shallowReactive() | 5.0 | √ | x | 10.0 | √ | x |
\n
| shallowReadonly() | 5.0 | √ | x | 10.0 | √ | x |
\n
| toRaw() | 5.0 | √ | x | 10.0 | √ | x |
\n
| markRaw() | 5.0 | √ | x | 10.0 | √ | x |"
},
"options_state"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| data | 5.0 | √ | √ | 10.0 | √ | x |
\n
| props | 5.0 | √ | √ | 10.0 | √ | x |
\n
| computed | 5.0 | √ | √ | 10.0 | √ | x |
\n
| methods | 5.0 | √ | √ | 10.0 | √ | x |
\n
| watch | 5.0 | √ | √ | 10.0 | √ | x |
\n
| emits | 5.0 | √ | √ | 10.0 | √ | x |"
},
"options_rendering"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| template | 5.0 | x | x | 10.0 | x | x |
\n
| render | 5.0 | x | 3.99 | 10.0 | x | x |"
},
"options_lifecycle"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| beforeCreate | 5.0 | √ | √ | 10.0 | √ | x |
\n
| created | 5.0 | √ | √ | 10.0 | √ | x |
\n
| beforeMount | 5.0 | √ | √ | 10.0 | √ | x |
\n
| mounted | 5.0 | √ | √ | 10.0 | √ | x |
\n
| beforeUpdate | 5.0 | √ | √ | 10.0 | √ | x |
\n
| updated | 5.0 | √ | √ | 10.0 | √ | x |
\n
| beforeUnmount | 5.0 | √ | √ | 10.0 | √ | x |
\n
| unmounted | 5.0 | √ | √ | 10.0 | √ | x |
\n
| errorCaptured | 5.0 | √ | x | 10.0 | √ | x |
\n
| renderTracked | 5.0 | √ | x | 10.0 | √ | x |
\n
| renderTriggered | 5.0 | √ | x | 10.0 | √ | x |
\n
| activated | 5.0 | √ | x | 10.0 | √ | x |
\n
| deactivated | 5.0 | √ | x | 10.0 | √ | x |"
},
"options_composition"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| provide | 5.0 | √ | 3.99 | 10.0 | √ | x |
\n
| inject | 5.0 | √ | 3.99 | 10.0 | √ | x |
\n
| mixins | 5.0 | √ | 3.99 | 10.0 | √ | x |
\n
| extends | 5.0 | √ | x | 10.0 | √ | x |"
},
"options_misc"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| name | 5.0 | √ | √ | 10.0 | √ | x |
\n
| inheritAttrs | 5.0 | √ | √ | 10.0 | √ | x |
\n
| components | 5.0 | √ | √ | 10.0 | √ | x |
\n
| directives | 5.0 | √ | x | 10.0 | √ | x |"
},
"component_instance"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| $data | 5.0 | √ | √ | 10.0 | √ | x |
\n
| $props | 5.0 | √ | √ | 10.0 | √ | x |
\n
| $el | 5.0 | x | √ | 10.0 | x | x |
\n
| $options | 5.0 | √ | √ | 10.0 | √ | x |
\n
| $parent | 5.0 | √ | √ | 10.0 | √ | x |
\n
| $root | 5.0 | √ | √ | 10.0 | √ | x |
\n
| $slots | 5.0 | x | √ | 10.0 | √ | x |
\n
| $refs | 5.0 | √ | √ | 10.0 | √ | x |
\n
| $attrs | 5.0 | √ | √ | 10.0 | √ | x |
\n
| $watch() | 5.0 | √ | √ | 10.0 | √ | x |
\n
| $emit | 5.0 | √ | √ | 10.0 | √ | x |
\n
| $forceUpdate | 5.0 | √ | 3.99 | 10.0 | √ | x |
\n
| $nextTick | 5.0 | √ | √ | 10.0 | √ | x |
\n
| $callMethod | 5.0 | x | √ | 10.0 | x | x |"
},
"directives"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| v-text | 5.0 | √ | √ | 10.0 | √ | x |
\n
| v-html | 5.0 | √ | 3.99 | 10.0 | √ | x |
\n
| v-show | 5.0 | √ | √ | 10.0 | √ | x |
\n
| v-if | 5.0 | √ | √ | 10.0 | √ | x |
\n
| v-else | 5.0 | √ | √ | 10.0 | √ | x |
\n
| v-else-if | 5.0 | √ | √ | 10.0 | √ | x |
\n
| v-for | 5.0 | √ | √ | 10.0 | √ | x |
\n
| v-on | 5.0 | √ | √ | 10.0 | √ | x |
\n
| v-bind | 5.0 | √ | √ | 10.0 | √ | x |
\n
| v-model | 5.0 | √ | √ | 10.0 | √ | x |
\n
| v-slot | 5.0 | √ | √ | 10.0 | √ | x |
\n
| v-pre | 5.0 | √ | 3.99 | 10.0 | √ | x |
\n
| v-once | 5.0 | √ | 3.99 | 10.0 | √ | x |
\n
| v-memo | 5.0 | x | 3.99 | 10.0 | x | x |
\n
| v-cloak | 5.0 | x | x | 10.0 | x | x |"
},
"components"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
|
\\
<Transition> | 5.0 | x | x | 10.0 | x | x |
\n
|
\\
<TransitionGroup> | 5.0 | x | x | 10.0 | x | x |
\n
|
\\
<KeepAlive> | 5.0 | x | x | 10.0 | x | x |
\n
|
\\
<Teleport> | 5.0 | x | x | 10.0 | x | x |"
},
"special_elements"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
|
\\
<component> | 5.0 | √ | 3.99 | 10.0 | √ | x |
\n
|
\\
<slot> | 5.0 | √ | √ | 10.0 | √ | x |
\n
|
\\
<template> | 5.0 | √ | √ | 10.0 | √ | x |"
},
"special_attributes"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| key | 5.0 | √ | √ | 10.0 | √ | x |
\n
| ref | 5.0 | √ | √ | 10.0 | √ | x |
\n
| is | 5.0 | √ | 3.99 | 10.0 | √ | x |"
},
"render_function"
:
{
"compatibility"
:
"| | 安卓系统版本 | 安卓 uni-app | 安卓 uni-app-x | iOS 系统版本 | iOS uni-app | iOS uni-app-x |
\n
| :- | :- | :- | :- | :- | :- | :- |
\n
| h() | 5.0 | x | 3.99 | 10.0 | x | x |
\n
| resolveComponent() | 5.0 | x | √ | 10.0 | x | x |
\n
| resolveDirective() | 5.0 | x | x | 10.0 | x | x |
\n
| withDirectives() | 5.0 | x | √ | 10.0 | x | x |"
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录