update readme

This commit is contained in:
梁灏 2017-03-21 17:15:03 +08:00
parent ec4117cb43
commit c908002175
2 changed files with 12 additions and 3 deletions

View file

@ -75,6 +75,15 @@ import 'iview/dist/styles/iview.css';
Normal browsers and Internet Explorer 9+. Normal browsers and Internet Explorer 9+.
## Major Contributors
|Name |Avatar |
|---|---|
| [Aresn](https://github.com/icarusion) | ![](https://avatars3.githubusercontent.com/u/5370542?v=3&s=60) |
| [jingsam](https://github.com/jingsam) | ![](https://avatars3.githubusercontent.com/u/1522494?v=3&s=60) |
| [rijn](https://github.com/rijn) | ![](https://avatars2.githubusercontent.com/u/6976367?v=3&s=60) |
| [GITleonine1989](https://github.com/GITleonine1989) | ![](https://avatars1.githubusercontent.com/u/7582490?v=3&s=60) |
| [huixisheng](https://github.com/huixisheng) | ![](https://avatars1.githubusercontent.com/u/1518967?v=3&s=60) |
## Links ## Links
- [TalkingData](https://github.com/TalkingData) - [TalkingData](https://github.com/TalkingData)

View file

@ -1,5 +1,5 @@
<template> <template>
<ul :class="simpleWrapClasses" :style="style" v-if="simple"> <ul :class="simpleWrapClasses" :style="styles" v-if="simple">
<li <li
:title="t('i.page.prev')" :title="t('i.page.prev')"
:class="prevClasses" :class="prevClasses"
@ -23,7 +23,7 @@
<a><i class="ivu-icon ivu-icon-ios-arrow-right"></i></a> <a><i class="ivu-icon ivu-icon-ios-arrow-right"></i></a>
</li> </li>
</ul> </ul>
<ul :class="wrapClasses" :style="style" v-else> <ul :class="wrapClasses" :style="styles" v-else>
<span :class="[prefixCls + '-total']" v-if="showTotal"> <span :class="[prefixCls + '-total']" v-if="showTotal">
<slot>{{ t('i.page.total') }} {{ total }} <template v-if="total <= 1">{{ t('i.page.item') }}</template><template v-else>{{ t('i.page.items') }}</template></slot> <slot>{{ t('i.page.total') }} {{ total }} <template v-if="total <= 1">{{ t('i.page.item') }}</template><template v-else>{{ t('i.page.items') }}</template></slot>
</span> </span>
@ -116,7 +116,7 @@
className: { className: {
type: String type: String
}, },
style: { styles: {
type: Object type: Object
} }
}, },