修改图片样式

This commit is contained in:
wangxiaowei 2024-11-27 15:49:16 +08:00
parent c73c684e52
commit 762bca65eb

@ -192,17 +192,17 @@
</view>
<view class="info-item flex nr" v-if="applyObject.front_id_card">
<view class="label">身份证正面:</view>
<u-image width="300rpx" height="400rpx" mode="widthFix"
<u-image width="100rpx" height="200rpx" mode="aspectFit"
:src="applyObject.front_id_card"></u-image>
</view>
<view class="info-item flex nr" v-if="applyObject.back_id_card">
<view class="label">身份证反面:</view>
<u-image width="300rpx" height="400rpx" mode="widthFix"
<u-image width="100rpx" height="200rpx" mode="aspectFit"
:src="applyObject.back_id_card"></u-image>
</view>
<view class="info-item flex nr" v-if="applyObject.hand_id_card">
<view class="label">手持照片:</view>
<u-image width="300rpx" height="300rpx" mode="widthFix"
<u-image width="100rpx" height="200rpx" mode="aspectFit"
:src="applyObject.hand_id_card"></u-image>
</view>
<!-- <view class="info-item flex nr" v-if="applyObject.hand_id_card">
@ -651,79 +651,81 @@
isAgreement
} = this
if (partnerIndex == -1) {
this.$toast({
title: '请选择合伙人类型'
})
return
}
// if (!realName) {
// this.$toast({
// title: "请填写真实姓名"
// });
// return;
// }
// if (!mobile) {
// this.$toast({
// title: "请填写手机号码"
// });
// return;
// }
// if (!front_id_card) {
// this.$toast({
// title: "请上传身份证正面"
// });
// return;
// }
// if (!back_id_card) {
// this.$toast({
// title: "请上传身份证反面"
// });
// return;
// }
// if (!hand_id_card) {
// this.$toast({
// title: "请上传手持身份证照片"
// });
// return;
// }
// if (!region.length) {
// this.$toast({
// title: "请选择省市区"
// });
// return;
// }
if (!realName) {
this.$toast({
title: "请填写真实姓名"
});
return;
}
if (!mobile) {
this.$toast({
title: "请填写手机号码"
});
return;
}
if (!front_id_card) {
this.$toast({
title: "请上传身份证正面"
});
return;
}
if (!back_id_card) {
this.$toast({
title: "请上传身份证反面"
});
return;
}
if (!hand_id_card) {
this.$toast({
title: "请上传手持身份证照片"
});
return;
}
if (!region.length) {
this.$toast({
title: "请选择省市区"
});
return;
}
// if (!reason) {
// this.$toast({
// title: "请填写申请原因"
// });
// return;
// }
if (!reason) {
this.$toast({
title: "请填写申请原因"
});
return;
}
if (!isAgreement) {
this.$toast({
title: "请先勾选分销推广协议"
});
return;
}
// if (!isAgreement) {
// this.$toast({
// title: "请先勾选分销推广协议"
// });
// return;
// }
// 如果合伙人类型不是普通合伙人就不用支付店铺类型的费用
const partner = this.city_data[partnerIndex] // 获取到对应的合伙人信息
let money = partner.money
let money = 0
let partner = []
if (partnerIndex > -1) {
partner = this.city_data[partnerIndex] // 获取到对应的合伙人信息
money = partner.money
}
let store = []
if (selectStore > -1) {
store = this.scheme.store_type[selectStore]
money = store.money
}
if (money <= 0) return this.$toast({
title: "请选择合伙人身份或开店类型"
});
let params = {
real_name: realName,
province: provinceId,
@ -734,17 +736,17 @@
front_id_card,
back_id_card,
hand_id_card,
partner_id: partner.id,
partner_id: !partner.id ? 0 : partner.id,
store_id: !store.id ? 0 : store.id,
own_city: this.scheme_city.name
};
applyDistribute(params).then((res) => {
if (res.code == 1) {
const id = res.data.id
// applyDistribute(params).then((res) => {
// if (res.code == 1) {
// const id = res.data.id
gh({
money,
partner_id: partner.id,
partner_id: !partner.id ? 0 : partner.id,
type_id: !store.id ? 0 : store.id
}).then((result) => {
if (result.code == 1) {
@ -760,8 +762,8 @@
this.handleWechatPay(pay, alog_id, id);
}
})
}
})
// }
// })
},
// 微信支付