Commit ea9620eb9e5cd5b89b7d5326c13a854bac513778

Authored by Aresn
1 parent 06554053

update Transfer

examples/routers/transfer.vue
... ... @@ -178,7 +178,7 @@
178 178 setTimeout(function() {
179 179 console.log('--1');
180 180 // _this.data1 = null;
181   - _this.data1 = _this.getMockData1();
  181 +// _this.data1 = _this.getMockData1();
182 182 console.log('-fetch-', _this.data1);
183 183  
184 184 }, 1500);
... ...
src/components/transfer/list.vue
... ... @@ -2,7 +2,7 @@
2 2 <div :class="classes" :style="listStyle">
3 3 <div :class="prefixCls + '-header'">
4 4 <Checkbox :value="checkedAll" :disabled="checkedAllDisabled" @on-change="toggleSelectAll"></Checkbox>
5   - <span @click="toggleSelectAll(!checkedAll)">{{ title }}</span>
  5 + <span :class="prefixCls + '-header-title'" @click="toggleSelectAll(!checkedAll)">{{ title }}</span>
6 6 <span :class="prefixCls + '-header-count'">{{ count }}</span>
7 7 </div>
8 8 <div :class="bodyClasses">
... ...
src/styles/components/transfer.less
... ... @@ -31,6 +31,10 @@
31 31 left: 0;
32 32 width: 100%;
33 33  
  34 + &-title{
  35 + cursor: pointer;
  36 + }
  37 +
34 38 & > span{
35 39 padding-left: 4px;
36 40 }
... ...