no message

This commit is contained in:
2025-08-30 20:03:57 +08:00
parent b76360992e
commit 345cd45fbe
10 changed files with 282 additions and 19 deletions
+15 -1
View File
@@ -41,6 +41,7 @@ import { getStorageFun, TOKEN_NAME } from '@/utils/auth.js';
export default {
name: "common_card",
props:['Fimg','Bimg'],
data() {
return {
uploadTemplList: [
@@ -70,12 +71,25 @@ export default {
fileListF: {},// 身份反面照片
};
},
watch:{
Fimg(p,r){
if(p){
this.fileListZ = {accessUrl:p};
}
},
Bimg(p,r){
if(p){
this.fileListF = {accessUrl:p};
}
},
},
methods: {
deletePic(event) {
this.fileListZ.splice(event.index, 1);
},
phoneFun(type) {
let that = this;
console.log('aaaaaaa')
/*#ifdef MP*/
uni.chooseMedia({
count: 1, // 默认为1,摄像头拍照为1,录像为10,录音为1
@@ -93,7 +107,7 @@ export default {
}
});
/*#endif*/
/*#ifdef APP-PLUS*/
/*#ifndef MP*/
uni.chooseImage({
count: 1, // 默认9,设置图片的数量
sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有