feat: 优化

This commit is contained in:
2026-07-23 13:59:35 +08:00
parent 268207b01b
commit 3f335074ea
13 changed files with 614 additions and 580 deletions
+24 -13
View File
@@ -22,9 +22,9 @@
<view class="templ_img_item" v-for="item in uploadTemplList" :key="item.id">
<up-image :src="item.url" width="100%" height="50" bgColor="#f1f6ff00"></up-image>
<view class="templ_img_item_msg">
<up-image :src="item.isOk ? '/static/common/ID_ok_1.png' : '/static/common/ID_error.png'" width="10"
height="10" bgColor="#f1f6ff00"></up-image>
<view class="templ_img_item_msg_title">{{ item.title }}</view>
<up-image :src="item.isOk ? '/static/common/ID_ok_1.png' : '/static/common/ID_error.png'"
width="10" height="10" bgColor="#f1f6ff00"></up-image>
<view class="templ_img_item_msg_title">{{ item.title }}111</view>
</view>
</view>
</view>
@@ -41,7 +41,7 @@ import { getStorageFun, TOKEN_NAME } from '@/utils/auth.js';
export default {
name: "common_card",
props:['Fimg','Bimg'],
props: ['Fimg', 'Bimg'],
data() {
return {
uploadTemplList: [
@@ -54,7 +54,7 @@ export default {
id: 2,
title: "边框缺失",
isOk: false,
url: "https://static.tbmall.xin/static/ID_error_1.png",
url: "https://static.tbmall.xin/static/ID_gq.png",
}, {
id: 3,
title: "照片模糊",
@@ -71,15 +71,15 @@ export default {
fileListF: {},// 身份反面照片
};
},
watch:{
Fimg(p,r){
if(p){
this.fileListZ = {accessUrl:p};
watch: {
Fimg(p, r) {
if (p) {
this.fileListZ = { accessUrl: p };
}
},
Bimg(p,r){
if(p){
this.fileListF = {accessUrl:p};
Bimg(p, r) {
if (p) {
this.fileListF = { accessUrl: p };
}
},
},
@@ -176,4 +176,15 @@ export default {
}
</script>
<style></style>
<style scoped lang="scss">
.data_common_warp {
background: #FFFFFF;
border-radius: 30rpx;
padding: 30rpx;
margin-bottom: 30rpx;
&:last-child {
margin-bottom: 92rpx;
}
}
</style>