wip
This commit is contained in:
parent
99b3499364
commit
b2c24af69e
|
@ -32,20 +32,22 @@ export default Vue.extend({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
(this.$refs.bg as any).style.pointerEvents = 'auto';
|
this.$nextTick(() => {
|
||||||
anime({
|
(this.$refs.bg as any).style.pointerEvents = 'auto';
|
||||||
targets: this.$refs.bg,
|
anime({
|
||||||
opacity: 1,
|
targets: this.$refs.bg,
|
||||||
duration: 100,
|
opacity: 1,
|
||||||
easing: 'linear'
|
duration: 100,
|
||||||
});
|
easing: 'linear'
|
||||||
|
});
|
||||||
|
|
||||||
anime({
|
anime({
|
||||||
targets: this.$refs.main,
|
targets: this.$refs.main,
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
scale: [1.2, 1],
|
scale: [1.2, 1],
|
||||||
duration: 300,
|
duration: 300,
|
||||||
easing: [0, 0.5, 0.5, 1]
|
easing: [0, 0.5, 0.5, 1]
|
||||||
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in New Issue