Parcourir la source

feat: 调整注册页面功能以及交互

周玉环 il y a 6 jours
Parent
commit
4634b31044

+ 4 - 0
xinkeaboard-web/assets/style/register.scss

@@ -108,6 +108,10 @@
           padding: 0 16px;
           box-sizing: border-box;
 
+          &.row-reverse {
+            flex-direction: row-reverse;
+          }
+
           a {
             display: block;
             line-height: 50px;

+ 1 - 1
xinkeaboard-web/pages/login.vue

@@ -44,7 +44,7 @@
               <input
                 type="text"
                 v-model="name"
-                :placeholder="L['请输入账号']"
+                :placeholder="L['请输入邮箱']"
                 class="input"
                 autocomplete="off"
               />

+ 1 - 1
xinkeaboard-web/pages/register.vue

@@ -38,7 +38,7 @@
           <RegisterMail v-if="currentStep === 'mail'" @success="(val) => { currentStep = 'account'; email = val  }" />
           <RegisterAccount v-if="currentStep === 'account'" :email="email" @success="currentStep = 'finish'"/>
           <RegisterSuccess v-if="currentStep === 'finish'"/>
-          <div :class="{ bottom: true, flex_row_between_center: true }">
+          <div :class="{ bottom: true, flex_row_between_center: true, 'row-reverse': currentStep !== 'emai' }">
             <a href="javascript:void(0)" @click="goToPage('/login')">{{
               L["已有账号,去登录"]
             }}</a>