登录页面
This commit is contained in:
parent
e83f773b80
commit
b0c20efa57
@ -70,6 +70,7 @@ export default {
|
|||||||
'/me/right-menu/minor-protection/trigger-time',
|
'/me/right-menu/minor-protection/trigger-time',
|
||||||
'/me/right-menu/setting',
|
'/me/right-menu/setting',
|
||||||
'/login',
|
'/login',
|
||||||
|
'/other-login',
|
||||||
|
|
||||||
|
|
||||||
'/service-protocol',
|
'/service-protocol',
|
||||||
|
|||||||
@ -100,6 +100,18 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.disabled{
|
||||||
|
&.primary {
|
||||||
|
background: gainsboro;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
&:active {
|
||||||
|
&.primary {
|
||||||
|
background: gainsboro;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&.dark {
|
&.dark {
|
||||||
background: $second-btn-color;
|
background: $second-btn-color;
|
||||||
|
|
||||||
|
|||||||
@ -15,6 +15,7 @@ html, body {
|
|||||||
//background: #2e3244;
|
//background: #2e3244;
|
||||||
background: $main-bg;
|
background: $main-bg;
|
||||||
font-size: 62.5%;
|
font-size: 62.5%;
|
||||||
|
//letter-spacing: .11rem;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -13,7 +13,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="button primary no-active">一键登录</div>
|
<div class="button primary no-active">一键登录</div>
|
||||||
<div class="button white">其他手机号码登录</div>
|
<div class="button white" @click="$nav('/other-login')">其他手机号码登录</div>
|
||||||
|
|
||||||
<div class="protocol">
|
<div class="protocol">
|
||||||
<!-- TODO -->
|
<!-- TODO -->
|
||||||
@ -22,15 +22,16 @@
|
|||||||
我已阅读并同意
|
我已阅读并同意
|
||||||
<span class="link" @click="$nav('/service-protocol',{type:'“抖音”用户服务协议'})">用户协议</span>
|
<span class="link" @click="$nav('/service-protocol',{type:'“抖音”用户服务协议'})">用户协议</span>
|
||||||
和
|
和
|
||||||
<span class="link" @click="$nav('/service-protocol',{type:'“抖音”用户服务协议'})">隐私政策</span>
|
<span class="link" @click="$nav('/service-protocol',{type:'“抖音”隐私政策'})">隐私政策</span>
|
||||||
<div>
|
<div>
|
||||||
以及
|
以及
|
||||||
<span class="link" @click="$nav('/service-protocol',{type:'“抖音”用户服务协议'})">《中国移动认证服务条款》</span>
|
<span class="link" @click="$nav('/service-protocol',{type:'中国移动认证服务协议'})">《中国移动认证服务条款》</span>
|
||||||
,同时登录并使用抖音火山版(原“火山小视频”)和抖音
|
,同时登录并使用抖音火山版(原“火山小视频”)和抖音
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<!-- TODO -->
|
<!-- TODO -->
|
||||||
<div class="other-login">
|
<div class="other-login">
|
||||||
<span class="link">其他方式登录</span>
|
<span class="link">其他方式登录</span>
|
||||||
@ -82,6 +83,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.phone-number {
|
.phone-number {
|
||||||
|
letter-spacing: .3rem;
|
||||||
font-size: 3rem;
|
font-size: 3rem;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
@ -97,6 +99,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.protocol{
|
.protocol{
|
||||||
|
color: gray;
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
}
|
}
|
||||||
|
|||||||
154
src/pages/login/OtherLogin.vue
Normal file
154
src/pages/login/OtherLogin.vue
Normal file
@ -0,0 +1,154 @@
|
|||||||
|
<template>
|
||||||
|
<div class="other-login">
|
||||||
|
<BaseHeader>
|
||||||
|
<template v-slot:right>
|
||||||
|
<span class="f16">帮助</span>
|
||||||
|
</template>
|
||||||
|
</BaseHeader>
|
||||||
|
<div class="content">
|
||||||
|
<div class="notice">
|
||||||
|
<div class="title">登录看朋友内容</div>
|
||||||
|
<div class="sub-title">未注册的手机号验证通过后将自动注册</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="input-number">
|
||||||
|
<div class="left">
|
||||||
|
<span>+86</span>
|
||||||
|
<div class="arrow"></div>
|
||||||
|
</div>
|
||||||
|
<input type="text" class="right" placeholder="请输入手机号">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="protocol">
|
||||||
|
<!-- TODO -->
|
||||||
|
<div class="left"></div>
|
||||||
|
<div class="right">
|
||||||
|
已阅读并同意
|
||||||
|
<span class="link" @click="$nav('/service-protocol',{type:'“抖音”用户服务协议'})">用户协议</span>
|
||||||
|
和
|
||||||
|
<span class="link" @click="$nav('/service-protocol',{type:'“抖音”隐私政策'})">隐私政策</span>
|
||||||
|
,同时登录并使用抖音火山版(原“火山小视频”)和抖音
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="button primary no-active disabled">获取短信验证码</div>
|
||||||
|
|
||||||
|
<div class="options">
|
||||||
|
<span class="link">密码登录</span>
|
||||||
|
<span class="link">其他方式登录</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: "OtherLogin",
|
||||||
|
data() {
|
||||||
|
return {}
|
||||||
|
},
|
||||||
|
computed: {},
|
||||||
|
created() {
|
||||||
|
},
|
||||||
|
methods: {}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
@import "../../assets/scss/index";
|
||||||
|
|
||||||
|
.other-login {
|
||||||
|
position: fixed;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
top: 0;
|
||||||
|
overflow: auto;
|
||||||
|
color: black;
|
||||||
|
font-size: 1.4rem;
|
||||||
|
background: white;
|
||||||
|
|
||||||
|
.content {
|
||||||
|
padding: 6rem 3rem;
|
||||||
|
//padding-top: 6rem;
|
||||||
|
|
||||||
|
.notice {
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
margin-top: 4rem;
|
||||||
|
display: flex;
|
||||||
|
align-items: flex-start;
|
||||||
|
flex-direction: column;
|
||||||
|
|
||||||
|
.title {
|
||||||
|
font-size: 2rem;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sub-title {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
color: $second-text-color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-number {
|
||||||
|
display: flex;
|
||||||
|
background: whitesmoke;
|
||||||
|
padding: 1.5rem 1rem;
|
||||||
|
|
||||||
|
.left {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
margin-right: 1rem;
|
||||||
|
padding-right: 1rem;
|
||||||
|
position: relative;
|
||||||
|
.arrow {
|
||||||
|
margin-top: .4rem;
|
||||||
|
margin-left: .5rem;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
border: .3rem solid transparent;
|
||||||
|
border-top: .5rem solid black;
|
||||||
|
}
|
||||||
|
|
||||||
|
&::before{
|
||||||
|
content: ' ';
|
||||||
|
position: absolute;
|
||||||
|
width: 1px;
|
||||||
|
height: .8rem;
|
||||||
|
top: 4px;
|
||||||
|
right: 0;
|
||||||
|
background: gray;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.right {
|
||||||
|
flex: 1;
|
||||||
|
outline: none;
|
||||||
|
border: none;
|
||||||
|
background: whitesmoke;
|
||||||
|
caret-color:red;
|
||||||
|
//background: red;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.button {
|
||||||
|
margin-bottom: .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.protocol {
|
||||||
|
color: gray;
|
||||||
|
margin-top: 2rem;
|
||||||
|
margin-bottom: 2rem;
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.options{
|
||||||
|
font-size: 1.2rem;
|
||||||
|
margin-top: 2rem;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
File diff suppressed because it is too large
Load Diff
@ -37,6 +37,7 @@ import TriggerTime from "../pages/me/rightMenu/MinorProtection/TriggerTime";
|
|||||||
import Setting from "../pages/me/rightMenu/Setting";
|
import Setting from "../pages/me/rightMenu/Setting";
|
||||||
import Me2 from "../pages/me/Me2";
|
import Me2 from "../pages/me/Me2";
|
||||||
import Login from "../pages/login/Login";
|
import Login from "../pages/login/Login";
|
||||||
|
import OtherLogin from "../pages/login/OtherLogin";
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
// {path: '', component: Music},
|
// {path: '', component: Music},
|
||||||
@ -78,6 +79,7 @@ const routes = [
|
|||||||
{path: '/me/right-menu/minor-protection/trigger-time', component: TriggerTime},
|
{path: '/me/right-menu/minor-protection/trigger-time', component: TriggerTime},
|
||||||
{path: '/me/right-menu/setting', component: Setting},
|
{path: '/me/right-menu/setting', component: Setting},
|
||||||
{path: '/login', component: Login},
|
{path: '/login', component: Login},
|
||||||
|
{path: '/other-login', component: OtherLogin},
|
||||||
]
|
]
|
||||||
|
|
||||||
export default VueRouter.createRouter({
|
export default VueRouter.createRouter({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user