Commit 846b6849 authored by chenqikuai's avatar chenqikuai

登录页面文案修改、登录页面字体大小和按钮高度修改

parent df85893d
...@@ -79,7 +79,6 @@ export default class CodeInput extends Vue { ...@@ -79,7 +79,6 @@ export default class CodeInput extends Vue {
.code-btn { .code-btn {
border-left: 1px solid #E4E4E4; border-left: 1px solid #E4E4E4;
padding-left: 11px; padding-left: 11px;
font-size: 16px;
color: $fontColorBlue; color: $fontColorBlue;
&.disabled { &.disabled {
color: $fontColorGray; color: $fontColorGray;
......
...@@ -28,17 +28,19 @@ html { ...@@ -28,17 +28,19 @@ html {
.main-btn { .main-btn {
position: relative; position: relative;
height: 50px; height: 40px;
line-height: 50px; line-height: 40px;
font-size: 16px; font-size: 16px;
color: #FFFFFF; color: #FFFFFF;
background: linear-gradient(270deg, #6C7AFE 0%, #5D7BF6 100%); background: linear-gradient(270deg, #6C7AFE 0%, #5D7BF6 100%);
box-shadow: 0px 2px 10px 0px rgba(63, 121, 254, 0.3);
border-radius: 4px; border-radius: 4px;
cursor: pointer; cursor: pointer;
transition: opacity .1s; transition: opacity .1s;
-webkit-appearance: none; -webkit-appearance: none;
&.disabled { &.disabled {
background: #B2C9FF; background: #B2C9FF;
box-shadow: 0px 2px 4px 0px rgba(178, 201, 255, 0.34);
} }
&::before { &::before {
position: absolute; position: absolute;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<span @click="toggle('phone-login')">手机号登录</span> <span @click="toggle('phone-login')">手机号登录</span>
</template> </template>
<template #form-title> <template #form-title>
<div>邮箱</div> <div>邮箱验证码登录</div>
</template> </template>
<template> <template>
<email-input v-model="email" :canEditEmail="canEditEmail"></email-input> <email-input v-model="email" :canEditEmail="canEditEmail"></email-input>
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
@get-code="getCode"></code-input> @get-code="getCode"></code-input>
</template> </template>
<template #form-buttons> <template #form-buttons>
<main-button @click.native="login" :disabled="!canSubmit"></main-button> <main-button @click.native="login" :disabled="!canSubmit" :btnText="'登录'"></main-button>
</template> </template>
<template #footer> <template #footer>
<span @click="toggle('email-pwd-login')">密码登录</span> <span @click="toggle('email-pwd-login')">密码登录</span>
......
...@@ -6,14 +6,14 @@ ...@@ -6,14 +6,14 @@
手机号登录</span> 手机号登录</span>
</template> </template>
<template #form-title> <template #form-title>
<div>邮箱</div> <div>邮箱密码登录</div>
</template> </template>
<template> <template>
<email-input v-model="email"></email-input> <email-input v-model="email"></email-input>
<password-input v-model="pwd"></password-input> <password-input v-model="pwd"></password-input>
</template> </template>
<template #form-buttons> <template #form-buttons>
<main-button @click.native="login" :disabled="!canSubmit"></main-button> <main-button @click.native="login" :disabled="!canSubmit" :btnText="'登录'"></main-button>
</template> </template>
<template #footer> <template #footer>
<span @click="toggle('email-login')">验证码登录</span> <span @click="toggle('email-login')">验证码登录</span>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<span @click="toggle('email-login')">邮箱登录</span> <span @click="toggle('email-login')">邮箱登录</span>
</template> </template>
<template #form-title> <template #form-title>
<div>手机号</div> <div>验证码登录</div>
</template> </template>
<template> <template>
<phone-input v-model="phone" :canEditPhone="canEditPhone"></phone-input> <phone-input v-model="phone" :canEditPhone="canEditPhone"></phone-input>
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
@get-code="getCode"></code-input> @get-code="getCode"></code-input>
</template> </template>
<template #form-buttons> <template #form-buttons>
<main-button @click.native="login" :disabled="!canSubmit"></main-button> <main-button @click.native="login" :disabled="!canSubmit" :btnText="'登录'"></main-button>
</template> </template>
<template #footer> <template #footer>
<span @click="toggle('phone-pwd-login')">密码登录</span> <span @click="toggle('phone-pwd-login')">密码登录</span>
......
...@@ -4,14 +4,14 @@ ...@@ -4,14 +4,14 @@
<span @click="toggle('email-login')">邮箱登录</span> <span @click="toggle('email-login')">邮箱登录</span>
</template> </template>
<template #form-title> <template #form-title>
<div>手机号</div> <div>密码登录</div>
</template> </template>
<template> <template>
<phone-input v-model="phone"></phone-input> <phone-input v-model="phone"></phone-input>
<password-input v-model="pwd"></password-input> <password-input v-model="pwd"></password-input>
</template> </template>
<template #form-buttons> <template #form-buttons>
<main-button @click.native="login" :disabled="!canSubmit"></main-button> <main-button @click.native="login" :disabled="!canSubmit" :btnText="'登录'"></main-button>
</template> </template>
<template #footer> <template #footer>
<span @click="toggle('phone-login')">验证码登录</span> <span @click="toggle('phone-login')">验证码登录</span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment