update Page style

This commit is contained in:
梁灏 2018-06-22 10:40:40 +08:00
parent eb7f31db00
commit 1a4a76e903
4 changed files with 18 additions and 10 deletions

View file

@ -6,8 +6,8 @@ import Vue from 'vue';
import VueRouter from 'vue-router';
import App from './app.vue';
import iView from '../src/index';
import locale from '../src/locale/lang/en-US';
// import locale from '../src/locale/lang/zh-CN';
// import locale from '../src/locale/lang/en-US';
import locale from '../src/locale/lang/zh-CN';
Vue.use(VueRouter);
Vue.use(iView, { locale });

View file

@ -24,6 +24,14 @@
<div style="margin:10px 0px">
<Page :total="500" show-sizer transfer ></Page>
</div>
<div style="margin: 10px 0px">
<Page :total="40" size="small"></Page>
<br><br>
<Page :total="40" size="small" show-elevator show-sizer></Page>
<br><br>
<Page :total="40" size="small" show-total></Page>
<br><br>
</div>
</div>
</template>
<script>

View file

@ -24,6 +24,7 @@
user-select: none;
cursor: pointer;
font-family: Arial;
font-weight: 500;
border: 1px solid @border-color-base;
border-radius: @btn-border-radius;
//transition: all @transition-time @ease-in-out;
@ -44,11 +45,10 @@
}
&-active {
background-color: @primary-color;
border-color: @primary-color;
a, &:hover a {
color: #fff;
color: @primary-color;
}
}
}
@ -89,7 +89,7 @@
}
&-prev{
margin-right: 8px;
margin-right: 4px;
}
&-item-jump-prev,
@ -97,10 +97,6 @@
margin-right: 4px;
}
&-next{
margin-left: 4px;
}
&-prev,
&-next,
&-item-jump-prev,
@ -120,6 +116,10 @@
border-radius: @btn-border-radius;
transition: all @transition-time @ease-in-out;
}
&-item-jump-prev,
&-item-jump-next{
border-color: transparent;
}
&-prev,
&-next {

View file

@ -163,7 +163,7 @@
color: #ccc;
}
}
}
@keyframes switch-loading {