Compare commits
2 Commits
523d7ab97b
...
54d20217fa
Author | SHA1 | Date |
---|---|---|
|
54d20217fa | |
|
8dfcc5ea6d |
|
@ -52,14 +52,13 @@
|
|||
<view class=" padding bg radius margin" style="padding-top: 20rpx; margin-top: 20rpx;">
|
||||
<view class="margin-top-sm">请选择认证类型</view>
|
||||
<view class="guke-list">
|
||||
<view class="guke-btn huiBtn" :class="{ lanBtn: selected.includes(item) }"
|
||||
@click="gukeBtn(item)" v-for="(item,index) in typeList" :key="index">
|
||||
<view class="guke-btn huiBtn" :class="{ lanBtn: selected.includes(item) }" @click="gukeBtn(item)"
|
||||
v-for="(item,index) in typeList" :key="index">
|
||||
{{item.value}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class=" padding bg radius margin"
|
||||
style="padding-top: 20rpx; margin-top: 20rpx;">
|
||||
<view class=" padding bg radius margin" style="padding-top: 20rpx; margin-top: 20rpx;">
|
||||
<view class="margin-top-sm">上传身份证正面</view>
|
||||
<view class="flex" style="overflow: hidden;flex-direction: initial;">
|
||||
<view class="margin-top flex margin-right-sm" v-if="form.front.length">
|
||||
|
@ -137,7 +136,8 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<jp-cropper-watermark :watermarkType="1" mode="ratio" :width="400" :height="500" :maxWidth="400" :maxHeight="500" :url="url" @cancel="oncancel" @ok="onok"></jp-cropper-watermark>
|
||||
<jp-cropper-watermark :watermarkType="1" mode="ratio" :width="400" :height="500" :maxWidth="400"
|
||||
:maxHeight="500" :url="url" @cancel="oncancel" @ok="onok"></jp-cropper-watermark>
|
||||
</view>
|
||||
<view class="margin-top-sm">持有资质证书(可多张)</view>
|
||||
<view class="flex" style="overflow: hidden;flex-wrap: wrap;">
|
||||
|
@ -220,7 +220,7 @@
|
|||
<!-- 性别选择 -->
|
||||
<u-action-sheet :list="actionSheetList" v-model="show" @click="actionSheetCallback"></u-action-sheet>
|
||||
<!-- 出生日期 -->
|
||||
<u-picker v-model="showData" :params="params" @confirm="bindData"></u-picker>
|
||||
<u-picker v-model="showData" mode="time" :params="params" @confirm="bindData"></u-picker>
|
||||
<!-- 支付方式 -->
|
||||
<u-popup v-model="showpay" mode="bottom" :closeable="closeable">
|
||||
<view class="popup_pay">
|
||||
|
@ -327,7 +327,7 @@
|
|||
renzhengStatus: false,
|
||||
typeList: [],
|
||||
url: '',
|
||||
urlUol:''
|
||||
urlUol: '',
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
|
@ -379,12 +379,23 @@
|
|||
}]
|
||||
this.openWay = 2;
|
||||
// #endif
|
||||
//this.dateValue = this.getDate();
|
||||
},
|
||||
onShow() {
|
||||
// this.Getmoney()
|
||||
this.checkRenzhengStatus();
|
||||
},
|
||||
methods: {
|
||||
getDate() { //年月日
|
||||
const date = new Date();
|
||||
// const date = new Date();
|
||||
let year = date.getFullYear();
|
||||
let month = date.getMonth() + 1;
|
||||
let day = date.getDate();
|
||||
month = month > 9 ? month : '0' + month;
|
||||
day = day > 9 ? day : '0' + day;
|
||||
return `${year}-${month}-${day}`;
|
||||
},
|
||||
gukeBtn(item) {
|
||||
var index = this.selected.indexOf(item);
|
||||
if (index === -1) {
|
||||
|
@ -759,13 +770,17 @@
|
|||
success: (uploadFileRes) => {
|
||||
if (e == 3) {
|
||||
if (that.infantImg.length <= 5) {
|
||||
that.infantImg.push(JSON.parse(uploadFileRes.data)
|
||||
that.infantImg.push(JSON.parse(
|
||||
uploadFileRes.data)
|
||||
.data)
|
||||
|
||||
}
|
||||
} else if (e == 2) {
|
||||
if (that.certificateImg.length <= 5) {
|
||||
that.certificateImg.push(JSON.parse(uploadFileRes.data)
|
||||
if (that.certificateImg.length <=
|
||||
5) {
|
||||
that.certificateImg.push(JSON
|
||||
.parse(uploadFileRes
|
||||
.data)
|
||||
.data)
|
||||
// that.image = JSON.parse(uploadFileRes.data)
|
||||
// .data
|
||||
|
@ -869,11 +884,14 @@
|
|||
name: 'file',
|
||||
success: (uploadFileRes) => {
|
||||
if (e == 1) {
|
||||
that.form.front = JSON.parse(uploadFileRes.data).data
|
||||
that.form.front = JSON.parse(
|
||||
uploadFileRes.data).data
|
||||
} else if (e == 2) {
|
||||
that.form.back = JSON.parse(uploadFileRes.data).data
|
||||
that.form.back = JSON.parse(
|
||||
uploadFileRes.data).data
|
||||
} else if (e == 4) {
|
||||
that.form.headImg = JSON.parse(uploadFileRes.data).data
|
||||
that.form.headImg = JSON.parse(
|
||||
uploadFileRes.data).data
|
||||
console.log(that.form.headImg)
|
||||
}
|
||||
uni.hideLoading();
|
||||
|
@ -1077,10 +1095,12 @@
|
|||
background: #f3f3f3;
|
||||
// color: #333333;
|
||||
}
|
||||
|
||||
.lanBtn {
|
||||
color: #fff;
|
||||
background: #049F89;
|
||||
}
|
||||
|
||||
.guke-btn {
|
||||
width: 30%;
|
||||
line-height: 34px;
|
||||
|
@ -1091,6 +1111,7 @@
|
|||
margin-top: 5px;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.guke-list {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
@ -1101,6 +1122,7 @@
|
|||
background-color: #fff;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
page {
|
||||
background-color: #F7F7F7;
|
||||
}
|
||||
|
@ -1113,10 +1135,12 @@
|
|||
border-radius: 26rpx;
|
||||
|
||||
}
|
||||
|
||||
.add-word {
|
||||
font-size: 26rpx;
|
||||
color: #afb5c1;
|
||||
}
|
||||
|
||||
.skbox {}
|
||||
|
||||
.skleft {
|
||||
|
@ -1196,4 +1220,8 @@
|
|||
.bgCol2 {
|
||||
color: #557EFD;
|
||||
}
|
||||
|
||||
/deep/.uni-picker-view-wrapper uni-picker-view-column:nth-child(1) {
|
||||
display: block !important;
|
||||
}
|
||||
</style>
|
Loading…
Reference in New Issue