|
|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <div class="intro">Sign up</div>
|
|
|
+ <div class="intro">注册</div>
|
|
|
<b-notification type="is-danger" :active.sync="isServerError">
|
|
|
{{ errorMassage }}
|
|
|
</b-notification>
|
|
|
@@ -67,25 +67,23 @@
|
|
|
>
|
|
|
</b-input>
|
|
|
</b-field>
|
|
|
- <b-field>
|
|
|
- <p class="control level" style="padding-top: 20px">
|
|
|
- <button
|
|
|
- style="width:40%"
|
|
|
- :class="{ 'is-loading': submitting }"
|
|
|
- class="button is-link"
|
|
|
- @click="registerAction"
|
|
|
- >
|
|
|
- 注 册
|
|
|
- </button>
|
|
|
- <router-link
|
|
|
- :to="{ name: 'LOGIN' }"
|
|
|
- :class="{ 'is-text': true }"
|
|
|
- class="button"
|
|
|
- type="submit"
|
|
|
- >已有账户,登陆
|
|
|
- </router-link>
|
|
|
- </p>
|
|
|
- </b-field>
|
|
|
+ <div style="padding-top: 20px;">
|
|
|
+ <button
|
|
|
+ :class="{ 'is-loading': submitting }"
|
|
|
+ class="register"
|
|
|
+ @click="registerAction"
|
|
|
+ >
|
|
|
+ 注 册
|
|
|
+ </button>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <router-link
|
|
|
+ :to="{ name: 'LOGIN' }"
|
|
|
+ :class="{ 'is-text': true }"
|
|
|
+ class="login"
|
|
|
+ type="submit"
|
|
|
+ >已有账户,登陆
|
|
|
+ </router-link>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -163,7 +161,7 @@ export default {
|
|
|
.intro {
|
|
|
text-align: center;
|
|
|
font-size: 25px;
|
|
|
- padding: 10px 0 30px;
|
|
|
+ padding: 20px 0 10px;
|
|
|
}
|
|
|
.link {
|
|
|
text-decoration: none;
|
|
|
@@ -172,4 +170,25 @@ export default {
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
}
|
|
|
+.register {
|
|
|
+ color: #ffffff;
|
|
|
+ padding: 10px 0px 10px 0px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ font-size: 1rem;
|
|
|
+ width: 100%;
|
|
|
+ background: linear-gradient(to right, #82b1ed, #b073fd);
|
|
|
+ border-radius: 4px;
|
|
|
+ border: 0px;
|
|
|
+}
|
|
|
+.login {
|
|
|
+ color: #7396fd;
|
|
|
+ margin-top: 20px;
|
|
|
+ padding: 10px 0px 10px 0px;
|
|
|
+ font-size: 1rem;
|
|
|
+ width: 100%;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ border: 1px solid #82b1ed;
|
|
|
+}
|
|
|
</style>
|