Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DiDi
cube-ui
提交
29d54577
C
cube-ui
项目概览
DiDi
/
cube-ui
9 个月 前同步成功
通知
34
Star
9078
Fork
1508
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
cube-ui
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
29d54577
编写于
8月 20, 2018
作者:
J
jiangxin
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
docs(popups): add zIndex prop desc
上级
1cbf1e36
变更
20
隐藏空白更改
内联
并排
Showing
20 changed file
with
25 addition
and
5 deletion
+25
-5
document/components/docs/en-US/action-sheet.md
document/components/docs/en-US/action-sheet.md
+1
-0
document/components/docs/en-US/cascade-picker.md
document/components/docs/en-US/cascade-picker.md
+2
-1
document/components/docs/en-US/date-picker.md
document/components/docs/en-US/date-picker.md
+2
-1
document/components/docs/en-US/dialog.md
document/components/docs/en-US/dialog.md
+1
-0
document/components/docs/en-US/image-preview.md
document/components/docs/en-US/image-preview.md
+1
-0
document/components/docs/en-US/picker.md
document/components/docs/en-US/picker.md
+2
-1
document/components/docs/en-US/popup.md
document/components/docs/en-US/popup.md
+1
-0
document/components/docs/en-US/segment-picker.md
document/components/docs/en-US/segment-picker.md
+2
-1
document/components/docs/en-US/time-picker.md
document/components/docs/en-US/time-picker.md
+1
-0
document/components/docs/en-US/toast.md
document/components/docs/en-US/toast.md
+1
-0
document/components/docs/zh-CN/action-sheet.md
document/components/docs/zh-CN/action-sheet.md
+1
-0
document/components/docs/zh-CN/cascade-picker.md
document/components/docs/zh-CN/cascade-picker.md
+1
-0
document/components/docs/zh-CN/date-picker.md
document/components/docs/zh-CN/date-picker.md
+2
-1
document/components/docs/zh-CN/dialog.md
document/components/docs/zh-CN/dialog.md
+1
-0
document/components/docs/zh-CN/image-preview.md
document/components/docs/zh-CN/image-preview.md
+1
-0
document/components/docs/zh-CN/picker.md
document/components/docs/zh-CN/picker.md
+1
-0
document/components/docs/zh-CN/popup.md
document/components/docs/zh-CN/popup.md
+1
-0
document/components/docs/zh-CN/segment-picker.md
document/components/docs/zh-CN/segment-picker.md
+1
-0
document/components/docs/zh-CN/time-picker.md
document/components/docs/zh-CN/time-picker.md
+1
-0
document/components/docs/zh-CN/toast.md
document/components/docs/zh-CN/toast.md
+1
-0
未找到文件。
document/components/docs/en-US/action-sheet.md
浏览文件 @
29d54577
...
...
@@ -146,6 +146,7 @@ __Notice:__ Cause this component used create-api, so you should read [create-api
| pickerStyle | Picker style | Boolean | true/false | false |
| visible
<sup>
1.8.1
</sup>
| whether visible. Bind to
`v-model`
| Boolean | true/false | false |
| maskClosable
<sup>
1.9.6
</sup>
| whether hide the component when clicked the mask layer | Boolean | true/false | true |
| zIndex
<sup>
1.9.6
</sup>
| the value of the style z-index | Number | - | 100 |
*
`data`
sub configuration
...
...
document/components/docs/en-US/cascade-picker.md
浏览文件 @
29d54577
...
...
@@ -251,7 +251,7 @@ __Notice:__ Cause this component used create-api, so you should read [create-api
### Props configuration
| Attribute | Description | Type |
Accepted Values | Default
|
| Attribute | Description | Type |
Default | Accepted Values
|
| - | - | - | - | - |
| data | the cascading data used to init option items | Array | [] | - |
| selectedIndex | the index of the selected item, corresponding content will be displayed when picker shows | Array | [] | [1] |
...
...
@@ -264,6 +264,7 @@ __Notice:__ Cause this component used create-api, so you should read [create-api
| alias | configure the alias of
`value`
and
`text`
, used as same as the alias of
`Picker`
component | Object | {} | { value: 'id', text: 'name'} |
| visible
<sup>
1.8.1
</sup>
| whether visible. Bind to
`v-model`
| Boolean | true/false | false |
| maskClosable
<sup>
1.9.6
</sup>
| whether hide the component when clicked the mask layer | Boolean | true/false | true |
| zIndex
<sup>
1.9.6
</sup>
| the value of the style z-index | Number | 100 | - |
*
`data`
sub configuration
...
...
document/components/docs/en-US/date-picker.md
浏览文件 @
29d54577
...
...
@@ -247,7 +247,8 @@ __Notice:__ Cause this component used create-api, so you should read [create-api
| confirmTxt | the text of the confirm button | String | - | '确定' | - |
| swipeTime | the duration of the momentum animation when user flicks the wheel of the picker, Unit: ms | Number | - | 2500 | - |
| visible
<sup>
1.8.1
</sup>
| whether visible. Bind to
`v-model`
| Boolean | true/false | false | - |
| maskClosable
<sup>
1.9.6
</sup>
| whether hide the component when clicked the mask layer | Boolean | true/false | true |
| maskClosable
<sup>
1.9.6
</sup>
| whether hide the component when clicked the mask layer | Boolean | true/false | true | - |
| zIndex
<sup>
1.9.6
</sup>
| the value of the style z-index | Number | - | 100 | - |
*
`format`
sub configuration
...
...
document/components/docs/en-US/dialog.md
浏览文件 @
29d54577
...
...
@@ -163,6 +163,7 @@ __Notice:__ Cause this component used create-api, so you should read [create-api
| cancelBtn | cancel button configuration | Object/String | - | { text: '取消', active: false, href: 'javascript:;' } |
| visible
<sup>
1.8.1
</sup>
| whether visible. Bind to
`v-model`
| Boolean | true/false | false |
| maskClosable
<sup>
1.9.6
</sup>
| whether hide the component when clicked the mask layer | Boolean | true/false | false |
| zIndex
<sup>
1.9.6
</sup>
| the value of the style z-index | Number | - | 100 |
*
`confirmBtn`
sub configuration
...
...
document/components/docs/en-US/image-preview.md
浏览文件 @
29d54577
...
...
@@ -96,6 +96,7 @@ __Notice:__ Cause this component used create-api, so you should read [create-api
| initial-index | initial index | Number | - | 0 |
| loop | whether to loop swipe | Boolean | true/false | true |
| speed | speed of switching pages, ms | Number | - | 400 |
| zIndex
<sup>
1.9.6
</sup>
| the value of the style z-index | Number | - | 100 |
### Slots
...
...
document/components/docs/en-US/picker.md
浏览文件 @
29d54577
...
...
@@ -221,7 +221,7 @@ __Notice:__ Cause this component used create-api, so you should read [create-api
### Props configuration
| Attribute | Description | Type |
Accepted Values | Default
|
| Attribute | Description | Type |
Default | Accepted Values
|
| - | - | - | - | - |
| data | data that passed into picker, whose length determines the columns of picker | Array | [] | - |
| selectedIndex | the index of the selected value, corresponding content will be displayed when picker shows | Array | [] | [1] |
...
...
@@ -233,6 +233,7 @@ __Notice:__ Cause this component used create-api, so you should read [create-api
| alias | configure the alias of
`value`
and
`text`
| Object | {} | { value: 'id', text: 'name'} |
| visible
<sup>
1.8.1
</sup>
| whether visible. Bind to
`v-model`
| Boolean | true/false | false |
| maskClosable
<sup>
1.9.6
</sup>
| whether hide the component when clicked the mask layer | Boolean | true/false | true |
| zIndex
<sup>
1.9.6
</sup>
| the value of the style z-index | Number | 100 | - |
*
`data`
sub configuration
...
...
document/components/docs/en-US/popup.md
浏览文件 @
29d54577
...
...
@@ -166,6 +166,7 @@ __Notice:__ All the components above used create-api, so you should read [create
| center | whether to be in center in horizontal and vertical direction | Boolean | true/false | true |
| position
<sup>
1.9.6
</sup>
| content position, if set position then
`center`
will be ignored | String | top/right/bottom/left/center | '' |
| maskClosable
<sup>
1.9.6
</sup>
| whether hide the component when clicked the mask layer | Boolean | true/false | false |
| zIndex
<sup>
1.9.6
</sup>
| the value of the style z-index | Number | - | 100 |
### Events
...
...
document/components/docs/en-US/segment-picker.md
浏览文件 @
29d54577
...
...
@@ -120,7 +120,7 @@ __Notice:__ Cause this component used create-api, so you should read [create-api
### Props configuration
| Attribute | Description | Type |
Accepted Values | Default
|
| Attribute | Description | Type |
Default | Accepted Values
|
| - | - | - | - | - |
| data | define the component name and properties of each node picker | Array | [] | - |
| title | title | String | '' | - |
...
...
@@ -132,6 +132,7 @@ __Notice:__ Cause this component used create-api, so you should read [create-api
| swipeTime
<sup>
1.8.1
</sup>
| the duration of the momentum animation when user flicks the wheel of the picker, Unit: ms | Number | 2500 | - |
| visible
<sup>
1.8.1
</sup>
| whether visible. Bind to
`v-model`
| Boolean | true/false | false |
| maskClosable
<sup>
1.9.6
</sup>
| whether hide the component when clicked the mask layer | Boolean | true/false | true |
| zIndex
<sup>
1.9.6
</sup>
| the value of the style z-index | Number | 100 | - |
*
`data`
sub configuration
...
...
document/components/docs/en-US/time-picker.md
浏览文件 @
29d54577
...
...
@@ -192,6 +192,7 @@ __Notice:__ Cause this component used create-api, so you should read [create-api
| visible
<sup>
1.8.1
</sup>
| whether visible. Bind to
`v-model`
| Boolean | false |
| maskClosable
<sup>
1.9.6
</sup>
| whether hide the component when clicked the mask layer | Boolean | true |
| format
<sup>
1.10.0
</sup>
| the format of formatedTime the third argument of select event | String | 'YYYY/M/D hh:mm' |
| zIndex
<sup>
1.9.6
</sup>
| the value of the style z-index | Number | 100 |
*
`day`
sub configuration
...
...
document/components/docs/en-US/toast.md
浏览文件 @
29d54577
...
...
@@ -133,6 +133,7 @@ __Notice:__ Cause this component used create-api, so you should read [create-api
| time | display duration, millisecond | Number | - | 3000 |
| visible
<sup>
1.8.1
</sup>
| whether visible. Bind to
`v-model`
| Boolean | true/false | false |
| maskClosable
<sup>
1.9.6
</sup>
| whether hide the component when clicked the mask layer | Boolean | true/false | false |
| zIndex
<sup>
1.9.6
</sup>
| the value of the style z-index | Number | - | 900 |
### Events
...
...
document/components/docs/zh-CN/action-sheet.md
浏览文件 @
29d54577
...
...
@@ -146,6 +146,7 @@ __注:__ 由于此组件基于 create-api 实现,所以在使用之前,请
| pickerStyle | Picker 样式 | Boolean | true/false | false |
| visible
<sup>
1.8.1
</sup>
| 显示状态,是否可见。
`v-model`
绑定值 | Boolean | true/false | false |
| maskClosable
<sup>
1.9.6
</sup>
| 点击蒙层是否隐藏 | Boolean | true/false | true |
| zIndex
<sup>
1.9.6
</sup>
| 样式 z-index 的值 | Number | - | 100 |
*
`data`
子配置项
...
...
document/components/docs/zh-CN/cascade-picker.md
浏览文件 @
29d54577
...
...
@@ -264,6 +264,7 @@ __注:__ 由于此组件基于 create-api 实现,所以在使用之前,请
| alias | 配置
`value`
和
`text`
的别名,用法同
`Picker`
组件 | Object | {} | { value: 'id', text: 'name'} |
| visible
<sup>
1.8.1
</sup>
| 显示状态,是否可见。
`v-model`
绑定值 | Boolean | false | false |
| maskClosable
<sup>
1.9.6
</sup>
| 点击蒙层是否隐藏 | Boolean | true/false | true |
| zIndex
<sup>
1.9.6
</sup>
| 样式 z-index 的值 | Number | 100 | - |
*
`data`
子配置项
...
...
document/components/docs/zh-CN/date-picker.md
浏览文件 @
29d54577
...
...
@@ -247,7 +247,8 @@ __注:__ 由于此组件基于 create-api 实现,所以在使用之前,请
| confirmTxt | 确定按钮文案 | String | - | '确定' | '选择' |
| swipeTime | 快速滑动选择器滚轮时,惯性滚动动画的时长,单位:ms | Number | - | 2500 | - |
| visible
<sup>
1.8.1
</sup>
| 显示状态,是否可见。
`v-model`
绑定值 | Boolean | true/false | false | - |
| maskClosable
<sup>
1.9.6
</sup>
| 点击蒙层是否隐藏 | Boolean | true/false | true |
| maskClosable
<sup>
1.9.6
</sup>
| 点击蒙层是否隐藏 | Boolean | true/false | true | - |
| zIndex
<sup>
1.9.6
</sup>
| 样式 z-index 的值 | Number | - | 100 | - |
*
`format`
子配置项
...
...
document/components/docs/zh-CN/dialog.md
浏览文件 @
29d54577
...
...
@@ -163,6 +163,7 @@ __注:__ 由于此组件基于 create-api 实现,所以在使用之前,请
| cancelBtn | 取消按钮参数配置 | Object/String | - | { text: '取消', active: false, href: 'javascript:;' } |
| visible
<sup>
1.8.1
</sup>
| 显示状态,是否可见。
`v-model`
绑定值 | Boolean | true/false | false |
| maskClosable
<sup>
1.9.6
</sup>
| 点击蒙层是否隐藏 | Boolean | true/false | false |
| zIndex
<sup>
1.9.6
</sup>
| 样式 z-index 的值 | Number | - | 100 |
*
`confirmBtn`
子配置项
...
...
document/components/docs/zh-CN/image-preview.md
浏览文件 @
29d54577
...
...
@@ -90,6 +90,7 @@ __注:__ 由于此组件基于 create-api 实现,所以在使用之前,请
| initial-index | 初始索引 | Number | - | 0 |
| loop | 是否可循环 | Boolean | true/false | true |
| speed | 轮播速度,单位 ms | Number | - | 400 |
| zIndex
<sup>
1.9.6
</sup>
| 样式 z-index 的值 | Number | - | 100 |
### 插槽
...
...
document/components/docs/zh-CN/picker.md
浏览文件 @
29d54577
...
...
@@ -233,6 +233,7 @@ __注:__ 由于此组件基于 create-api 实现,所以在使用之前,请
| alias | 配置
`value`
和
`text`
的别名 | Object | {} | { value: 'id', text: 'name'} |
| visible
<sup>
1.8.1
</sup>
| 显示状态,是否可见。
`v-model`
绑定值 | Boolean | true/false | false |
| maskClosable
<sup>
1.9.6
</sup>
| 点击蒙层是否隐藏 | Boolean | true/false | true |
| zIndex
<sup>
1.9.6
</sup>
| 样式 z-index 的值 | Number | 100 | - |
*
`data`
子配置项
...
...
document/components/docs/zh-CN/popup.md
浏览文件 @
29d54577
...
...
@@ -143,6 +143,7 @@ __注:__ 以上组件都是基于 create-api 实现,所以在使用之前,
| center | 是否水平垂直居中的 | Boolean | true/false | true |
| position
<sup>
1.9.6
</sup>
| 内容展示位置,优先级比 center 高 | String | top/right/bottom/left/center | '' |
| maskClosable
<sup>
1.9.6
</sup>
| 点击蒙层是否隐藏 | Boolean | true/false | false |
| zIndex
<sup>
1.9.6
</sup>
| 样式 z-index 的值 | Number | - | 100 |
### 事件
...
...
document/components/docs/zh-CN/segment-picker.md
浏览文件 @
29d54577
...
...
@@ -132,6 +132,7 @@ __注:__ 由于此组件基于 create-api 实现,所以在使用之前,请
| swipeTime
<sup>
1.8.1
</sup>
| 快速滑动选择器滚轮时,惯性滚动动画的时长,单位:ms | Number | 2500 | - |
| visible
<sup>
1.8.1
</sup>
| 显示状态,是否可见。
`v-model`
绑定值 | Boolean | true/false | false |
| maskClosable
<sup>
1.9.6
</sup>
| 点击蒙层是否隐藏 | Boolean | true/false | true |
| zIndex
<sup>
1.9.6
</sup>
| 样式 z-index 的值 | Number | 100 | - |
*
`data`
子配置项
...
...
document/components/docs/zh-CN/time-picker.md
浏览文件 @
29d54577
...
...
@@ -229,6 +229,7 @@ __注:__ 由于此组件基于 create-api 实现,所以在使用之前,请
| visible
<sup>
1.8.1
</sup>
| 显示状态,是否可见。
`v-model`
绑定值 | Boolean | false |
| maskClosable
<sup>
1.9.6
</sup>
| 点击蒙层是否隐藏 | Boolean | true |
| format
<sup>
1.10.0
</sup>
| select 事件参数 formatedTime 的格式 | String | 'YYYY/M/D hh:mm' |
| zIndex
<sup>
1.9.6
</sup>
| 样式 z-index 的值 | Number | 100 |
*
`day`
子配置项
...
...
document/components/docs/zh-CN/toast.md
浏览文件 @
29d54577
...
...
@@ -134,6 +134,7 @@ __注:__ 由于此组件基于 create-api 实现,所以在使用之前,请
| txt | 提示信息 | String | - | '' |
| time | 显示时间 | Number | - | 3000 |
| maskClosable
<sup>
1.9.6
</sup>
| 点击蒙层是否隐藏 | Boolean | true/false | false |
| zIndex
<sup>
1.9.6
</sup>
| 样式 z-index 的值 | Number | - | 900 |
### 事件
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录