zanui docs

This commit is contained in:
cookfront
2017-03-17 17:20:56 +08:00
parent 22747de5f9
commit 6726f1e4f1
10 changed files with 98 additions and 17 deletions

View File

@@ -1,3 +1,13 @@
<style>
@component-namespace demo {
@b image-preview {
.zan-button {
margin-left: 15px;
}
}
}
</style>
<script>
import { ImagePreview } from 'src/index';

View File

@@ -22,7 +22,10 @@
.zan-popup-4 {
width: 60%;
height: 200px;
box-sizing: border-box;
padding: 20px;
border-radius: 5px;
text-align: center;
}
.zan-button {

View File

@@ -1,3 +1,14 @@
<style>
@component-namespace demo {
@b tab {
.zan-tabs-pane {
background-color: #fff;
padding: 20px;
}
}
}
</style>
## Tab 组件
### 基础用法

View File

@@ -31,7 +31,7 @@ export default {
```html
<div class="uploader-container">
<zan-uploader @file-readed="logContent">
<zan-icon name="camera"></zan-icon>
<zan-icon name="photograph"></zan-icon>
</zan-uploader>
</div>
```