update Transfer
update Transfer
This commit is contained in:
parent
967e8e4312
commit
bf0203db3d
5 changed files with 22 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div :class="prefixCls" :style="style">
|
<div :class="classes" :style="style">
|
||||||
<div :class="prefixCls + '-header'">
|
<div :class="prefixCls + '-header'">
|
||||||
<Checkbox :checked.sync="checkedAll" :disabled="checkedAllDisabled" @on-change="toggleSelectAll"></Checkbox>
|
<Checkbox :checked.sync="checkedAll" :disabled="checkedAllDisabled" @on-change="toggleSelectAll"></Checkbox>
|
||||||
<span>{{ title }}</span>
|
<span>{{ title }}</span>
|
||||||
|
@ -53,6 +53,14 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
classes () {
|
||||||
|
return [
|
||||||
|
`${this.prefixCls}`,
|
||||||
|
{
|
||||||
|
[`${this.prefixCls}-with-footer`]: this.showFooter
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
bodyClasses () {
|
bodyClasses () {
|
||||||
return [
|
return [
|
||||||
`${this.prefixCls}-body`,
|
`${this.prefixCls}-body`,
|
||||||
|
|
|
@ -33,11 +33,11 @@
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul{
|
ul:not([class^="ivu-"]){
|
||||||
padding-left: 40px;
|
padding-left: 40px;
|
||||||
list-style-type: disc;
|
list-style-type: disc;
|
||||||
}
|
}
|
||||||
li{
|
li:not([class^="ivu-"]){
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
@import "base";
|
@import "base";
|
||||||
@import "iconfont/ionicons";
|
@import "iconfont/ionicons";
|
||||||
@import "layout";
|
@import "layout";
|
||||||
|
@import "article";
|
|
@ -14,6 +14,10 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-top: 35px;
|
padding-top: 35px;
|
||||||
|
|
||||||
|
&-with-footer{
|
||||||
|
padding-bottom: 35px;
|
||||||
|
}
|
||||||
|
|
||||||
&-header {
|
&-header {
|
||||||
padding: 8px 16px;
|
padding: 8px 16px;
|
||||||
background: @head-bg;
|
background: @head-bg;
|
||||||
|
@ -97,6 +101,10 @@
|
||||||
border: 1px solid @border-color-base;
|
border: 1px solid @border-color-base;
|
||||||
border-top: none;
|
border-top: none;
|
||||||
border-radius: 0 0 @border-radius-base @border-radius-base;
|
border-radius: 0 0 @border-radius-base @border-radius-base;
|
||||||
|
position: absolute;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
|
||||||
.clearfix();
|
.clearfix();
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<template>
|
<template>
|
||||||
<div style="margin: 50px;">
|
<div class="ivu-article" style="margin: 50px;">
|
||||||
<Transfer
|
<Transfer
|
||||||
:data="data"
|
:data="data"
|
||||||
filterable
|
filterable
|
||||||
|
|
Loading…
Add table
Reference in a new issue