优化代码

This commit is contained in:
wuxw 2024-09-12 23:17:11 +08:00
parent 418eacbf3e
commit 9013154f49
4 changed files with 8 additions and 8 deletions

View File

@ -17,12 +17,12 @@ let baseUrl = '/';
// 腾讯地图Key, h5使用
let QQMapKey = '';
let commonBaseUrl= 'https://wuye.huilinwan.cn/';
let commonBaseUrl= 'https://wuye.aiannet.com/';
// #ifndef H5
//服务器域名 小程序 或者 app 时 后端地址
//let baseUrl = 'http://demo.homecommunity.cn/';
let baseUrl = 'https://wuye.huilinwan.cn/';
let baseUrl = 'https://wuye.aiannet.com/';
// #endif
//app支付时这里需要填写支付秘钥

View File

@ -118,7 +118,7 @@
},
methods: {
sendImagesData: function(e) {
this.photos = e[0].fileId
this.photos = e[0].url;
},
sexChange: function(e) {
this.sex = e.detail.value;
@ -134,7 +134,7 @@
"idCard": this.idCard,
"address": this.address,
sex:this.sex,
"ownerPhoto": this.photos
"ownerPhotoUrl": this.photos
}
let msg = "";

View File

@ -95,7 +95,7 @@
},
methods: {
sendImagesData: function(e) {
this.photos = e[0].fileId
this.photos = e[0].url
},
sexChange: function(e) {
this.sex = e.detail.value;
@ -111,7 +111,7 @@
"idCard": this.idCard,
"address": this.address,
sex: this.sex,
"ownerPhoto": this.photos,
"ownerPhotoUrl": this.photos,
memberId:this.memberId,
ownerId:this.ownerId
}
@ -164,7 +164,7 @@
_that.ownerTypeCd = _data.data[0].ownerTypeCd;
_that.idCard = _data.data[0].idCard;
_that.address = _data.data[0].address;
_that.imageLists.push(_data.data[0].url);
_that.imageLists.push(_data.data[0].faceUrl);
_that.$refs.vcUploadRef._initImageList(_that.imageLists);
});

View File

@ -30,7 +30,7 @@
</view>
<view class="apply-content flex justify-start">
<view class="item">
<image :src="item.url || noFace" ></image>
<image :src="item.faceUrl || noFace" ></image>
</view>
<view class="margin-left">
<view class="item">