Commit c908002175666f2f5f7a7075432120eda5aaec1d
1 parent
ec4117cb
update readme
Showing
2 changed files
with
12 additions
and
3 deletions
Show diff stats
README.md
@@ -75,6 +75,15 @@ import 'iview/dist/styles/iview.css'; | @@ -75,6 +75,15 @@ import 'iview/dist/styles/iview.css'; | ||
75 | 75 | ||
76 | Normal browsers and Internet Explorer 9+. | 76 | Normal browsers and Internet Explorer 9+. |
77 | 77 | ||
78 | +## Major Contributors | ||
79 | +|Name |Avatar | | ||
80 | +|---|---| | ||
81 | +| [Aresn](https://github.com/icarusion) | ![](https://avatars3.githubusercontent.com/u/5370542?v=3&s=60) | | ||
82 | +| [jingsam](https://github.com/jingsam) | ![](https://avatars3.githubusercontent.com/u/1522494?v=3&s=60) | | ||
83 | +| [rijn](https://github.com/rijn) | ![](https://avatars2.githubusercontent.com/u/6976367?v=3&s=60) | | ||
84 | +| [GITleonine1989](https://github.com/GITleonine1989) | ![](https://avatars1.githubusercontent.com/u/7582490?v=3&s=60) | | ||
85 | +| [huixisheng](https://github.com/huixisheng) | ![](https://avatars1.githubusercontent.com/u/1518967?v=3&s=60) | | ||
86 | + | ||
78 | ## Links | 87 | ## Links |
79 | 88 | ||
80 | - [TalkingData](https://github.com/TalkingData) | 89 | - [TalkingData](https://github.com/TalkingData) |
src/components/page/page.vue
1 | <template> | 1 | <template> |
2 | - <ul :class="simpleWrapClasses" :style="style" v-if="simple"> | 2 | + <ul :class="simpleWrapClasses" :style="styles" v-if="simple"> |
3 | <li | 3 | <li |
4 | :title="t('i.page.prev')" | 4 | :title="t('i.page.prev')" |
5 | :class="prevClasses" | 5 | :class="prevClasses" |
@@ -23,7 +23,7 @@ | @@ -23,7 +23,7 @@ | ||
23 | <a><i class="ivu-icon ivu-icon-ios-arrow-right"></i></a> | 23 | <a><i class="ivu-icon ivu-icon-ios-arrow-right"></i></a> |
24 | </li> | 24 | </li> |
25 | </ul> | 25 | </ul> |
26 | - <ul :class="wrapClasses" :style="style" v-else> | 26 | + <ul :class="wrapClasses" :style="styles" v-else> |
27 | <span :class="[prefixCls + '-total']" v-if="showTotal"> | 27 | <span :class="[prefixCls + '-total']" v-if="showTotal"> |
28 | <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> | 28 | <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> |
29 | </span> | 29 | </span> |
@@ -116,7 +116,7 @@ | @@ -116,7 +116,7 @@ | ||
116 | className: { | 116 | className: { |
117 | type: String | 117 | type: String |
118 | }, | 118 | }, |
119 | - style: { | 119 | + styles: { |
120 | type: Object | 120 | type: Object |
121 | } | 121 | } |
122 | }, | 122 | }, |