whychdw
2019-07-31 902f1cf4d57c2076ecba66074cb2120b6c6f53c5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<template>
    <div class="parallel-quadrangle" :style="styles"></div>
</template>
<script>
export default {
    props:{
        width: {
            type: String,
            default:'20px'
        },
        height: {
            type: String,
            default:'20px'
        },
        bgcolor: {
            type: String,
            default: '#73D8FE'
        }
    },
    data() {
        return{
            styles: {
                width: this.width,
                height: this.height,
                backgroundColor: this.bgcolor
            }
        }
    }
}
</script>