提交 70ee612e 编写于 作者: D dolymood

format

上级 19de16db
......@@ -44,7 +44,7 @@
.display-wrapper
position: absolute
width: 348px
height: 750px
height: 756px
top: 61%
left: 50%
transform: translate(-50%, -50%)
......
## IndexList
`IndexList` component, , which is also encapsulated based on `better-scroll`, provides functions of index lists.
索引列表,提供了列表索引的功能,也是一个基于`better-scroll`进行封装的组件。
### Example
......
## 安装
## Install
### NPM
推荐使用 NPM 安装`cube-ui`
It is recommended to install `cube-ui` via npm.
```shell
$ npm install cube-ui
......@@ -12,13 +12,13 @@ $ npm install cube-ui
### CDN
也可通过 unpkg.com 获取资源,用标签引入 js 和 css 文件使用。
You can also import js and css files from unpkg.com with tags in html.
```html
<script src=""></script>
<link rel="stylesheet" href="">
```
### 版本日志
### Version log
版本的更新日志见 [GitHub](https://github.com/didi/cube-ui/releases)
For update logs of each version, see [GitHub](https://github.com/didi/cube-ui/releases)
......@@ -31,6 +31,7 @@
display: inline-block
margin-bottom: 20px
.page-display
width: 100%
.display-wrapper
position: static
transform: none
......
......@@ -89,24 +89,3 @@
}
}
</script>
<style lang="stylus" rel="stylesheet/stylus">
.action-sheet-view
.select
margin: 0 10px 40px 10px
height: 40px
line-height: 40px
border: 1px solid #e5e5e5
text-align: center
background: #fff
.cube-action-sheet-panel
.cube-action-sheet-item
i, span
vertical-align middle
&.orange
color #fa8919
.cube-foo
font-weight 800 !important
</style>
......@@ -95,15 +95,3 @@
}
}
</script>
<style lang="stylus" rel="stylesheet/stylus">
.picker-view
.select
margin: 0 10px 40px 10px
height: 40px
line-height: 40px
border: 1px solid #e5e5e5
text-align: center
background: #fff
</style>
......@@ -65,6 +65,3 @@
}
}
</script>
<style lang="stylus" rel="stylesheet/stylus">
</style>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册