first commit

This commit is contained in:
harriet
2020-02-03 21:34:20 +08:00
parent 66fdc587f3
commit 81c2b70d0c
12 changed files with 3935 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
export default {
props: {
item: Object,
index: Number,
width: {
type: Number,
default: 0
},
height: {
type: Number,
default: 0
},
length: {
type: Number,
default: 0
},
active: { // 翻动效果生效
type: Boolean,
default: false
},
styles: {
type: Array,
default: () => [{}, {}, {}, {}, {}, {}]
}
},
data() {
return {};
},
mounted() {
},
computed: {
clipSize() {
return Math.sqrt(Math.pow(this.width, 2) + Math.pow(this.height, 2), 2);
}
}
};