编写登录注册页面

This commit is contained in:
lsy
2017-12-24 13:13:42 +08:00
parent c89f069288
commit acd1c9f61e
2 changed files with 9 additions and 7 deletions
+8 -6
View File
@@ -1,23 +1,25 @@
<template>
<el-container>
<el-main>
注册
<el-row type="flex" justify="center">
<el-col> <el-input v-model="username"></el-input></el-col>
</el-row>
</el-main>
</el-container>
</template>
<script>
let data = {
username: ''
}
export default {
name: 'Register',
data () {
return {
}
return data
}
}
</script>
<style>
<style lang="less" scoped>
</style>
+1 -1
View File
@@ -19,7 +19,7 @@
<el-input v-model="imageCode" size="small" placeholder="验证码"></el-input>
</el-col>
<el-col :sm="3" :md="5" :lg="3" :xl="2">
<img src="http://fthipw.natappfree.cc:10006/upms/code/image?width=67&height=30" class="image-code"/>
<img src="http://fthipw.natappfree.cc:10006/upms/code/image?width=67&height=30" class="image-code" alt="图片验证码"/>
</el-col>
</el-row>
<el-row type="flex" justify="center" class="row-line">