|
@@ -20,9 +20,10 @@
|
|
|
|
|
|
<view class="form-label-input">
|
|
|
<view class="phone-form-label"><text class="form-label-require">*</text>生日</view>
|
|
|
- <uni-datetime-picker v-model="formData.birthday">
|
|
|
+ <uni-datetime-picker type="line" v-model="formData.birthday">
|
|
|
<view class="form-radio-select">
|
|
|
- <view>请选择</view>
|
|
|
+ <view v-if="!formData.birthday">请选择出生日期</view>
|
|
|
+ <view v-else>{{formData.birthday}}</view>
|
|
|
<icon></icon>
|
|
|
</view>
|
|
|
</uni-datetime-picker>
|
|
@@ -40,7 +41,12 @@
|
|
|
</view>
|
|
|
<view class="form-label-input">
|
|
|
<view class="phone-form-label"><text class="form-label-require">*</text>民族</view>
|
|
|
- <uni-data-select v-model="formData.ethnic" :localdata="ethnicData" placeholder="请选择民族" />
|
|
|
+ <picker :range="xingzuoRange" mode='selector' @change="xingzuoChange" @cancel="xingzuoCancel">
|
|
|
+ <view class="form-radio-select">
|
|
|
+ <view>请选择民族</view>
|
|
|
+ <icon></icon>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
</view>
|
|
|
<view class="form-label-radio">
|
|
|
<view class="phone-form-label"><text class="form-label-require">*</text>性别</view>
|
|
@@ -196,7 +202,8 @@
|
|
|
|
|
|
},
|
|
|
goNext() {
|
|
|
- this.$emit('goNext',0);
|
|
|
+ console.log('formData',this.formData);
|
|
|
+ //this.$emit('goNext',0);
|
|
|
},
|
|
|
|
|
|
handleAgree(e) {
|