金诚优选前端代码
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.
 
 
 
 
 

157 lines
4.0 KiB

<template>
<view>
<lf-nav :spreadOut="true" :showIcon="true" bgColor="#F8F8F8" title="会员资料"></lf-nav>
<view class="lf-font-26 lf-color-primary lf-p-30 lf-row-center">
尊敬的会员完善资料可以让我们为您提供更贴切的服务
</view>
<view class="lf-p-l-32 lf-p-r-32">
<view class="set-tag lf-border-bottom">
<view class="lf-font-28 lf-color-black">
*姓名
</view>
<view class="lf-flex">
<input type="text" class="edit-input" placeholder="182****5380" />
</view>
</view>
</view>
<view class="lf-p-l-32 lf-p-r-32">
<view class="set-tag lf-border-bottom">
<view class="lf-font-28 lf-color-black">
国籍
</view>
<view class="lf-flex">
<input type="text" class="edit-input" placeholder="请输入你的国籍" />
</view>
</view>
</view>
<view class="lf-p-l-32 lf-p-r-32">
<view class="set-tag lf-border-bottom">
<view class="lf-font-28 lf-color-black">
性别
</view>
<view class="lf-flex">
<input type="text" class="edit-input" placeholder="男" />
</view>
</view>
</view>
<view class="lf-p-l-32 lf-p-r-32">
<view class="set-tag lf-border-bottom">
<view class="lf-font-28 lf-color-black">
出生日期
</view>
<view class="lf-flex">
<input type="text" class="edit-input" placeholder="1999-12-12" />
</view>
</view>
</view>
<view class="lf-p-l-32 lf-p-r-32">
<view class="set-tag lf-border-bottom">
<view class="lf-font-28 lf-color-black">
身份证号
</view>
<view class="lf-flex">
<input type="text" class="edit-input" placeholder="450111199912122232(不可修改)" />
</view>
</view>
</view>
<view class="lf-p-l-32 lf-p-r-32">
<view class="set-tag lf-border-bottom">
<view class="lf-font-28 lf-color-black">
通讯地址
</view>
<view class="lf-flex">
<picker mode="selector" @change="getValue('marriage', $event)" :range="marriage" :value="marriage_index">
<text class="lf-font-28 lf-color-777">{{ marriage[marriage_index] || '请选择' }}</text>
</picker>
</view>
</view>
</view>
<view class="lf-p-l-32 lf-p-r-32">
<view class="set-tag lf-border-bottom">
<view class="lf-font-28 lf-color-black"></view>
<view class="lf-flex">
<input type="text" class="edit-input" placeholder="请输入您的详细地址" />
</view>
</view>
</view>
<view class="lf-p-l-32 lf-p-r-32">
<view class="set-tag lf-border-bottom">
<view class="lf-font-28 lf-color-black">
家庭地址
</view>
<view class="lf-flex">
<input type="text" class="edit-input" placeholder="请输入您的家庭地址" />
</view>
</view>
</view>
<view class="lf-p-l-32 lf-p-r-32">
<view class="set-tag lf-border-bottom">
<view class="lf-font-28 lf-color-black">
学历
</view>
<view class="lf-flex">
<input type="text" class="edit-input" placeholder="请输入您的学历" />
</view>
</view>
</view>
<view class="lf-font-26 lf-color-999 lf-p-30 lf-row-center">
温馨提示身份证号出生日期不支持线上修改如需修改请前往服务台办理
</view>
<button class="set-btn">退出账号</button>
</view>
</template>
<script>
export default {
data() {
return {
marriage: ['已婚', '未婚'],
}
},
methods: {
getValue(current, event){
this[current +'_index'] = event.detail.value;
}
}
}
</script>
<style scoped lang="scss">
// .input{
// width: 400rpx;
// text-align: right;
// }
.picker-w{
width: 400rpx;
text-align: right;
}
.set-btn {
width: 550rpx;
height: 100rpx;
background: #15716E;
border-radius: 50rpx;
margin: 40rpx auto;
font-size: 32rpx;
color: white;
}
.edit-input {
text-align: right;
font-size: 28rpx;
color: #777;
}
.set-tag {
height: 100rpx;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
// border-bottom: 1rpx solid rgba(0, 0, 0, 0.1);
}
/deep/.input-placeholder {
font-size: 28rpx;
color: #777;
}
</style>