🎨 format files

This commit is contained in:
StarHeartHunt
2021-04-05 13:44:19 +08:00
parent 20e1bf9624
commit 1c6711355e
10 changed files with 174 additions and 174 deletions

View File

@ -128,32 +128,32 @@
</template>
<script>
import { WOW } from "wowjs";
import "animate.css/animate.min.css";
import { WOW } from 'wowjs'
import 'animate.css/animate.min.css'
export default {
name: "Messenger",
name: 'Messenger',
props: {
messages: {
type: Array,
default: () => []
}
default: () => [],
},
},
methods: {
initWOW: function() {
initWOW: function () {
new WOW({
noxClass: "wow",
animateClass: "animate__animated",
noxClass: 'wow',
animateClass: 'animate__animated',
offset: 0,
mobile: true,
live: true
}).init();
}
live: true,
}).init()
},
},
mounted() {
this.initWOW();
}
};
this.initWOW()
},
}
</script>
<style scoped>
@ -183,7 +183,7 @@ export default {
background-color: #fff;
}
.message .message-box::after {
content: "";
content: '';
position: absolute;
right: 100%;
top: 0;