|
@@ -1,38 +1,5 @@
|
|
|
<template>
|
|
|
<view class="content">
|
|
|
- <view class='content1'>
|
|
|
- <view style='padding:5px 0 10px;border-bottom:1px solid #eee;' class="flex width100">
|
|
|
- <view style='width:100px;font-size:14px;'>姓名</view>
|
|
|
- <view class="flex">
|
|
|
- <u--input @input='nameinput' placeholder="输入姓名" inputAlign='left' border="none" v-model="dataDetails.name">
|
|
|
- </u--input>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view style='padding:10px 0 5px;border-bottom:1px solid #eee;' class="flex width100">
|
|
|
- <view style='width:100px;font-size:14px;'>联系电话</view>
|
|
|
- <view class="flex">
|
|
|
- <u--input disabledColor='#fff' disabled placeholder="输入联系电话" inputAlign='left' border="none"
|
|
|
- v-model="dataDetails.phone">
|
|
|
- </u--input>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <view class="flex row" style='padding:10px 0 5px;border-bottom:1px solid #eee;'>
|
|
|
- <view style='width:100px;font-size:14px;'>性别</view>
|
|
|
- <u-radio-group v-model="dataDetails.sex" placement="row">
|
|
|
- <u-radio :customStyle="radioCustomStyle" v-for="(item, index) in radiolist1" :key="index"
|
|
|
- :label="item.name" :name="item.name" @change="radioChange">
|
|
|
- </u-radio>
|
|
|
- </u-radio-group>
|
|
|
- </view>
|
|
|
- <view class="flex row row-ch" style='padding:10px 0 5px;'>
|
|
|
- <view style='width:100px;font-size:14px;'>称呼</view>
|
|
|
- <u--input placeholder="输入姓氏" class="ch-style" inputAlign='left' border="none"
|
|
|
- v-model="dataDetails.call">
|
|
|
- </u--input>
|
|
|
- <view class="flex align-center" v-if="dataDetails.sex=='男'">先生</view>
|
|
|
- <view class="flex align-center" v-else>女士</view>
|
|
|
- </view>
|
|
|
- </view>
|
|
|
<view class="content2 content-other">
|
|
|
<view class="title">上传身份证人像面</view>
|
|
|
<view @click.stop="uploadImg(1,index)" class="picture picture1" v-if="!dataDetails.cardAddressUrl">
|
|
@@ -63,7 +30,40 @@
|
|
|
|
|
|
<image class="" :src="dataDetails.cardBackAddressUrl" mode="aspectFit"></image>
|
|
|
</view>
|
|
|
-
|
|
|
+ <view style='padding:5px 0 10px;border-bottom:1px solid #eee;' class="flex width100">
|
|
|
+ <view style='width:100px;font-size:14px;'>姓名</view>
|
|
|
+ <view class="flex">
|
|
|
+ <u--input @input='nameinput' placeholder="输入姓名" inputAlign='left' border="none" v-model="dataDetails.name">
|
|
|
+ </u--input>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="flex row" style='padding:10px 0 5px;border-bottom:1px solid #eee;'>
|
|
|
+ <view style='width:100px;font-size:14px;'>性别</view>
|
|
|
+ <u-radio-group v-model="dataDetails.sex" placement="row">
|
|
|
+ <u-radio :customStyle="radioCustomStyle" v-for="(item, index) in radiolist1" :key="index"
|
|
|
+ :label="item.name" :name="item.name" @change="radioChange">
|
|
|
+ </u-radio>
|
|
|
+ </u-radio-group>
|
|
|
+ </view>
|
|
|
+ <view class="flex row row-ch" style='padding:10px 0 5px;'>
|
|
|
+ <view style='width:100px;font-size:14px;'>称呼</view>
|
|
|
+ <view style="width: 60rpx;">
|
|
|
+ <u--input placeholder="输入姓氏" class="ch-style" inputAlign='left' border="none"
|
|
|
+ v-model="dataDetails.call">
|
|
|
+ </u--input>
|
|
|
+ </view>
|
|
|
+ <view class="flex align-center" v-if="dataDetails.sex=='男'">先生</view>
|
|
|
+ <view class="flex align-center" v-else>女士</view>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view style='padding:10px 0 5px;border-bottom:1px solid #eee;' class="flex width100">
|
|
|
+ <view style='width:100px;font-size:14px;'>联系电话</view>
|
|
|
+ <view class="flex">
|
|
|
+ <u--input disabledColor='#fff' disabled placeholder="输入联系电话" inputAlign='left' border="none"
|
|
|
+ v-model="dataDetails.phone">
|
|
|
+ </u--input>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
<view class="flex row">
|
|
|
<view class="left-text">身份证号</view>
|
|
|
<u--input :disabled='dataDetails.id' placeholder="请输入身份证号" inputAlign='left' border="none" v-model="dataDetails.cardNumber">
|
|
@@ -126,7 +126,7 @@
|
|
|
data() {
|
|
|
return {
|
|
|
radioCustomStyle: {
|
|
|
- margin: '0 0 0 20rpx'
|
|
|
+ margin: '0 20rpx 0 0'
|
|
|
},
|
|
|
radiolist1: [{
|
|
|
name: '男',
|
|
@@ -199,8 +199,10 @@
|
|
|
delCard(status){
|
|
|
if(status==1){
|
|
|
this.dataDetails.cardAddressUrl=''
|
|
|
+ this.$forceUpdate()
|
|
|
}else{
|
|
|
this.dataDetails.cardBackAddressUrl=''
|
|
|
+ this.$forceUpdate()
|
|
|
}
|
|
|
},
|
|
|
//保存图片到相册,方便核查
|