You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Sports/pages/login/forget.vue

130 lines
2.4 KiB

<template>
<view class="add">
<view class="add-bd">
<view class="item">
<view class="l">请输入账号</view>
<view class="r">
<input type="text" v-model="info.father" />
</view>
</view>
<view class="item">
<view class="l">输入手机号:</view>
<view class="r">
<input type="number" v-model="info.father" />
<view class="btn">发送验证码</view>
</view>
</view>
<view class="item">
<view class="l">输入验证码:</view>
<view class="r">
<input type="number" v-model="info.father" />
</view>
</view>
</view>
<view class="add-fd">
<view class="btn" @click="toPage()">完成</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
tabIndex: 1,
rangeIndex: -1,
range: ['公','母'],
range1: ['黄色','蓝色'],
info: {},
};
},
methods: {
tabItem(e){
this.tabIndex = e;
},
toPage() {
uni.navigateTo({
url: "/pages/login/setPass"
})
},
}
}
</script>
<style lang="scss" scoped>
.add{
padding-bottom: calc(env(safe-area-inset-bottom)+140rpx);
overflow: hidden;
&-bd{
padding: 0 35rpx;
overflow: hidden;
.item{
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
padding: 40rpx 0;
border-bottom: 1px solid #c0c2c2;
.l{
width: 200rpx;
font-size: 28rpx;
color: #000;
}
.r{
flex: 1;
display: flex;
align-items: center;
justify-content: flex-end;
.btn{
width: 210rpx;
line-height: 60rpx;
font-size: 30rpx;
color: #000;
margin: 0 auto;
background-color: #f8b62d;
border-radius: 8rpx;
text-align: center;
margin-left: 20rpx;
}
input,picker{
flex: 1;
font-size: 28rpx;
color: #000;
height: 50rpx;
line-height: 50rpx;
text-align: left;
}
.arrow{
width: 32rpx;
height: 19rpx;
margin-left: 20rpx;
vertical-align: middle;
}
.date{
width: 45rpx;
height: 45rpx;
margin-left: 20rpx;
vertical-align: middle;
}
}
}
}
&-fd{
width: 100%;
padding: 20rpx 35rpx;
box-sizing: border-box;
background-color: #f3f5f6;
margin-top: 150rpx;
.btn{
width: 100%;
line-height: 90rpx;
text-align: center;
background-color: #009944;
font-size: 32rpx;
color: #ffffff;
border-radius: 10rpx;
}
}
}
</style>