add a nav for test page

This commit is contained in:
jingsam 2016-10-31 22:11:51 +08:00
parent 3735e3768d
commit b8273bfc26
9 changed files with 193 additions and 160 deletions

View file

@ -1,26 +0,0 @@
<style>
body{
padding: 50px;
}
</style>
<template>
<Slider :value="10" :tip-format="format">
</Slider>
</template>
<script>
import { Slider } from 'iview';
export default {
components: { Slider },
data () {
return {
}
},
methods: {
format (val) {
return `进度:${val}%`
}
}
}
</script>