|
|
@@ -0,0 +1,108 @@
|
|
|
+<template>
|
|
|
+ <div class="login-view-container">
|
|
|
+ <div>
|
|
|
+ <h1><span>SEEC</span> 用户注册</h1>
|
|
|
+ <c-input placeholder="用户名"></c-input>
|
|
|
+ <c-input placeholder="密码"></c-input>
|
|
|
+ <c-input placeholder="确认密码"></c-input>
|
|
|
+ <c-input placeholder="邮箱"></c-input>
|
|
|
+ <div class="verified-code-wrapper">
|
|
|
+ <c-input placeholder="邮箱验证码"></c-input>
|
|
|
+ <c-button>发送验证码</c-button>
|
|
|
+ </div>
|
|
|
+ <c-input placeholder="手机"></c-input>
|
|
|
+ <div class="verified-code-wrapper">
|
|
|
+ <c-input placeholder="手机验证码"></c-input>
|
|
|
+ <c-button>发送验证码</c-button>
|
|
|
+ </div>
|
|
|
+ <div class="button-area">
|
|
|
+ <c-button @click.native="handleSubmit">确认</c-button>
|
|
|
+ <c-button class="help-button">帮助</c-button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import CInput from '@/components/CInput'
|
|
|
+import CButton from '@/components/CButton'
|
|
|
+
|
|
|
+export default {
|
|
|
+ components: { CButton, CInput },
|
|
|
+ methods: {
|
|
|
+ handleSubmit () {
|
|
|
+ this.$router.push('/teacher')
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+h1 {
|
|
|
+ color: #3a4a5a;
|
|
|
+ font-size: 28px;
|
|
|
+ font-weight: bold;
|
|
|
+ margin-bottom: 32px;
|
|
|
+
|
|
|
+ & > span {
|
|
|
+ font-family: 'Courier New', 'Courier', monospace;
|
|
|
+ font-size: 1.15em;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.login-view-container {
|
|
|
+ height: 95vh;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+
|
|
|
+ & > div {
|
|
|
+ max-width: 260px;
|
|
|
+ width: 100%;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.c-input {
|
|
|
+ margin-bottom: 24px;
|
|
|
+ background: #f2f6fa;
|
|
|
+}
|
|
|
+
|
|
|
+.button-area {
|
|
|
+ display: flex;
|
|
|
+ margin: 0 -8px;
|
|
|
+
|
|
|
+ & > button {
|
|
|
+ margin: 0 8px;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.help-button {
|
|
|
+ $background-color: #e6e8ea;
|
|
|
+ background: #e6e8ea;
|
|
|
+ color: #3a4a5a;
|
|
|
+
|
|
|
+ &:hover {
|
|
|
+ background: darken($background-color, 5);
|
|
|
+ }
|
|
|
+
|
|
|
+ &:active {
|
|
|
+ background: darken($background-color, 10);
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+.verified-code-wrapper {
|
|
|
+ & > .c-input {
|
|
|
+ margin-bottom: unset;
|
|
|
+ }
|
|
|
+
|
|
|
+ .c-button {
|
|
|
+ margin-left: 12px;
|
|
|
+ height: 48px;
|
|
|
+ padding-left: 12px;
|
|
|
+ padding-right: 12px;
|
|
|
+ }
|
|
|
+
|
|
|
+ margin-bottom: 24px;
|
|
|
+ display: flex;
|
|
|
+}
|
|
|
+</style>
|