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 | 75 | |
76 | 76 | Normal browsers and Internet Explorer 9+. |
77 | 77 | |
78 | +## Major Contributors | |
79 | +|Name |Avatar | | |
80 | +|---|---| | |
81 | +| [Aresn](https://github.com/icarusion) |  | | |
82 | +| [jingsam](https://github.com/jingsam) |  | | |
83 | +| [rijn](https://github.com/rijn) |  | | |
84 | +| [GITleonine1989](https://github.com/GITleonine1989) |  | | |
85 | +| [huixisheng](https://github.com/huixisheng) |  | | |
86 | + | |
78 | 87 | ## Links |
79 | 88 | |
80 | 89 | - [TalkingData](https://github.com/TalkingData) | ... | ... |
src/components/page/page.vue
1 | 1 | <template> |
2 | - <ul :class="simpleWrapClasses" :style="style" v-if="simple"> | |
2 | + <ul :class="simpleWrapClasses" :style="styles" v-if="simple"> | |
3 | 3 | <li |
4 | 4 | :title="t('i.page.prev')" |
5 | 5 | :class="prevClasses" |
... | ... | @@ -23,7 +23,7 @@ |
23 | 23 | <a><i class="ivu-icon ivu-icon-ios-arrow-right"></i></a> |
24 | 24 | </li> |
25 | 25 | </ul> |
26 | - <ul :class="wrapClasses" :style="style" v-else> | |
26 | + <ul :class="wrapClasses" :style="styles" v-else> | |
27 | 27 | <span :class="[prefixCls + '-total']" v-if="showTotal"> |
28 | 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 | 29 | </span> |
... | ... | @@ -116,7 +116,7 @@ |
116 | 116 | className: { |
117 | 117 | type: String |
118 | 118 | }, |
119 | - style: { | |
119 | + styles: { | |
120 | 120 | type: Object |
121 | 121 | } |
122 | 122 | }, | ... | ... |