parent
cbd3591c96
commit
6e572d4428
4 changed files with 20 additions and 2 deletions
|
@ -44,6 +44,8 @@ function clearTimer() {
|
|||
|
||||
export default {
|
||||
start () {
|
||||
if (timer) return;
|
||||
|
||||
let percent = 0;
|
||||
|
||||
update({
|
||||
|
|
|
@ -192,6 +192,9 @@
|
|||
padding: @btn-padding-large;
|
||||
transition: all @transition-time @ease-in-out;
|
||||
cursor: pointer;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
|
||||
&:hover{
|
||||
background: @border-color-split;
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
text: '一周前',
|
||||
text: '最近三个月',
|
||||
value () {
|
||||
const date = new Date();
|
||||
date.setTime(date.getTime() - 3600 * 1000 * 24 * 7);
|
||||
|
|
|
@ -22,9 +22,22 @@
|
|||
<i-col :xs="{ span: 11, offset: 1 }" :lg="{ span: 6, offset: 2 }"><div class="aaaaa">Col 2</div></i-col>
|
||||
<i-col :xs="{ span: 5, offset: 1 }" :lg="{ span: 6, offset: 2 }"><div class="aaaaa">Col 3</div></i-col>
|
||||
</Row>
|
||||
<i-button @click="start">Start</i-button>
|
||||
<i-button @click="finish">Finish</i-button>
|
||||
<i-button @click="error">Error</i-button>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
|
||||
methods: {
|
||||
start () {
|
||||
this.$Loading.start();
|
||||
},
|
||||
finish () {
|
||||
this.$Loading.finish();
|
||||
},
|
||||
error () {
|
||||
this.$Loading.error();
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Reference in a new issue