|
@@ -24,9 +24,9 @@
|
|
<view class="div user-avatar">
|
|
<view class="div user-avatar">
|
|
<uni-file-picker
|
|
<uni-file-picker
|
|
class="common-avatar"
|
|
class="common-avatar"
|
|
- v-model="imageValue['member_idcard_image1']"
|
|
|
|
- fileMediatype="image"
|
|
|
|
- mode="grid"
|
|
|
|
|
|
+ v-model="imageValue['member_idcard_image1']"
|
|
|
|
+ fileMediatype="image"
|
|
|
|
+ mode="grid"
|
|
:readonly="user.member_auth_state==1 || user.member_auth_state==3"
|
|
:readonly="user.member_auth_state==1 || user.member_auth_state==3"
|
|
:limit="1"
|
|
:limit="1"
|
|
:auto-upload="false"
|
|
:auto-upload="false"
|
|
@@ -34,7 +34,7 @@
|
|
width:'200px',
|
|
width:'200px',
|
|
height:'160px',
|
|
height:'160px',
|
|
}"
|
|
}"
|
|
- @select="uploadInformPic('member_idcard_image1',$event)"
|
|
|
|
|
|
+ @select="uploadInformPic('member_idcard_image1',$event)"
|
|
@delete="dropImage('member_idcard_image1')"
|
|
@delete="dropImage('member_idcard_image1')"
|
|
>
|
|
>
|
|
</uni-file-picker>
|
|
</uni-file-picker>
|
|
@@ -48,9 +48,9 @@
|
|
<view class="div user-avatar">
|
|
<view class="div user-avatar">
|
|
<uni-file-picker
|
|
<uni-file-picker
|
|
class="common-avatar"
|
|
class="common-avatar"
|
|
- v-model="imageValue['member_idcard_image2']"
|
|
|
|
- fileMediatype="image"
|
|
|
|
- mode="grid"
|
|
|
|
|
|
+ v-model="imageValue['member_idcard_image2']"
|
|
|
|
+ fileMediatype="image"
|
|
|
|
+ mode="grid"
|
|
:readonly="user.member_auth_state==1 || user.member_auth_state==3"
|
|
:readonly="user.member_auth_state==1 || user.member_auth_state==3"
|
|
:limit="1"
|
|
:limit="1"
|
|
:auto-upload="false"
|
|
:auto-upload="false"
|
|
@@ -58,7 +58,7 @@
|
|
width:'200px',
|
|
width:'200px',
|
|
height:'160px',
|
|
height:'160px',
|
|
}"
|
|
}"
|
|
- @select="uploadInformPic('member_idcard_image2',$event)"
|
|
|
|
|
|
+ @select="uploadInformPic('member_idcard_image2',$event)"
|
|
@delete="dropImage('member_idcard_image2')"
|
|
@delete="dropImage('member_idcard_image2')"
|
|
>
|
|
>
|
|
</uni-file-picker>
|
|
</uni-file-picker>
|
|
@@ -72,9 +72,9 @@
|
|
<view class="div user-avatar">
|
|
<view class="div user-avatar">
|
|
<uni-file-picker
|
|
<uni-file-picker
|
|
class="common-avatar"
|
|
class="common-avatar"
|
|
- v-model="imageValue['member_idcard_image3']"
|
|
|
|
- fileMediatype="image"
|
|
|
|
- mode="grid"
|
|
|
|
|
|
+ v-model="imageValue['member_idcard_image3']"
|
|
|
|
+ fileMediatype="image"
|
|
|
|
+ mode="grid"
|
|
:readonly="user.member_auth_state==1 || user.member_auth_state==3"
|
|
:readonly="user.member_auth_state==1 || user.member_auth_state==3"
|
|
:limit="1"
|
|
:limit="1"
|
|
:auto-upload="false"
|
|
:auto-upload="false"
|
|
@@ -82,7 +82,7 @@
|
|
width:'200px',
|
|
width:'200px',
|
|
height:'160px',
|
|
height:'160px',
|
|
}"
|
|
}"
|
|
- @select="uploadInformPic('member_idcard_image3',$event)"
|
|
|
|
|
|
+ @select="uploadInformPic('member_idcard_image3',$event)"
|
|
@delete="dropImage('member_idcard_image3')"
|
|
@delete="dropImage('member_idcard_image3')"
|
|
>
|
|
>
|
|
</uni-file-picker>
|
|
</uni-file-picker>
|
|
@@ -141,7 +141,7 @@ export default {
|
|
},
|
|
},
|
|
mounted(){
|
|
mounted(){
|
|
// #ifdef MP-WEIXIN
|
|
// #ifdef MP-WEIXIN
|
|
- this.navHeight = uni.getMenuButtonBoundingClientRect().height
|
|
|
|
|
|
+ this.navHeight = uni.getMenuButtonBoundingClientRect().top
|
|
// #endif
|
|
// #endif
|
|
const res = uni.getSystemInfoSync()
|
|
const res = uni.getSystemInfoSync()
|
|
this.screenWidth = res.windowWidth
|
|
this.screenWidth = res.windowWidth
|
|
@@ -263,7 +263,7 @@ export default {
|
|
name:index,
|
|
name:index,
|
|
id:index
|
|
id:index
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
uploadAuth(formdata).then(res => {
|
|
uploadAuth(formdata).then(res => {
|
|
this.user[index + '_url'] = res.result.file_path
|
|
this.user[index + '_url'] = res.result.file_path
|
|
this.imageValue[index]=[{
|
|
this.imageValue[index]=[{
|