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.
123 lines
2.2 KiB
123 lines
2.2 KiB
<template>
|
|
<view class="add">
|
|
<view class="add-bd">
|
|
<view class="item">
|
|
<view class="l">请输入新密码:</view>
|
|
<view class="r">
|
|
<input type="password" v-model="info.father" />
|
|
</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="l">再次请输入新密码:</view>
|
|
<view class="r">
|
|
<input type="password" 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: {
|
|
toPage() {
|
|
uni.navigateBack({
|
|
delta: 2
|
|
})
|
|
},
|
|
tabItem(e){
|
|
this.tabIndex = e;
|
|
},
|
|
}
|
|
}
|
|
</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: 260rpx;
|
|
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>
|
|
|