fix
This commit is contained in:
parent
368b2d7997
commit
48b8fb44a0
@ -140,14 +140,14 @@
|
||||
previewImage
|
||||
>
|
||||
<image
|
||||
src="@/static/image/card.png"
|
||||
src="@/static/image/passport.png"
|
||||
mode="scaleToFill"
|
||||
style="width: 270rpx; height: 158rpx"
|
||||
></image>
|
||||
</u-upload>
|
||||
</view>
|
||||
<view style="color: #4e964d; font-size: 20rpx; margin-top: 20rpx"
|
||||
>上传护照正面</view
|
||||
>上传护照资料页</view
|
||||
>
|
||||
</view>
|
||||
<view class="card">
|
||||
@ -163,14 +163,14 @@
|
||||
:height="'158rpx'"
|
||||
>
|
||||
<image
|
||||
src="@/static/image/card2.png"
|
||||
src="@/static/image/passport2.png"
|
||||
mode="scaleToFill"
|
||||
style="width: 270rpx; height: 158rpx"
|
||||
></image>
|
||||
</u-upload>
|
||||
</view>
|
||||
<view style="color: #4e964d; font-size: 20rpx; margin-top: 20rpx"
|
||||
>上传护照背面</view
|
||||
>上传护照封面</view
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
@ -283,17 +283,28 @@ export default {
|
||||
// }
|
||||
// uni.setStorageSync("info", data)
|
||||
// }
|
||||
if (uni.getStorageSync("info").keys().length) {
|
||||
this.name = uni.getStorageSync("info").name || "";
|
||||
this.num = uni.getStorageSync("info").num || "";
|
||||
this.fileList = uni.getStorageSync("info").fileList || [];
|
||||
this.fileList2 = uni.getStorageSync("info").fileList2 || [];
|
||||
this.video = uni.getStorageSync("info").video || "";
|
||||
this.radiovalue = uni.getStorageSync("info").radiovalue || "0";
|
||||
this.passport = uni.getStorageSync("info").passport || [];
|
||||
this.passport2 = uni.getStorageSync("info").passport2 || [];
|
||||
this.passportId = uni.getStorageSync("info").passportId || "";
|
||||
uni.removeStorageSync("info");
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
isFddSuccess(newValue) {
|
||||
if (newValue) {
|
||||
console.log(9999999, uni.getStorageSync("info"));
|
||||
this.name = uni.getStorageSync("info").name || "";
|
||||
this.num = uni.getStorageSync("info").num || "";
|
||||
this.fileList = uni.getStorageSync("info").fileList || [];
|
||||
this.fileList2 = uni.getStorageSync("info").fileList2 || [];
|
||||
this.video = uni.getStorageSync("info").video || "";
|
||||
this.radiovalue = uni.getStorageSync("info").radiovalue || "0";
|
||||
this.radiovalue = uni.getStorageSync("info").radiovalue;
|
||||
this.passport = uni.getStorageSync("info").passport || [];
|
||||
this.passport2 = uni.getStorageSync("info").passport2 || [];
|
||||
this.passportId = uni.getStorageSync("info").passportId || "";
|
||||
@ -561,6 +572,7 @@ export default {
|
||||
radiovalue: this.radiovalue,
|
||||
passport: this.passport,
|
||||
passport2: this.passport2,
|
||||
passportId: this.passportId,
|
||||
};
|
||||
uni.setStorageSync("info", data);
|
||||
uni.navigateTo({
|
||||
|
BIN
static/image/passport.png
Normal file
BIN
static/image/passport.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.1 KiB |
BIN
static/image/passport2.png
Normal file
BIN
static/image/passport2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.2 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,10 +1,10 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-popup": "/uview-ui/components/u-popup/u-popup",
|
||||
"u-icon": "/uview-ui/components/u-icon/u-icon",
|
||||
"u-line": "/uview-ui/components/u-line/u-line",
|
||||
"u-loading-icon": "/uview-ui/components/u-loading-icon/u-loading-icon",
|
||||
"u-gap": "/uview-ui/components/u-gap/u-gap"
|
||||
}
|
||||
},
|
||||
"component": true
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-transition": "/uview-ui/components/u-transition/u-transition",
|
||||
"u-loading-icon": "/uview-ui/components/u-loading-icon/u-loading-icon"
|
||||
},
|
||||
"component": true
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user