2018-01-20 10:17:35 +08:00
|
|
|
<template>
|
|
|
|
|
<div class="login" id="login"></div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
/* eslint-disable */
|
|
|
|
|
require('particles.js')
|
|
|
|
|
// 配置地址
|
|
|
|
|
// https://vincentgarreau.com/particles.js/#default
|
2018-01-21 23:03:28 +08:00
|
|
|
import config from './config/default'
|
2018-01-20 10:17:35 +08:00
|
|
|
export default {
|
|
|
|
|
mounted () {
|
|
|
|
|
particlesJS('login', config)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
@import '~@/assets/style/public.scss';
|
|
|
|
|
.login {
|
|
|
|
|
height: 100%;
|
|
|
|
|
width: 100%;
|
2018-01-21 23:03:28 +08:00
|
|
|
background-color: $color-info;
|
2018-01-20 10:17:35 +08:00
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|