no message
Former-commit-id: 604786ecd5ae6a66f1838426b7a13b31dc81ba1c Former-commit-id: 744cb1ba453f5079f28b355e12e18b98558fd651 Former-commit-id: dbba70e5e9006a5851a0efa41737f9afd939e72f
This commit is contained in:
@@ -28,7 +28,12 @@
|
|||||||
<i slot="prepend" class="fa fa-keyboard-o"></i>
|
<i slot="prepend" class="fa fa-keyboard-o"></i>
|
||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-button @click="submit" type="primary" class="button-login">登陆</el-button>
|
<el-button
|
||||||
|
@click="submit"
|
||||||
|
type="primary"
|
||||||
|
class="button-login">
|
||||||
|
登陆
|
||||||
|
</el-button>
|
||||||
</el-form>
|
</el-form>
|
||||||
</el-card>
|
</el-card>
|
||||||
<el-button type="info" class="button-help">
|
<el-button type="info" class="button-help">
|
||||||
@@ -64,9 +69,11 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted () {
|
mounted () {
|
||||||
|
// 初始化例子插件
|
||||||
particlesJS('login', config)
|
particlesJS('login', config)
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 提交登陆信息
|
||||||
submit () {
|
submit () {
|
||||||
this.$refs.loginForm.validate((valid) => {
|
this.$refs.loginForm.validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
@@ -132,6 +139,7 @@ export default {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// 帮助按钮
|
||||||
.button-help {
|
.button-help {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: $margin;
|
margin-top: $margin;
|
||||||
|
|||||||
Reference in New Issue
Block a user