Commit 76936927 authored by 李苏's avatar 李苏 💬

1

parent 0867c7f2
import Vue from 'vue' import Vue from 'vue'
import VueParticles from 'vue-particles'
/* 引入公用UI插件 */ /* 引入公用UI插件 */
import Element from 'element-ui' import Element from 'element-ui'
...@@ -79,6 +80,7 @@ Vue.component('ImagePreview', ImagePreview) ...@@ -79,6 +80,7 @@ Vue.component('ImagePreview', ImagePreview)
Vue.use(framework) Vue.use(framework)
Vue.use(plugins) Vue.use(plugins)
Vue.use(VueMeta) Vue.use(VueMeta)
Vue.use(VueParticles)
DictData.install() DictData.install()
/** /**
* If you don't want to use mock-server * If you don't want to use mock-server
......
<template> <template>
<div class="login"> <div class="login">
<vue-particles
class="login-bg"
color="#39AFFD"
:particleOpacity="0.5"
:particlesNumber="12"
shapeType="edge"
:particleSize="5"
linesColor="#8DD1FE"
:linesWidth="1"
:lineLinked="true"
:lineOpacity="0.4"
:linesDistance="150"
:moveSpeed="3"
:hoverEffect="true"
hoverMode="repulse"
:clickEffect="false"
clickMode="push"
>
</vue-particles>
<el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form"> <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form">
<h3 class="title">陕钢安全管理系统</h3> <h3 class="title">陕钢安全管理系统</h3>
<el-form-item prop="username"> <el-form-item prop="username">
...@@ -158,6 +177,11 @@ export default { ...@@ -158,6 +177,11 @@ export default {
</script> </script>
<style rel="stylesheet/scss" lang="scss"> <style rel="stylesheet/scss" lang="scss">
.login-bg{
height: 98vh;
width: 100vw;
position: absolute;
}
.login { .login {
display: flex; display: flex;
justify-content: center; justify-content: center;
......
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
<el-input :readonly="readonly" v-model="form.sysversion" ></el-input> <el-input :readonly="readonly" v-model="form.sysversion" ></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row>
</el-form> </el-form>
</RelDialog> </RelDialog>
</template> </template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment